diff options
| author | Selvin Xavier <selvin.xavier@broadcom.com> | 2025-11-19 23:36:55 -0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2025-11-24 02:58:30 -0500 |
| commit | a26c4c7cdb50247b8486f1caa1ea8ab5e5c37edf (patch) | |
| tree | 785be3d394ab5adc888281e36ecdcc7e042a7f30 /rust/helpers/helpers.c | |
| parent | 6afe40ff484a1155b71158b911c65299496e35c3 (diff) | |
RDMA/bnxt_re: Pass correct flag for dma mr creation
DMA MR doesn't use the unified MR model. So the lkey passed
on to the reg_mr command to FW should contain the correct
lkey. Driver is incorrectly over writing the lkey with pdid
and firmware commands fails due to this.
Avoid passing the wrong key for cases where the unified MR
registration is not used.
Fixes: f786eebbbefa ("RDMA/bnxt_re: Avoid an extra hwrm per MR creation")
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1763624215-10382-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
