diff options
| author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2023-08-03 11:45:21 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2023-08-07 16:39:42 +0300 |
| commit | f19fba1f79dc1fb298de7dcbaae9f6299381aeea (patch) | |
| tree | 7cb846dcc3a7400b076f5064819df2d6d3679625 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 38313c6d2a02c28162e06753b01bd885caf9386d (diff) | |
| download | linux-f19fba1f79dc1fb298de7dcbaae9f6299381aeea.tar.xz | |
RDMA/bnxt_re: Fix max_qp count for virtual functions
Driver has not accounted QP1 for virtual functions
when fetching device attributes and hence max_qp
count is one less than active_qp count. Fixed driver
so that it counts QP1 for virtual functions as well
while fetching device attributes
Fixes: ccd9d0d3dffc ("RDMA/bnxt_re: Enable RoCE on virtual functions")
Signed-off-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1691052326-32143-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
