bonding: remove vlan special handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net: move netdev_upper to netdevice.hinclude/ net/ | +8 | 4 replies | |
| 2/8 | bonding: use netdev_upper list in bond_vlan_useddrivers/ | +13 | 0 replies | |
| 3/8 | bonding: make bond_arp_send_all use upper device listdrivers/ | +31 | 0 replies | |
| 4/8 | bonding: convert bond_has_this_ip() to use upper devicesdrivers/ | +12 | 0 replies | |
| 5/8 | bonding: use vlan_uses_dev() in __bond_release_one()drivers/ | +1 | 0 replies | |
| 6/8 | bonding: split alb_send_learning_packets()drivers/ | +35 | 0 replies | |
| 7/8 | bonding: make alb_send_learning_packets() use upper dev listdrivers/ drivers/ | +10 | 0 replies | |
| 8/8 | bonding: remove vlan_list/current_alb_vlandrivers/ drivers/ drivers/ +1 more | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/8] bonding: remove vlan special handling
The aim of this patchset is to remove bondings' own vlan handling as much as possible and replace it with the netdev upper device functionality.
This is achieved by exporting the netdev_upper structure and thus permiting bonding to work directly with its upper devices. The only non-bonding change is the exporting of netdev_upper, and the only special treatment of vlans left is in the rlb mode.
This patchset solves several issues with bonding, simplifies it overall, RCUify further and exports netdev_upper for any other users which might also want to get rid of its own vlan_lists.
I'm testing it continuously currently, no issues found, will update on anything.
CC Jay Vosburgh <[email protected]>
CC Andy Gospodarek <[email protected]>
CC "David S. Miller" <[email protected]>
CC Eric Dumazet <[email protected]>
CC Jiri Pirko <[email protected]>
CC Alexander Duyck <[email protected]>
CC Cong Wang <[email protected]>
Signed-off-by Veaceslav Falico <[email protected]>
--- drivers/net/bonding/bond_alb.c | 74 ++++++------ drivers/net/bonding/bond_alb.h | 2 - drivers/net/bonding/bond_main.c | 243 ++++++++------------------------------- drivers/net/bonding/bonding.h | 20 ++- include/linux/netdevice.h | 8 ++ net/core/dev.c | 8 -- 6 files changed, 103 insertions(+), 252 deletions(-)