[PATCH net-next] sfc: backport XDP EV queue sharing from the out-of-tree driver

2020-12-10 Thread Ivan Babrou
Queue sharing behaviour already exists in the out-of-tree sfc driver, available under xdp_alloc_tx_resources module parameter. This avoids the following issue on machines with many cpus: Insufficient resources for 12 XDP event queues (24 other channels, max 32) Which in turn triggers EINVAL on X

Re: [PATCH net-next] sfc: backport XDP EV queue sharing from the out-of-tree driver

2020-12-11 Thread Jakub Kicinski
On Thu, 10 Dec 2020 16:18:53 -0800 Ivan Babrou wrote: > Queue sharing behaviour already exists in the out-of-tree sfc driver, > available under xdp_alloc_tx_resources module parameter. > > This avoids the following issue on machines with many cpus: > > Insufficient resources for 12 XDP event queu

Re: [PATCH net-next] sfc: backport XDP EV queue sharing from the out-of-tree driver

2020-12-13 Thread Martin Habets
On Thu, Dec 10, 2020 at 04:18:53PM -0800, Ivan Babrou wrote: > Queue sharing behaviour already exists in the out-of-tree sfc driver, > available under xdp_alloc_tx_resources module parameter. This comment is not relevant for in-tree patches. I'd also like to make clear that we never intend to upst

Re: [PATCH net-next] sfc: backport XDP EV queue sharing from the out-of-tree driver

2020-12-13 Thread Ivan Babrou
On Sun, Dec 13, 2020 at 4:23 AM Martin Habets wrote: > > On Thu, Dec 10, 2020 at 04:18:53PM -0800, Ivan Babrou wrote: > > Queue sharing behaviour already exists in the out-of-tree sfc driver, > > available under xdp_alloc_tx_resources module parameter. > > This comment is not relevant for in-tree

Re: [PATCH net-next] sfc: backport XDP EV queue sharing from the out-of-tree driver

2020-12-14 Thread Martin Habets
On Sun, Dec 13, 2020 at 10:44:56AM -0800, Ivan Babrou wrote: > On Sun, Dec 13, 2020 at 4:23 AM Martin Habets > wrote: > > > > On Thu, Dec 10, 2020 at 04:18:53PM -0800, Ivan Babrou wrote: > > > Queue sharing behaviour already exists in the out-of-tree sfc driver, > > > available under xdp_alloc_tx