linux/drivers/infiniband
Kalesh AP dc5006cfcf RDMA/bnxt_re: Fix the GID table length
GID table length is reported by FW. The gid index which is passed to the
driver during modify_qp/create_ah is restricted by the sgid_index field of
struct ib_global_route.  sgid_index is u8 and the max sgid possible is
256.

Each GID entry in HW will have 2 GID entries in the kernel gid table.  So
we can support twice the gid table size reported by FW. Also, restrict the
max GID to 256 also.

Fixes: 847b97887e ("RDMA/bnxt_re: Restrict the max_gids to 256")
Link: https://patch.msgid.link/r/1728373302-19530-11-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2024-10-11 20:49:02 -03:00
..
core RDMA/core: Fix ENODEV error for iWARP test over vlan 2024-10-08 15:07:41 +03:00
hw RDMA/bnxt_re: Fix the GID table length 2024-10-11 20:49:02 -03:00
sw RDMA/siw: Add sendpage_ok() check to disable MSG_SPLICE_PAGES 2024-10-11 13:55:53 -03:00
ulp RDMA/srpt: Make slab cache names unique 2024-10-11 14:07:33 -03:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile