]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/bnxt_re: Fix incorrect display of inactivity_cp in debugfs output
authorGautam R A <gautam-r.a@broadcom.com>
Tue, 20 May 2025 03:59:07 +0000 (09:29 +0530)
committerLeon Romanovsky <leon@kernel.org>
Wed, 21 May 2025 10:02:29 +0000 (06:02 -0400)
commit58d7a965bb2b014d467445d38cdb07099b1f0f77
tree7e6992b1f3eb323867f3c4a596a1b195b430a8cf
parentd00d16bcbc2553a3ac9acccf2d6444cda5502adf
RDMA/bnxt_re: Fix incorrect display of inactivity_cp in debugfs output

The inactivity_cp parameter in debugfs was not being read or
written correctly, resulting in "Invalid argument" errors.

Fixed this by ensuring proper mapping of inactivity_cp in
both the map_cc_config_offset_gen0_ext0 and
bnxt_re_fill_gen0_ext0() functions.

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-2-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