net/mlx5: E-Switch, Use correct flags when configuring vlan
authorBodong Wang <bodong@mellanox.com>
Fri, 28 Jun 2019 22:36:11 +0000 (22:36 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 1 Jul 2019 23:40:30 +0000 (16:40 -0700)
commit5f5d2536be8d5b5d3df925228ce7a6f4054d5956
tree06738a225fc3a0d3e1d0eec2cb88c7d31a6b7076
parentd886aba677a0a75ad7fdb06e08418b481e09b036
net/mlx5: E-Switch, Use correct flags when configuring vlan

Before the offending commit, vlan will be configured if either vlan
or qos is set. After the change with new set flags, function callers
should provide flags accordingly.

Fixes: e33dfe316cf3 ("net/mlx5: E-Switch, Allow fine tuning of eswitch vport push/pop vlan")
Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c