diff options
author | 2018-07-05 14:34:32 +0800 | |
---|---|---|
committer | 2018-07-05 19:20:16 +0900 | |
commit | 6312fe77751f57d4fa2b28abeef84c6a95c28136 (patch) | |
tree | bc8b1e2befbb98f1015785646f48e5f4172caebe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | r8169: fix runtime suspend (diff) | |
download | wireguard-linux-6312fe77751f57d4fa2b28abeef84c6a95c28136.tar.xz wireguard-linux-6312fe77751f57d4fa2b28abeef84c6a95c28136.zip |
net: limit each hash list length to MAX_GRO_SKBS
After commit 07d78363dcff ("net: Convert NAPI gro list into a small hash
table.")' there is 8 hash buckets, which allows more flows to be held for
merging. but MAX_GRO_SKBS, the total held skb for merging, is 8 skb still,
limit the hash table performance.
keep MAX_GRO_SKBS as 8 skb, but limit each hash list length to 8 skb, not
the total 8 skb
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions