]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
RDMA/bnxt_re: Do not enable congestion control on VFs
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 18 May 2023 08:11:01 +0000 (01:11 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 19 May 2023 16:14:27 +0000 (13:14 -0300)
commitdd5fb04857d7346c9ea4901ec3ebe5b90b0e8868
treec48d5a0e0aeb9855af54c68e8186e99cef04906f
parent0fa0d520e2a878cb4c94c4dc84395905d3f14f54
RDMA/bnxt_re: Do not enable congestion control on VFs

Congestion control needs to be enabled only on the PFs. FW fails the
command if issued on VFs. Avoid sending the command on VFs.

Fixes: f13bcef04ba0 ("RDMA/bnxt_re: Enable congestion control by default")
Link: https://lore.kernel.org/r/1684397461-23082-4-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Selvin Thyparampil Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/main.c