Re: [PATCH v6 4/9] net/af_xdp: use generic SW stats

2024-05-17 Thread Stephen Hemminger
On Fri, 17 May 2024 13:34:30 + "Loftus, Ciara" wrote: > > - tx_bytes += mbuf->pkt_len; > > + rte_eth_count_packet(&txq->stats, pkt_len); > > This change resolves the bugzilla you reported recently (1440 - use after > free in af_xdp). Should this be mentioned in the com

RE: [PATCH v6 4/9] net/af_xdp: use generic SW stats

2024-05-17 Thread Loftus, Ciara
> Subject: [PATCH v6 4/9] net/af_xdp: use generic SW stats > > Use common code for all SW stats. > > Signed-off-by: Stephen Hemminger > --- > drivers/net/af_xdp/rte_eth_af_xdp.c | 98 - > 1 file changed, 25 insertions(+), 73 deletions(-) > > diff --git a/drivers/net