Skip to content
Commit e26ca4b5 authored by Ivan Babrou's avatar Ivan Babrou Committed by Jakub Kicinski
Browse files

sfc: reduce the number of requested xdp ev queues



Without this change the driver tries to allocate too many queues,
breaching the number of available msi-x interrupts on machines
with many logical cpus and default adapter settings:

Insufficient resources for 12 XDP event queues (24 other channels, max 32)

Which in turn triggers EINVAL on XDP processing:

sfc 0000:86:00.0 ext0: XDP TX failed (-22)

Signed-off-by: default avatarIvan Babrou <ivan@cloudflare.com>
Acked-by: default avatarEdward Cree <ecree.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20210120212759.81548-1-ivan@cloudflare.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e7ed11ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment