]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5020e4d84a90c26dbdaeb9d99d2b7e90a8da35a
tree06738a225fc3a0d3e1d0eec2cb88c7d31a6b7076
parentc5c8cd4ff7cc279fd5946dc74b69177543797045
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: 37cede5a2cdb ("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