diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2017-06-08 16:15:07 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 10:40:46 -0400 |
commit | 2dee0e545894c23b1a2cc2019ac87dffb42e5984 (patch) | |
tree | 32135e8360768f5a8d4b9e51b25e1a6af1ca23a1 /include/uapi/rdma/ib_user_verbs.h | |
parent | 02984cc7b3d62418bd72abacaf875c3a9eccdb66 (diff) | |
download | talos-obmc-linux-2dee0e545894c23b1a2cc2019ac87dffb42e5984.tar.gz talos-obmc-linux-2dee0e545894c23b1a2cc2019ac87dffb42e5984.zip |
IB/uverbs: Enable QP creation with a given source QP number
Enable QP creation with a given source QP number, the created QP will
use the source QPN as its wire QP number.
To create such a QP, root privileges (i.e. CAP_NET_RAW) are required
from the user application.
This comes as a pre-patch for downstream patches in this series to
allow user space applications to accelerate traffic which is typically
handled by IPoIB ULP.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/ib_user_verbs.h')
-rw-r--r-- | include/uapi/rdma/ib_user_verbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h index 270c350bedc6..63656d2e8705 100644 --- a/include/uapi/rdma/ib_user_verbs.h +++ b/include/uapi/rdma/ib_user_verbs.h @@ -578,7 +578,7 @@ struct ib_uverbs_ex_create_qp { __u32 comp_mask; __u32 create_flags; __u32 rwq_ind_tbl_handle; - __u32 reserved1; + __u32 source_qpn; }; struct ib_uverbs_open_qp { |