diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2017-10-30 11:23:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 12:28:33 +0900 |
commit | 1d17db08c056c1f7f4abbff6aff8711b7c3a3b7f (patch) | |
tree | 0e6904dc0aefda40c7cac7639c4761bed6447cd5 /arch/score | |
parent | 1d7d15d79fb4660bec3a86e748c50aac7c5d2121 (diff) | |
download | linux-1d17db08c056c1f7f4abbff6aff8711b7c3a3b7f.tar.bz2 |
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 'arch/score')
0 files changed, 0 insertions, 0 deletions