RDMA/core: Remove query_pkey from the mandatory ops
authorKamal Heib <kamalheib1@gmail.com>
Tue, 14 Jul 2020 18:34:10 +0000 (21:34 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 20 Jul 2020 19:18:16 +0000 (16:18 -0300)
commitab75a6cb8cb27ff7f65ab66962975be30507ee29
treefd02b7e9c5b6d12c65d98a62c081e33e91f898d4
parent6f38efca9bf09b7e4faf8cc4d221e4336aa303ef
RDMA/core: Remove query_pkey from the mandatory ops

The query_pkey() isn't mandatory for the iwarp providers, so remove this
requirement from the RDMA core.

Link: https://lore.kernel.org/r/20200714183414.61069-4-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/device.c