summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-07-13 10:02:41 -0700
committerDavid S. Miller <davem@davemloft.net>2021-07-13 10:02:41 -0700
commit28efd208530c7690a275b18915960c26c5b4d9d5 (patch)
tree419aea1d7f617070210309d4e9b417c885d68c1a /net/dsa
parentdeb7178eb940e2c5caca1b1db084a69b2e59b4c9 (diff)
parentd2a16bde77322fca6b6f36ebe19097a1c3c46f74 (diff)
downloadlinux-28efd208530c7690a275b18915960c26c5b4d9d5.tar.bz2
Merge branch 'sfc-tx-queues'
Íñigo Huguet says: ==================== sfc: Fix lack of XDP TX queues A change introduced in commit e26ca4b53582 ("sfc: reduce the number of requested xdp ev queues") created a bug in XDP_TX and XDP_REDIRECT because it unintentionally reduced the number of XDP TX queues, letting not enough queues to have one per CPU, which leaded to errors if XDP TX/REDIRECT was done from a high numbered CPU. This patchs make the following changes: - Fix the bug mentioned above - Revert commit 99ba0ea616aa ("sfc: adjust efx->xdp_tx_queue_count with the real number of initialized queues") which intended to fix a related problem, created by mentioned bug, but it's no longer necessary - Add a new error log message if there are not enough resources to make XDP_TX/REDIRECT work V1 -> V2: keep the calculation of how many tx queues can handle a single event queue, but apply the "max. tx queues per channel" upper limit. V2 -> V3: WARN_ON if the number of initialized XDP TXQs differs from the expected. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions