summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_alb.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <razor@BlackWall.org>2013-08-01 16:54:50 +0200
committerDavid S. Miller <davem@davemloft.net>2013-08-01 16:42:02 -0700
commit15077228cab68e5e8c3cbf26a7f6ebacfac4c829 (patch)
treef0b8953b861203320d5387b809b0bcb5a8ef6179 /drivers/net/bonding/bond_alb.c
parent78a646ced88450754613573f7d1fa7cb0de14bb3 (diff)
downloadblackbird-op-linux-15077228cab68e5e8c3cbf26a7f6ebacfac4c829.tar.gz
blackbird-op-linux-15077228cab68e5e8c3cbf26a7f6ebacfac4c829.zip
bonding: factor out slave id tx code and simplify xmit paths
I factored out the tx xmit code which relies on slave id in bond_xmit_slave_id. It is global because later it can be used also in 3ad mode xmit. Unnecessary obvious comments are removed. Active-backup mode is simplified because bond_dev_queue_xmit always consumes the skb. bond_xmit_xor becomes one line because of bond_xmit_slave_id. bond_for_each_slave_from is not used in bond_xmit_slave_id because later when RCU is used we can avoid important race condition by using standard rculist routines. Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud