aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorKalesh AP <[email protected]>2024-10-08 00:41:42 -0700
committerJason Gunthorpe <[email protected]>2024-10-11 20:49:02 -0300
commitdc5006cfcf62bea88076a587344ba5e00e66d1c6 (patch)
tree1f7a298986807469419cd707c33050b8bc9009fe /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent7988bdbbb85ac85a847baf09879edcd0f70521dc (diff)
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: 847b97887ed4 ("RDMA/bnxt_re: Restrict the max_gids to 256") Link: https://patch.msgid.link/r/[email protected] Signed-off-by: Kalesh AP <[email protected]> Signed-off-by: Selvin Xavier <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions