]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/bnxt_re: Fix MSN table size for variable wqe mode
authorDamodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Tue, 17 Dec 2024 10:26:48 +0000 (15:56 +0530)
committerLeon Romanovsky <leon@kernel.org>
Thu, 19 Dec 2024 11:57:19 +0000 (06:57 -0500)
commitbb839f3ace0fee532a0487b692cc4d868fccb7cf
treece6b2cc29b364ca51362001e393801117b96e349
parentd13be54dc18baee7a3e44349b80755a8c8205d3f
RDMA/bnxt_re: Fix MSN table size for variable wqe mode

For variable size wqe mode, the MSN table size should be
half the size of the SQ depth. Fixing this to avoid wrap
around problems in the retransmission path.

Fixes: de1d364c3815 ("RDMA/bnxt_re: Add support for Variable WQE in Genp7 adapters")
Reviewed-by: Kashyap Desai <kashyap.desai@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/20241217102649.1377704-5-kalesh-anakkur.purayil@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/qplib_fp.c