switchdev: cut over to new switchdev_port_bridge_dellink
Rocker, bonding and team and switch over to the new switchdev_port_bridge_dellink to avoid duplicating code in each driver. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
5c34e02214
commit
54ba5a0bbc
@@ -4336,6 +4336,7 @@ static const struct net_device_ops rocker_port_netdev_ops = {
|
||||
.ndo_fdb_dump = rocker_port_fdb_dump,
|
||||
.ndo_bridge_setlink = switchdev_port_bridge_setlink,
|
||||
.ndo_bridge_getlink = rocker_port_bridge_getlink,
|
||||
.ndo_bridge_dellink = switchdev_port_bridge_dellink,
|
||||
.ndo_get_phys_port_name = rocker_port_get_phys_port_name,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user