commit | e432c04c17993011b2a2f59dcb5738e604bd552e | [log] [tgz] |
---|---|---|
author | Gal Pressman <galpress@amazon.com> | Sun Dec 06 17:32:38 2020 +0200 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Mon Dec 07 16:32:04 2020 -0400 |
tree | 33d30660fa11a7560a55508e8bf852e531679094 | |
parent | 93416ab0f994f6cf16fa0c695577f8b19d30c533 [diff] |
RDMA/core: Fix empty gid table for non IB/RoCE devices The query_gid_table ioctl skips non IB/RoCE ports, which as a result returns an empty gid table for devices such as EFA which have a GID table, but are not IB/RoCE. Fixes: c4b4d548fabc ("RDMA/core: Introduce new GID table query API") Link: https://lore.kernel.org/r/20201206153238.34878-1-galpress@amazon.com Signed-off-by: Gal Pressman <galpress@amazon.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>