Re: [PATCH] net/nfp: fix get represetor wrong port stats

2025-02-25 Thread Stephen Hemminger
On Tue, 25 Feb 2025 09:34:54 +0800 Chaoyong He wrote: > From: Long Wu > > The 'ipackets'/'opackets' are used to record the number > of packets on represetor port received/sent. But the > code does not consider concurrent calculation of > 'ipackets'/'opackets'. If multiple queues are calculated

[PATCH] net/nfp: fix get represetor wrong port stats

2025-02-24 Thread Chaoyong He
From: Long Wu The 'ipackets'/'opackets' are used to record the number of packets on represetor port received/sent. But the code does not consider concurrent calculation of 'ipackets'/'opackets'. If multiple queues are calculated 'ipackets'/'opackets' simultaneously, it will result in incorrect re