summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac1000.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-08-24 05:40:47 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-24 11:47:48 -0400
commit78df76a065ae3b5dbcb9a29912adc02f697de498 (patch)
tree5b9ab36790a2e0101a15d70bdf41b066ce0e55aa /drivers/net/ethernet/stmicro/stmmac/dwmac1000.h
parenta0dfb2634e5671770f598cda08002d8cda66ac77 (diff)
downloadlinux-78df76a065ae3b5dbcb9a29912adc02f697de498.tar.bz2
ipv4: take rt_uncached_lock only if needed
Multicast traffic allocates dst with DST_NOCACHE, but dst is not inserted into rt_uncached_list. This slowdown multicast workloads on SMP because rt_uncached_lock is contended. Change the test before taking the lock to actually check the dst was inserted into rt_uncached_list. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac1000.h')
0 files changed, 0 insertions, 0 deletions