]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/bnxt_re: Use macro instead of hard coded value
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Fri, 4 Jul 2025 04:38:57 +0000 (10:08 +0530)
committerLeon Romanovsky <leon@kernel.org>
Mon, 7 Jul 2025 05:37:35 +0000 (01:37 -0400)
commit7788278ff267f831bab39a377beaa7e08d79c2a9
tree2b21e865d3feb703f818f8d7b2bd7819876f89cf
parent0aed817380d620987b2d5c573fdd2f01c30976a4
RDMA/bnxt_re: Use macro instead of hard coded value

1. Defined a macro for the hard coded value.
2. "access" field in the request structure is of type "u8".
   Updated the mask accordingly.

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Shravya KN <shravya.k-n@broadcom.com>
Link: https://patch.msgid.link/20250704043857.19158-4-kalesh-anakkur.purayil@broadcom.com
Reviewed-by: Hongguang Gao <hongguang.gao@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/qplib_sp.c
drivers/infiniband/hw/bnxt_re/qplib_sp.h