diff options
author | Gal Pressman <galpress@amazon.com> | 2020-10-26 10:26:21 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-10-26 19:29:26 -0300 |
commit | 7d66a71488d7c14506ab81d6455c095992efca04 (patch) | |
tree | fe193c10aa974387d915f54d52afb9c41a41c24e /include/rdma | |
parent | fbdd0049d98d44914fc57d4b91f867f4996c787b (diff) | |
download | linux-7d66a71488d7c14506ab81d6455c095992efca04.tar.gz linux-7d66a71488d7c14506ab81d6455c095992efca04.tar.bz2 linux-7d66a71488d7c14506ab81d6455c095992efca04.zip |
RDMA/uverbs: Fix false error in query gid IOCTL
Some drivers (such as EFA) have a GID table, but aren't IB/RoCE devices.
Remove the unnecessary rdma_ib_or_roce() check.
This fixes rdma-core failures for EFA when it uses the new ioctl interface
for querying the GID table.
Fixes: 9f85cbe50aa0 ("RDMA/uverbs: Expose the new GID query API to user space")
Link: https://lore.kernel.org/r/20201026082621.32463-1-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions