]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Use vport event handler for vport cleanup
authorMohamad Haj Yahia <mohamad@mellanox.com>
Tue, 3 May 2016 14:14:01 +0000 (17:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 18:04:48 +0000 (14:04 -0400)
commit60a10124382d57189d1ff89acb8069fda3d54f38
tree973fb02260c8040c33e56ad7319da2683aeb127a
parent4b2c63545de561e74e3c02b2188b9ca8132bb467
net/mlx5: E-Switch, Use vport event handler for vport cleanup

Remove the usage of explicit cleanup function and use existing vport
change handler. Calling vport change handler while vport
is disabled will cleanup the vport resources.

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/eswitch.c