linux_dsm_epyc7002/drivers/net/ethernet/mscc
Petr Machata d17d9f5e51 switchdev: Replace port obj add/del SDO with a notification
Drop switchdev_ops.switchdev_port_obj_add and _del. Drop the uses of
this field from all clients, which were migrated to use switchdev
notification in the previous patches.

Add a new function switchdev_port_obj_notify() that sends the switchdev
notifications SWITCHDEV_PORT_OBJ_ADD and _DEL.

Update switchdev_port_obj_del_now() to dispatch to this new function.
Drop __switchdev_port_obj_add() and update switchdev_port_obj_add()
likewise.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-23 18:02:24 -08:00
..
Kconfig net: mscc: ocelot: make use of SerDes PHYs for handling their configuration 2018-10-05 14:36:44 -07:00
Makefile
ocelot_ana.h
ocelot_board.c ocelot: Handle SWITCHDEV_PORT_OBJ_ADD/_DEL 2018-11-23 18:02:24 -08:00
ocelot_dev.h
ocelot_io.c
ocelot_qs.h
ocelot_qsys.h
ocelot_regs.c net: mscc: ocelot: make use of SerDes PHYs for handling their configuration 2018-10-05 14:36:44 -07:00
ocelot_rew.h
ocelot_sys.h
ocelot.c switchdev: Replace port obj add/del SDO with a notification 2018-11-23 18:02:24 -08:00
ocelot.h ocelot: Handle SWITCHDEV_PORT_OBJ_ADD/_DEL 2018-11-23 18:02:24 -08:00