mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-16 13:55:23 -04:00
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>
This commit is contained in:
committed by
Doug Ledford
parent
02984cc7b3
commit
2dee0e5458
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user