Re: [PATCH] netvsc: optimize stats counters performance

2024-09-21 Thread Ferruh Yigit
On 9/19/2024 7:06 PM, Long Li wrote: >> Subject: RE: [PATCH] netvsc: optimize stats counters performance >> >>> From: Stephen Hemminger [mailto:step...@networkplumber.org] >>> Sent: Friday, 2 August 2024 19.33 >>> >>> On Fri, 2 Aug 2024 19:28:26

RE: [PATCH] netvsc: optimize stats counters performance

2024-09-19 Thread Long Li
> Subject: RE: [PATCH] netvsc: optimize stats counters performance > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Friday, 2 August 2024 19.33 > > > > On Fri, 2 Aug 2024 19:28:26 +0200 > > Morten Brørup wrote: > > > > &

RE: [PATCH] netvsc: optimize stats counters performance

2024-09-19 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, 2 August 2024 19.33 > > On Fri, 2 Aug 2024 19:28:26 +0200 > Morten Brørup wrote: > > > > > ea = rte_pktmbuf_mtod(m, const struct rte_ether_addr *); > > > > - if (rte_is_multicast_ether_addr(ea)) { > > > >

RE: [PATCH] netvsc: optimize stats counters performance

2024-08-02 Thread Morten Brørup
> From: Long Li [mailto:lon...@microsoft.com] > Sent: Friday, 2 August 2024 18.49 > > > Subject: [PATCH] netvsc: optimize stats counters performance > > > > Optimized the performance of updating the statistics counters by > reducing the > > number of branches. > > > > Ordered the packet size compa

RE: [PATCH] netvsc: optimize stats counters performance

2024-08-02 Thread Long Li
> Subject: [PATCH] netvsc: optimize stats counters performance > > Optimized the performance of updating the statistics counters by reducing the > number of branches. > > Ordered the packet size comparisons according to the probability with typical > internet traffic mix. > > Signed-off-by: Mort