czw., 2 kwi 2020 o 15:05 Ferruh Yigit <ferruh.yi...@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 <m...@semihalf.com> > > Reviewed-by: Igor Chauskin <igo...@amazon.com> > > Reviewed-by: Guy Tzalik <gtza...@amazon.com> > > <...> >