[dpdk-dev] [PATCH v2 19/29] net/ena: add Tx drops statistic
Ferruh Yigit
ferruh.yigit at intel.com
Thu Apr 2 15:05:09 CEST 2020
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?
>
> 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