-
Notifications
You must be signed in to change notification settings - Fork 798
bnxt_re/lib: Enable Broadcom's 57500 RoCE adapter #453
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
Conversation
|
Why are you bumping the ABI version? I don't want to see this. |
Oh, in your reply to my kernel patches did you mean that because the new members are always being added at the end of the structure, there is no need to bump ABI version? Just check for an invalid-value-tag in the new filed(s) and assume to be working with older ABI because the value was invalid? I might have missed to understand your complete meaning. |
|
yes something like that. Usually you should add a 'comp_mask' as part of your new fields then !0 comp_mask means the new fields are supported |
|
Then I guess I should rebase all once more! |
|
Could this also be pulled, or need a rev? |
|
This is not properly formed, the kernel headers have to be updated using the kernel-headers/update |
Could you give a pointer on "how-to" I would repost asap. |
|
Jason, I guess I need additional comment form you on this, I tried to use "update" script but it is not generating the correct patch. Noteworthy part is, the kernel patches are already accepted and in the tree, I used following both ways but no luck. Method 1:
Method 2:
Result was incorrect patch. I am not sure what's missing? |
This is to add Broadcom's 57500 series of adapters support to RoCE from libbnxt_re. Listing below the significant changes done as part of the patch. - Added the pci-id of the basic gen-p5 chip. - Adjust psn search memory allocation to suite new search psn structure. - Added chip context structure to select the appropriate execution flow in data-path and control path. - Fill psn search area as per new or older chip execution flow. - removed duplicate declaration of BNXT_RE_ABI_VERSION macro Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Looks like the correct patch is not being generated because the kernel-header changes has already been merged into rdma-core code base. I have rebase this pull request and dropped the kernel-abi related changes from the patch. Please pull this patch and merge. Let me know if anything else is needed. |
|
What is the status? |
|
Hi Leon, There was an ask from Jason to update the kernel abi changes using update script. However, in the latest rdma core those.changes has already been merged |
|
so why do I still see changes in -abi.h file? |
|
Ohh, I see, it is providers/*abi.h |
This is to add Broadcom's 57500 series of adapters support
to RoCE from libbnxt_re. Listing below the significant changes
done as part of the patch.
psn structure.
execution flow in data-path and control path.
flow.
Signed-off-by: Devesh Sharma devesh.sharma@broadcom.com