]> 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)
commitba4526edeeb5f1e0e540f0dc586c4ebcba0fcfd7
tree06738a225fc3a0d3e1d0eec2cb88c7d31a6b7076
parentb47e5efe09a9d19b971910155c8720851829012e
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: bebbbda5f5c8 ("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