-
Notifications
You must be signed in to change notification settings - Fork 655
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
bnxt_re/lib: Enable low latency push support #1321
Conversation
622073b
to
6a0d633
Compare
providers/bnxt_re/db.c
Outdated
{ | ||
struct bnxt_re_db_hdr hdr; | ||
|
||
bnxt_re_init_db_hdr(&hdr, *qp->jsqq->hwque->dbtail, qp->qpid, BNXT_RE_QUE_TYPE_SQ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hdr here seems not used。
627f1f9
to
b2ecb9c
Compare
7705407
to
268e63a
Compare
Is there a way to avoid this sparse error? This is an existing code already use this directive. I added an element to bnxt_re_pd_resp structure. struct bnxt_re_pd_resp { If i remove the attribute, its hitting the static assert while size checking for IB_USER_VERBS_CMD_ALLOC_PD |
58e4770
to
ed121b8
Compare
Ignore this request. the sparse error was introduced by the second patch of he series and i fixed the patch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the kernel headers commit as well
providers/bnxt_re/db.c
Outdated
void bnxt_re_ring_pstart_db(struct bnxt_re_qp *qp, | ||
struct bnxt_re_push_buffer *pbuf) | ||
{ | ||
__u64 key; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be uint64_t
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everywhere
To commit 360da60d6c6e ("RDMA/bnxt_re: Enable low latency push"). Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
post_send and post_recv codes are refactored for supporting the low latency push code. Optimized the code around getting the Tx header from different send operations. Also, split the code that populates the SQ WQEs for inline and non inline packets. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
ed121b8
to
28218f7
Compare
Enable Low latency push support for Broadcom Adapters. Add new Doorbell types for push support. Also, maps the new WC page for push buffers. During post_send, library tries to use the push buffers for smaller packets. Each user context can have 15 push buffers and small packets will be attempted to be pushed first. A backup WQE is also maintained in the queues in case the push operation fails. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
28218f7
to
52d0870
Compare
compile tests are failing with login issue. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Hi Jason/Leon, |
Enable Low latency push support for Broadcom Adapters.