Re: [PATCH] net: mana: select PAGE_POOL

2023-12-18 Thread Simon Horman
On Fri, Dec 15, 2023 at 12:33:53PM -0800, Yury Norov wrote: > Mana uses PAGE_POOL API. x86_64 defconfig doesn't select it: > > ld: vmlinux.o: in function `mana_create_page_pool.isra.0': > mana_en.c:(.text+0x9ae36f): undefined reference to `page_pool_create' > ld: vmlinux.o: in function `mana_get_r

Re: [PATCH] net: mana: select PAGE_POOL

2023-12-18 Thread Denis Kirjanov
On 12/15/23 23:33, Yury Norov wrote: > Mana uses PAGE_POOL API. x86_64 defconfig doesn't select it: > > ld: vmlinux.o: in function `mana_create_page_pool.isra.0': > mana_en.c:(.text+0x9ae36f): undefined reference to `page_pool_create' > ld: vmlinux.o: in function `mana_get_rxfrag': > mana_en.c:

RE: [Patch v4 0/3] Register with RDMA SOC interface and support for CQ

2023-12-18 Thread Long Li
> Subject: Re: [Patch v4 0/3] Register with RDMA SOC interface and support for > CQ > > On Fri, Dec 15, 2023 at 06:04:12PM -0800, lon...@linuxonhyperv.com wrote: > > From: Long Li > > > > This patchset add support for registering a RDMA device with SoC for > > support of querying device capabili

Re: [PATCH 3/3] net: mana: add a function to spread IRQs per CPUs

2023-12-18 Thread Jacob Keller
On 12/17/2023 1:32 PM, Yury Norov wrote: > +static __maybe_unused int irq_setup(unsigned int *irqs, unsigned int len, > int node) > +{ > + const struct cpumask *next, *prev = cpu_none_mask; > + cpumask_var_t cpus __free(free_cpumask_var); > + int cpu, weight; > + > + if (!alloc_

Re: [PATCH 0/3] net: mana: add irq_spread()

2023-12-18 Thread Jacob Keller
On 12/17/2023 1:32 PM, Yury Norov wrote: > Add irq_spread() function that makes the driver working 15% faster than > with cpumask_local_spread() > > Yury Norov (3): > cpumask: add cpumask_weight_andnot() > cpumask: define cleanup function for cpumasks > net: mana: add a function to spread

Re: [PATCH 1/3] cpumask: add cpumask_weight_andnot()

2023-12-18 Thread Jacob Keller
On 12/17/2023 1:32 PM, Yury Norov wrote: > Similarly to cpumask_weight_and(), cpumask_weight_andnot() is a handy > helper that may help to avoid creating an intermediate mask just to > calculate number of bits that set in a 1st given mask, and clear in 2nd > one. > > Signed-off-by: Yury Norov

Re: [PATCH 3/3] net: mana: add a function to spread IRQs per CPUs

2023-12-18 Thread Yury Norov
On Mon, Dec 18, 2023 at 01:17:53PM -0800, Jacob Keller wrote: > > > On 12/17/2023 1:32 PM, Yury Norov wrote: > > +static __maybe_unused int irq_setup(unsigned int *irqs, unsigned int len, > > int node) > > +{ > > + const struct cpumask *next, *prev = cpu_none_mask; > > + cpumask_var_t cpus _

RE: [EXTERNAL] [PATCH 3/3] net: mana: add a function to spread IRQs per CPUs

2023-12-18 Thread Souradeep Chakrabarti
>-Original Message- >From: Yury Norov >Sent: Monday, December 18, 2023 3:02 AM >To: Souradeep Chakrabarti ; KY Srinivasan >; Haiyang Zhang ; >wei@kernel.org; Dexuan Cui ; da...@davemloft.net; >eduma...@google.com; k...@kernel.org; pab...@redhat.com; Long Li >; yury.no...@gmail.com;