Re: [dpdk-dev] [PATCH] net/pcap: fix byte stats for drop Tx

2021-02-04 Thread Ferruh Yigit
On 2/4/2021 3:47 PM, Ferriter, Cian wrote: -Original Message- From: Yigit, Ferruh Sent: Wednesday 3 February 2021 17:30 To: Ferriter, Cian Cc: Yigit, Ferruh ; dev@dpdk.org; sta...@dpdk.org Subject: [PATCH] net/pcap: fix byte stats for drop Tx Drop Tx path in pcap is Tx that just dro

Re: [dpdk-dev] [PATCH] net/pcap: fix byte stats for drop Tx

2021-02-04 Thread Ferriter, Cian
> -Original Message- > From: Ferriter, Cian > Sent: Thursday 4 February 2021 15:48 > To: Yigit, Ferruh > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] net/pcap: fix byte stats for drop Tx > > > > > -Original Message- > > From: Yigit, Ferruh > > Sent: Wednesday 3 F

Re: [dpdk-dev] [PATCH] net/pcap: fix byte stats for drop Tx

2021-02-04 Thread Ferriter, Cian
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday 3 February 2021 17:30 > To: Ferriter, Cian > Cc: Yigit, Ferruh ; dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/pcap: fix byte stats for drop Tx > > Drop Tx path in pcap is Tx that just drops the packets, which is used

[dpdk-dev] [PATCH] net/pcap: fix byte stats for drop Tx

2021-02-03 Thread Ferruh Yigit
Drop Tx path in pcap is Tx that just drops the packets, which is used for the case only Rx from a pcap file is requested/matters. The byte stats was calculated using first mbuf segment, which gives wrong values for multi segmented mbufs, updated to use packet length instead. Bugzilla ID: 597 Fixe