diff options
author | 2020-03-18 13:54:49 +0100 | |
---|---|---|
committer | 2020-03-18 16:33:35 -0700 | |
commit | 66cddf101901a6cfcd21c840f0535e8f1c8c5186 (patch) | |
tree | 4da44babbd507b5797611e5e0957906d74c42d8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/qeth: allow configuration of TX queues for z/VM NICs (diff) | |
download | wireguard-linux-66cddf101901a6cfcd21c840f0535e8f1c8c5186.tar.xz wireguard-linux-66cddf101901a6cfcd21c840f0535e8f1c8c5186.zip |
s390/qeth: allow configuration of TX queues for IQD devices
Similar to the support for z/VM NICs, but we need to take extra care
about the dedicated mcast queue:
1. netdev_pick_tx() is unaware of this limitation and might select the
mcast txq. Catch this.
2. require at least _two_ TX queues - one for ucast, one for mcast.
3. when reducing the number of TX queues, there's a potential race
where netdev_cap_txqueue() over-rules the selected txq index and
falls back to index 0. This would place ucast traffic on the mcast
queue, and result in TX errors.
So for IQD, reject a reduction while the interface is running.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions