]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/mlx5: Enable WQ creation and modification with cvlan offload
authorNoa Osherovich <noaos@mellanox.com>
Wed, 18 Jan 2017 13:40:02 +0000 (15:40 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 16:41:14 +0000 (11:41 -0500)
commitb1f74a8437a38d1c0139175f2ad469d2517a7882
tree794851d2ef6f68436aa519a7619c56971ed494fd
parente8161334403ed34a9214bcce517d50bbe3e02b97
IB/mlx5: Enable WQ creation and modification with cvlan offload

Allow creating a WQ with cvlan stripping considering device's
capabilities. The default value was fixed to disable vlan stripping
till was asked explicitly.

In addition, allow modification of a WQ to turn on/off this property.

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>
drivers/infiniband/hw/mlx5/qp.c