diff options
author | Konstantin Khlebnikov <[email protected]> | 2020-04-06 14:39:32 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-07 18:30:56 -0700 |
commit | a4837980fd9fa4c70a821d11831698901baef56b (patch) | |
tree | 1847bf2eb7d027c099b5937dcf85359065426af5 /scripts/bpf_helpers_doc.py | |
parent | a5d75538295b06bc6ade1b9da07b9bee57d1c677 (diff) |
net: revert default NAPI poll timeout to 2 jiffies
For HZ < 1000 timeout 2000us rounds up to 1 jiffy but expires randomly
because next timer interrupt could come shortly after starting softirq.
For commonly used CONFIG_HZ=1000 nothing changes.
Fixes: 7acf8a1e8a28 ("Replace 2 jiffies with sysctl netdev_budget_usecs to enable softirq tuning")
Reported-by: Dmitry Yakunin <[email protected]>
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions