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

bnxt_re/lib: Initial support for GenP7 adapters #1415

Merged
merged 5 commits into from Dec 20, 2023

Conversation

selvintxavier
Copy link
Contributor

This is the first series for adding support for Gen P7 Adapters. Includes
the basic changes to detect the device and load. Adds the Doorbell changes
for the new adapter and MSN capability to enable the FW initialization
of the adapter.

To commit: e275919d9669 ("RDMA/bnxt_re: Share a page to expose per CQ info
with userspace").

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Add Gen P7 device ID. Enable GenP7 check to support
P7 adapters along with P5 adapters.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Implements the epoch/toggle bits changes required for Gen P7.
Pass the epoch and toggle bits to while initializing the
DB headers.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
@selvintxavier selvintxavier force-pushed the genp7_support branch 3 times, most recently from 0e90dcc to d3a2f00 Compare December 19, 2023 18:12
GenP7 HW expects an MSN table instead of PSN table. Check
for the HW retransmission capability and populate the MSN
table if HW retansmission is supported.

Signed-off-by: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Implements the UAPI call to get the CQ toggle page.
Also, get the toggle bit from the shared page and
use it while arming the CQ.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
@rleon rleon merged commit 331d5a0 into linux-rdma:master Dec 20, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants