Skip to content

bonding: Refactor, fix, and updates

Jay Vosburgh netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bonding: refactor mii monitordrivers/net/bonding/bond_3ad.c drivers/net/bonding/bond_main.c+173 -2221 reply
2/5bonding: Don't destroy bonding master when removing slave via sysfsdrivers/net/bonding/bond_sysfs.c+0 -30 replies
3/5net/core: Uninline skb_bond().net/core/dev.c+8 -200 replies
4/5net/core: Allow certain receives on inactive slave.net/core/dev.c+8 -70 replies
5/5net/core: Allow receive on active slaves.net/core/dev.c+4 -25 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchDavid S. Miller
1/5
2/5
3/5
4/5
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next-2.6 0/5] bonding: Refactor, fix, and updates

Five patches for bonding; these apply to net-next-2.6.

Patch 1 is a refactor of the MII monitor, similar to the previous
refactor of the ARP active-backup monitor. It replaces the monolithic monitor function that uses conditional locking with a two phase (inspect and commit) approach with strict locking (RTNL) required only for the commit phase (which is only called when things actually change). The long term goal here is to ultimately consolidate all monitors within a generic framework.

Patch 2 makes a change to the Infiniband slave removal processing
to avoid a system crash when removing the final slave via sysfs.

Patches 3 - 5 provide support for allowing slaves to receive
traffic independently from the master, and require some explanation.

The goal of the last three patches is to permit slaves to receive
incoming traffic independently from the master; there are legitimate reasons for wanting to do so, e.g., LLDP. There are two ways to implement
this: a special case within bonding (skb_bond_should_drop) that would require a hard-coded list of protocols to pass through, or a generic method, that modifies the packet receive logic within netif_receive_skb. The latter method is what is presented here.

Please apply patches 1 - 2, and review and apply or provide
feedback for patches 3 - 5.

	-J

---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]