diff options
author | Antoine Tenart <[email protected]> | 2017-11-28 14:19:51 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-28 10:09:51 -0500 |
commit | 76e583c5f50ef539caea6935d37af3595034befb (patch) | |
tree | feeb2fcd6ff42b87077df648ae6f82f09c48a386 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e749aca84b10f3987b2ee1f76e0c7d8aacc5653c (diff) |
net: mvpp2: check ethtool sets the Tx ring size is to a valid min value
This patch fixes the Tx ring size checks when using ethtool, by adding
an extra check in the PPv2 check_ringparam_valid helper. The Tx ring
size cannot be set to a value smaller than the minimum number of
descriptors needed for TSO.
Fixes: 1d17db08c056 ("net: mvpp2: limit TSO segments and use stop/wake thresholds")
Suggested-by: Yan Markman <[email protected]>
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions