diff options
author | Noa Osherovich <noaos@mellanox.com> | 2017-01-18 14:39:56 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-02-14 17:41:11 +0100 |
commit | 9c2b270e69da3ea3ef76f1c14ba4ee7ca60863fd (patch) | |
tree | a55dce8894fe27a80514e912b7cd7ff103e9663b /include/rdma | |
parent | IB/core: Enable WQ creation and modification with cvlan offload (diff) | |
download | linux-9c2b270e69da3ea3ef76f1c14ba4ee7ca60863fd.tar.xz linux-9c2b270e69da3ea3ef76f1c14ba4ee7ca60863fd.zip |
IB/core: Enable QP creation with cvlan offload
Add a QP creation flag to support cvlan stripping, it's applicable
for RAW Ethernet QP.
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 7028b0ec8447..44d58510c020 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1008,6 +1008,7 @@ enum ib_qp_create_flags { IB_QP_CREATE_SIGNATURE_EN = 1 << 6, IB_QP_CREATE_USE_GFP_NOIO = 1 << 7, IB_QP_CREATE_SCATTER_FCS = 1 << 8, + IB_QP_CREATE_CVLAN_STRIPPING = 1 << 9, /* reserve bits 26-31 for low level drivers' internal use */ IB_QP_CREATE_RESERVED_START = 1 << 26, IB_QP_CREATE_RESERVED_END = 1 << 31, |