Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libqedr: Add EDPM size limit and mode #786

Merged
merged 3 commits into from Jul 26, 2020
Merged

Conversation

mkalderon
Copy link
Contributor

The two patches in this series are related to the EDPM feature.
EDPM is a hw feature for improving latency under certain conditions.
Requires kernel patch

Signed-off-by: Michal Kalderon michal.kalderon@marvell.com

@mkalderon
Copy link
Contributor Author

@rleon
Copy link
Member

rleon commented Jul 26, 2020

Michal, you need to update the first patch with right commit SHA from kernel, so I'll be able to merge it.


Update kernel headers

To commit ?? ("RDMA/qedr: Add EDPM max size to alloc ucontext response")

Signed-off-by: Michal Kalderon michal.kalderon@marvell.com

Michal Kalderon and others added 3 commits July 26, 2020 15:33
To commit eb7f84e379da ("RDMA/qedr: Add EDPM max size to alloc ucontext response")

Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Similar to adding edpm transaction size and ldpm size limit to
be accepted from kernel for new versions, we also add a maximum
on edpm size.

In addition, add a flag passed to kernel stating that the SIZES set
by kernel will be used.

Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
In older FW versions the completion flag was treated as the ack flag
in edpm messages.

This patch fixes the ack flag initialization and initializes the appropriate
flag in the ucontext alloc to notify the qedr driver that the fixed edpm mode
is used.

Signed-off-by: Yuval Bason <yuval.bason@cavium.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
@mkalderon
Copy link
Contributor Author

Michal, you need to update the first patch with right commit SHA from kernel, so I'll be able to merge it.

Update kernel headers

To commit ?? ("RDMA/qedr: Add EDPM max size to alloc ucontext response")

Signed-off-by: Michal Kalderon michal.kalderon@marvell.com

Done, thanks.

@rleon rleon merged commit f770ffd into linux-rdma:master Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants