projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e586e1e
)
RDMA/core: Remove {create,destroy}_ah from mandatory verbs
author
Kamal Heib
<kamalheib1@gmail.com>
Fri, 27 Jul 2018 18:23:04 +0000
(21:23 +0300)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/device.c
b/drivers/infiniband/core/device.c
index b8144f194777c0e361ad1430a884d7db982bf767..db3b6271f09d5949a88c5f5a3ffab2d46fecb7f5 100644
(file)
--- a/
drivers/infiniband/core/device.c
+++ b/
drivers/infiniband/core/device.c
@@
-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),