[PATCH v1] net/mlx5: add Rx drop counters to xstats
Raslan Darawsheh
rasland at nvidia.com
Sun May 29 15:34:00 CEST 2022
Hi,
> -----Original Message-----
> From: Rongwei Liu <rongweil at nvidia.com>
> Sent: Thursday, May 26, 2022 5:50 AM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <thomas at monjalon.net>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>
> Subject: [PATCH v1] net/mlx5: add Rx drop counters to xstats
>
> Add two kinds of Rx drop counters to DPDK xstats which are physical port
> scope.
>
> 1. rx_prio[0-7]_buf_discard
> The number of unicast packets dropped due to lack of shared
> buffer resources.
> 2. rx_prio[0-7]_cong_discard
> The number of packets that is dropped by the Weighted Random
> Early Detection (WRED) function.
>
> Prio[0-7] is determined by VLAN PCP value which is 0 by default.
> Both counters are retrieved from kernel ethtool API which calls PRM
> command finally.
>
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list