rocker: Change world_ops API and implementation to be switchdev independant
Currently the switchdev_trans struct is embedded in the world_ops API. In order to add support for adding FDB via a notfication chain the API should be switchdev independent. Signed-off-by:Arkadi Sharshevsky <arkadis@mellanox.com> Signed-off-by:
Jiri Pirko <jiri@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/rocker/rocker.h 4 additions, 7 deletionsdrivers/net/ethernet/rocker/rocker.h
- drivers/net/ethernet/rocker/rocker_main.c 24 additions, 4 deletionsdrivers/net/ethernet/rocker/rocker_main.c
- drivers/net/ethernet/rocker/rocker_ofdpa.c 207 additions, 328 deletionsdrivers/net/ethernet/rocker/rocker_ofdpa.c
Loading
Please register or sign in to comment