From: Noa Osherovich Date: Wed, 18 Jan 2017 13:40:00 +0000 (+0200) Subject: IB/uverbs: Enable QP creation with cvlan offload X-Git-Tag: v4.11-rc1~94^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e1b161f3b8f14f2459fa20c26e41e40e049d90e;p=platform%2Fkernel%2Flinux-exynos.git IB/uverbs: Enable QP creation with cvlan offload Enable user applications to create a QP with cvlan stripping offload. Signed-off-by: Noa Osherovich Reviewed-by: Maor Gottlieb Reviewed-by: Yishai Hadas Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 0eb2043..b4b395a 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c @@ -1891,7 +1891,8 @@ static int create_qp(struct ib_uverbs_file *file, IB_QP_CREATE_CROSS_CHANNEL | IB_QP_CREATE_MANAGED_SEND | IB_QP_CREATE_MANAGED_RECV | - IB_QP_CREATE_SCATTER_FCS)) { + IB_QP_CREATE_SCATTER_FCS | + IB_QP_CREATE_CVLAN_STRIPPING)) { ret = -EINVAL; goto err_put; }