IB/core: Enable QP creation with a given source QP number
authorYishai Hadas <yishaih@mellanox.com>
Thu, 8 Jun 2017 13:15:06 +0000 (16:15 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:40:45 +0000 (10:40 -0400)
commit02984cc7b3d62418bd72abacaf875c3a9eccdb66
tree9f4fcd559bacc327dffdd3a2a58b3f84b784b049
parent9636a56fa864464896bf7d1272c701f2b9a57737
IB/core: 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.

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>
include/rdma/ib_verbs.h