[dpdk-dev] [PATCH v2 19/29] net/ena: add Tx drops statistic

Michał Krawczyk mk at semihalf.com
Fri Apr 3 14:30:27 CEST 2020


czw., 2 kwi 2020 o 15:05 Ferruh Yigit <ferruh.yigit at intel.com> napisał(a):
>
> On 4/1/2020 3:21 PM, Michal Krawczyk wrote:
> > ENA device can report in the AENQ handler amount of Tx packets that were
> > dropped and not sent.
> >
> > This statistic is showing global value for the device and because
> > rte_eth_stats is missing field that could indicate this value (it
> > isn't the Tx error), it is being presented as a extended statistic.
>
> What is the reason of Tx drop if it is not error?
>

It's connected with the device architecture (I'm sorry - I don't know
the details).

> >
> > As the current design of extended statistics prevents tx_drops from
> > being an atomic variable and both tx_drops and rx_drops are only updated
> > from the AENQ handler, both were set as non-atomic for the alignment.
> >
> > Signed-off-by: Michal Krawczyk <mk at semihalf.com>
> > Reviewed-by: Igor Chauskin <igorch at amazon.com>
> > Reviewed-by: Guy Tzalik <gtzalik at amazon.com>
>
> <...>
>


More information about the dev mailing list