]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove time limit in process_backlog()
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 17 Apr 2010 04:17:02 +0000 (04:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Apr 2010 09:36:13 +0000 (02:36 -0700)
commitf4fd1de878ae911b65b60543890aae08466011fb
tree5f865cabb794281244a4df4d604fd6f5ab33f84e
parentfeb7a30d5cff1619f2f8c6c6390c68aad2814cda
net: remove time limit in process_backlog()

- There is no point to enforce a time limit in process_backlog(), since
other napi instances dont follow same rule. We can exit after only one
packet processed...
The normal quota of 64 packets per napi instance should be the norm, and
net_rx_action() already has its own time limit.
Note : /proc/net/core/dev_weight can be used to tune this 64 default
value.

- Use DEFINE_PER_CPU_ALIGNED for softnet_data definition.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c