Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e1b161f authored by Noa Osherovich's avatar Noa Osherovich Committed by Doug Ledford
Browse files

IB/uverbs: Enable QP creation with cvlan offload



Enable user applications to create a QP with cvlan stripping offload.

Signed-off-by: default avatarNoa Osherovich <noaos@mellanox.com>
Reviewed-by: default avatarMaor Gottlieb <maorg@mellanox.com>
Reviewed-by: default avatarYishai Hadas <yishaih@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent af1cb95d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
	}