summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorÍñigo Huguet <ihuguet@redhat.com>2021-09-09 11:28:45 +0200
committerDavid S. Miller <davem@davemloft.net>2021-09-09 11:17:37 +0100
commit415446185b939dcdcd6a483e705c805ab961e54c (patch)
tree36b7b984b10d9042349c6b8b1128109dc1c5b402 /tools/perf/scripts/python
parent2a48d96fd58a666ae231c3dd6fe4a458798ac645 (diff)
sfc: fallback for lack of xdp tx queues
If there are not enough resources to allocate one TX queue per core for XDP TX it was completely disabled. This patch implements a fallback solution for sharing the available queues using __netif_tx_lock for synchronization. In the normal case that there is one TX queue per CPU, no locking is done, as it was before. With this fallback solution, XDP TX will work in much more cases that were failing, specially in machines with many CPUs. It's hard for XDP users to know what features are supported across different NICs and configurations, so they will benefit on having wider support. Signed-off-by: Íñigo Huguet <ihuguet@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions