]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/bnxt_re: Allow MSN table capability check
authorSelvin Xavier <selvin.xavier@broadcom.com>
Tue, 28 May 2024 06:11:36 +0000 (23:11 -0700)
committerLeon Romanovsky <leon@kernel.org>
Thu, 30 May 2024 10:28:02 +0000 (13:28 +0300)
commit8d310ba845827a38fcd463d86bfe3b730ce7ab8f
treeace164b7a55a03e130177c8eef9571b333623590
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
RDMA/bnxt_re: Allow MSN table capability check

FW reports the HW capability to use PSN table or MSN table and
driver/library need to select it based on this capability.
Use the new capability instead of the older capability check for HW
retransmission while handling the MSN/PSN table. FW report
zero (PSN table) for older adapters to maintain backward compatibility.

Also, Updated the FW interface structures to handle the new fields.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1716876697-25970-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/qplib_fp.c
drivers/infiniband/hw/bnxt_re/qplib_fp.h
drivers/infiniband/hw/bnxt_re/qplib_res.h
drivers/infiniband/hw/bnxt_re/qplib_sp.c
drivers/infiniband/hw/bnxt_re/qplib_sp.h
drivers/infiniband/hw/bnxt_re/roce_hsi.h