]> git.baikalelectronics.ru Git - kernel.git/commit
team: refine IFF_XMIT_DST_RELEASE capability
authorJiri Pirko <jiri@resnulli.us>
Wed, 18 Jul 2012 07:39:38 +0000 (07:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 18:28:46 +0000 (11:28 -0700)
commitf8036e029b1186d74342bd8ff4c7b5b7a2c046fe
treeb74ea66d7e0b80a359082e080a8ff4c5d0504970
parent874b3f60f81400b1e84803a99614e4a562623b5b
team: refine IFF_XMIT_DST_RELEASE capability

Cloned patch of Eric Dumazet for bonding.

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

team currently disables IFF_XMIT_DST_RELEASE unconditionally.

If all ports have the IFF_XMIT_DST_RELEASE bit set, then
team dev can also have it in its priv_flags.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c