[dpdk-dev] rte_ether: Driver-specific stats getting overwritten

Remy Horton remy.horton at intel.com
Thu Jul 14 15:29:17 CEST 2016


'noon,

In rte_eth_stats_get() after doing the driver callout to populate struct 
rte_eth_stats, the rx_nombuf member is overwritten with 
dev->data->rx_mbuf_alloc_failed even though some drivers will have 
filled rx_nombuf with a value from elsewhere. This makes assignment of 
rx_nombuf from within the driver callout redundant. Is this intentional?

..Remy


More information about the dev mailing list