Re: [dpdk-dev] [PATCH v4 1/1] net/pcap: imissed stats support

2021-02-22 Thread Ferruh Yigit
On Thu, Feb 04, 2021 at 06:31:45PM +, Ferruh Yigit wrote: > On 2/4/2021 10:33 AM, Ido Goshen wrote: > > get value from pcap_stats.ps_drop (see man pcap_stats) > > the value is adjusted in this cases: > > - port stop - pcap is closed and will lose count > > - stats reset - pcap doesn't provi

Re: [dpdk-dev] [PATCH v4 1/1] net/pcap: imissed stats support

2021-02-04 Thread Ferruh Yigit
On 2/4/2021 10:33 AM, Ido Goshen wrote: get value from pcap_stats.ps_drop (see man pcap_stats) the value is adjusted in this cases: - port stop - pcap is closed and will lose count - stats reset - pcap doesn't provide reset api - rollover - pcap counter size is u_32 only Signed-off-by: Ido

[dpdk-dev] [PATCH v4 1/1] net/pcap: imissed stats support

2021-02-04 Thread Ido Goshen
get value from pcap_stats.ps_drop (see man pcap_stats) the value is adjusted in this cases: - port stop - pcap is closed and will lose count - stats reset - pcap doesn't provide reset api - rollover - pcap counter size is u_32 only Signed-off-by: Ido Goshen --- v4: * remove volatile * line spa