diff options
author | Kalderon, Michal <Michal.Kalderon@cavium.com> | 2017-07-26 14:41:52 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-18 19:25:42 +0300 |
commit | e6a38c54faf38498170e227c82ea25cb8bc1ae71 (patch) | |
tree | 694a8442a0c3d16c9f9ea5c5d926c49ba72142ea /drivers/infiniband/hw/qedr/verbs.h | |
parent | 99d195cc089e689e54bad13c9bdf88e90d158892 (diff) | |
download | linux-e6a38c54faf38498170e227c82ea25cb8bc1ae71.tar.xz |
RDMA/qedr: Add support for registering an iWARP device
There are slight differences between iWARP and RoCE in the ibdev
registration. This patch handles the changes.
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qedr/verbs.h')
-rw-r--r-- | drivers/infiniband/hw/qedr/verbs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qedr/verbs.h b/drivers/infiniband/hw/qedr/verbs.h index 0f8ab49d5a1a..1a94425dea33 100644 --- a/drivers/infiniband/hw/qedr/verbs.h +++ b/drivers/infiniband/hw/qedr/verbs.h @@ -39,6 +39,8 @@ int qedr_modify_port(struct ib_device *, u8 port, int mask, struct ib_port_modify *props); int qedr_query_gid(struct ib_device *, u8 port, int index, union ib_gid *gid); +int qedr_iw_query_gid(struct ib_device *ibdev, u8 port, + int index, union ib_gid *gid); int qedr_query_pkey(struct ib_device *, u8 port, u16 index, u16 *pkey); |