]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bonding: refine IFF_XMIT_DST_RELEASE capability
authorEric Dumazet <edumazet@google.com>
Tue, 17 Jul 2012 12:19:48 +0000 (12:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 16:31:25 +0000 (09:31 -0700)
commitb6fe83e9525a03b3141e5857eb7d8af219db94e5
treeabdd0d6dc72d1c9a30108f8be1e8dc9dcb5d315e
parent1817e83d6ccf992164dd83522b2d1c22b1a85977
bonding: refine IFF_XMIT_DST_RELEASE capability

Some workloads greatly benefit of IFF_XMIT_DST_RELEASE capability
on output net device, avoiding dirtying dst refcount.

bonding currently disables IFF_XMIT_DST_RELEASE unconditionally.

If all slaves have the IFF_XMIT_DST_RELEASE bit set, then
bonding master can also have it in its priv_flags

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Cc: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c