]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Break mid deletion into two function
authorNogah Frankel <nogahf@mellanox.com>
Wed, 20 Sep 2017 14:15:07 +0000 (16:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 01:03:12 +0000 (18:03 -0700)
commit5e394a1517328b935035438afb300dac08f559b3
tree13e52f72e6358d0557e8ed4ef0b1913c74252c2c
parentaf25141cb5e0acdf0abf8f39e7a45bf3ab42fb05
mlxsw: spectrum_switchdev: Break mid deletion into two function

Break mid deletion into two function, so it will be possible in the future
to delete a mid entry for other reasons then switchdev command (like port
deletion).

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c