OSDN Git Service

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)
commit061e55bfb83e632afcd34130bb19fe7a32325b02
tree13e52f72e6358d0557e8ed4ef0b1913c74252c2c
parent73b433e803d2a3547ee38d1fb2a0bc6f3b03a6d9
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