]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
RDMA/core: Remove {create,destroy}_ah from mandatory verbs
authorKamal Heib <kamalheib1@gmail.com>
Fri, 27 Jul 2018 18:23:04 +0000 (21:23 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 02:31:09 +0000 (20:31 -0600)
{create,destroy}_ah aren't mandatory verbs, because not all providers
are implementing them.

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c

index b8144f194777c0e361ad1430a884d7db982bf767..db3b6271f09d5949a88c5f5a3ffab2d46fecb7f5 100644 (file)
@@ -105,8 +105,6 @@ static int ib_device_check_mandatory(struct ib_device *device)
                IB_MANDATORY_FUNC(query_pkey),
                IB_MANDATORY_FUNC(alloc_pd),
                IB_MANDATORY_FUNC(dealloc_pd),
-               IB_MANDATORY_FUNC(create_ah),
-               IB_MANDATORY_FUNC(destroy_ah),
                IB_MANDATORY_FUNC(create_qp),
                IB_MANDATORY_FUNC(modify_qp),
                IB_MANDATORY_FUNC(destroy_qp),