diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2021-06-20 23:15:03 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-22 21:00:53 -0300 |
commit | feda49a1a550d271593cbe9d198527cfd78dd8c4 (patch) | |
tree | 230c127a9edc6cbcc0077b8ff904dbb4f5459b65 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 2d3b2e4427e2d74085bd2c17ffd737875871c983 (diff) |
RDMA/irdma: Use the queried port attributes
Instead of hard code the gid_table_len value, use the value from the
ib_query_port() attributes.
Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Link: https://lore.kernel.org/r/20210620201503.67055-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Acked-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions