net: Get rid of switchdev_port_attr_get()
With the bridge no longer calling switchdev_port_attr_get() to obtain the supported bridge port flags from a driver but instead trying to set the bridge port flags directly and relying on driver to reject unsupported configurations, we can effectively get rid of switchdev_port_attr_get() entirely since this was the only place where it was called. Signed-off-by:Florian Fainelli <f.fainelli@gmail.com> Reviewed-by:
Ido Schimmel <idosch@mellanox.com> Acked-by:
Jiri Pirko <jiri@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/networking/switchdev.txt 1 addition, 1 deletionDocumentation/networking/switchdev.txt
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 0 additions, 7 deletionsdrivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
- drivers/net/ethernet/rocker/rocker_main.c 0 additions, 7 deletionsdrivers/net/ethernet/rocker/rocker_main.c
- drivers/staging/fsl-dpaa2/ethsw/ethsw.c 0 additions, 7 deletionsdrivers/staging/fsl-dpaa2/ethsw/ethsw.c
- include/net/switchdev.h 0 additions, 8 deletionsinclude/net/switchdev.h
- net/dsa/slave.c 0 additions, 7 deletionsnet/dsa/slave.c
Loading
Please register or sign in to comment