]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Restore vlan filter after seamless reset
authorMohamad Haj Yahia <mohamad@mellanox.com>
Fri, 9 Sep 2016 14:35:26 +0000 (17:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 04:21:50 +0000 (21:21 -0700)
commite36df364fc1ab2a1d8ee67f625b6ae827b8ee339
treebcbf0e07a63d5d785d7e87ac3337ea64dcb8da90
parenta40d16f3cd0aa87e5672ae5214f993681e2b1b7b
net/mlx5e: Restore vlan filter after seamless reset

When detaching the mlx5e interface clear all the vlans rules from the
vlan flow table.
When attaching it back restore all the active vlans rules to the HW.

Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c