Re: [PATCH net-next] sfc: reduce the number of requested xdp ev queues

From: Edward Cree
Date: Thu Jan 21 2021 - 11:13:21 EST


On 20/01/2021 21:27, Ivan Babrou wrote:
> 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: Ivan Babrou <ivan@xxxxxxxxxxxxxx>

Acked-by: Edward Cree <ecree.xilinx@xxxxxxxxx>