Re: [dpdk-users] mlx5: packets lost between good+discard and phy counters

2021-04-14 Thread Gerry Wan
common/mlx5: add DevX command to query WQ > common/mlx5: add DevX commands for queue counters > net/mlx5: fix imissed statistics > > > Regards, > Asaf Penso > > >-Original Message- > >From: users On Behalf Of Tom Barbette > >Sent: Tuesday, Apr

Re: [dpdk-users] mlx5: packets lost between good+discard and phy counters

2021-04-14 Thread Asaf Penso
e >Sent: Tuesday, April 13, 2021 4:40 PM >To: Gerry Wan ; users@dpdk.org >Cc: Matan Azrad ; Shahaf Shuler ; >Slava Ovsiienko >Subject: Re: [dpdk-users] mlx5: packets lost between good+discard and phy >counters > >CC-ing maintainers. > >I did observe that too

Re: [dpdk-users] mlx5: packets lost between good+discard and phy counters

2021-04-13 Thread Tom Barbette
CC-ing maintainers. I did observe that too. rx_out_of_buffer is always 0 since a few months (I did not personnaly try to revert versions as Gerry did, I assume it was a DPDK update indeed as Gerry verified). Tom Le 11-04-21 à 03:31, Gerry Wan a écrit : After further investigation, I think

Re: [dpdk-users] mlx5: packets lost between good+discard and phy counters

2021-04-10 Thread Gerry Wan
After further investigation, I think this may be a bug introduced in DPDK v20.11, where these "lost" packets should be counted as "rx_out_of_buffer" and "rx_missed_errors". On v20.08 both of these counters increment, but on v20.11 and v21.02 these counters always remain 0. Any workarounds for

[dpdk-users] mlx5: packets lost between good+discard and phy counters

2021-04-02 Thread Gerry Wan
I have a simple forwarding experiment using a mlx5 NIC directly connected to a generator. I am noticing that at high enough throughput, rx_good_packets + rx_phy_discard_packets may not equal rx_phy_packets. Where are these packets being dropped? Below is an example xstats where I receive at