Re: [PATCH net] hv_netvsc: Fix VF namespace also in netvsc_open

2024-10-03 Thread Paolo Abeni
On 9/27/24 22:54, Haiyang Zhang wrote: The existing code moves VF to the same namespace as the synthetic device during netvsc_register_vf(). But, if the synthetic device is moved to a new namespace after the VF registration, the VF won't be moved together. To make the behavior more consistent, a

Re: [PATCH 1/4 V3 net-next] cpumask: add cpumask_weight_andnot()

2024-02-01 Thread Paolo Abeni
On Sun, 2024-01-28 at 22:21 -0800, Souradeep Chakrabarti wrote: > From: Yury Norov > > 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

Re: [PATCH 0/4 net-next] net: mana: Assigning IRQ affinity on HT cores

2024-01-09 Thread Paolo Abeni
On Tue, 2024-01-09 at 02:51 -0800, Souradeep Chakrabarti wrote: > This patch set introduces a new helper function irq_setup(), > to optimize IRQ distribution for MANA network devices. > The patch set makes the driver working 15% faster than > with cpumask_local_spread(). > > Souradeep Chakrabarti

Re: [PATCH] net :mana :Add remaining GDMA stats for MANA to ethtool

2023-11-27 Thread Paolo Abeni
Hi, On Fri, 2023-11-24 at 05:02 -0800, Shradha Gupta wrote: > Extend performance counter stats in 'ethtool -S ' > for MANA VF to include all GDMA stat counter. > > Tested-on: Ubuntu22 > Testcases: > 1. LISA testcase: > PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP-Synthetic > 2. LISA testcas