]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/bnxt_re: Fix missing error handling for tx_queue
authorGautam R A <gautam-r.a@broadcom.com>
Tue, 20 May 2025 03:59:08 +0000 (09:29 +0530)
committerLeon Romanovsky <leon@kernel.org>
Wed, 21 May 2025 10:05:05 +0000 (06:05 -0400)
commite3d57a00d4d1f36689e9eab80b60d5024361efec
tree94db4a9de5b649423dd87713506b497f050af463
parent58d7a965bb2b014d467445d38cdb07099b1f0f77
RDMA/bnxt_re: Fix missing error handling for tx_queue

bnxt_re_fill_gen0_ext0() did not return an error when
attempting to modify CMDQ_MODIFY_ROCE_CC_MODIFY_MASK_TX_QUEUE,
leading to silent failures.

Fixed this by returning -EOPNOTSUPP for tx_queue modifications and
ensuring proper error propagation in bnxt_re_configure_cc().

Fixes: 656dff55da19 ("RDMA/bnxt_re: Congestion control settings using debugfs hook")
Signed-off-by: Gautam R A <gautam-r.a@broadcom.com>
Link: https://patch.msgid.link/20250520035910.1061918-3-kalesh-anakkur.purayil@broadcom.com
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/debugfs.c