diff options
author | 2017-10-30 11:23:31 +0100 | |
---|---|---|
committer | 2017-11-01 12:28:33 +0900 | |
commit | 1d17db08c056c1f7f4abbff6aff8711b7c3a3b7f (patch) | |
tree | 0e6904dc0aefda40c7cac7639c4761bed6447cd5 /tools/perf/scripts/python/stackcollapse.py | |
parent | net: mvpp2: initialize the RSS tables (diff) | |
download | linux-dev-1d17db08c056c1f7f4abbff6aff8711b7c3a3b7f.tar.xz linux-dev-1d17db08c056c1f7f4abbff6aff8711b7c3a3b7f.zip |
net: mvpp2: limit TSO segments and use stop/wake thresholds
Too many TSO descriptors can be required for the default queue size,
when using small MSS values for example. Prevent this by adding a
maximum number of allowed TSO segments (300). In addition set a stop and
a wake thresholds to stop the queue when there's no room for a 1 "worst
case scenario skb". Wake up the queue when the number of descriptors is
low enough.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions