commit | 6e7676c1a76aed6e957611d8d7a9e5592e23aeba | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Tue Apr 27 15:07:33 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 27 15:11:49 2010 -0700 |
tree | 0cd14260745f755c885466c59182452f637e92e3 | |
parent | c58dc01babfd58ec9e71a6ce080150dc27755d88 [diff] |
net: batch skb dequeueing from softnet input_pkt_queue batch skb dequeueing from softnet input_pkt_queue to reduce potential lock contention when RPS is enabled. Note: in the worst case, the number of packets in a softnet_data may be double of netdev_max_backlog. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>