[dpdk-dev] [PATCH v1] ether: fix overwriting driver-specific stats

2016-07-22 Thread Thomas Monjalon
2016-07-19 12:05, Remy Horton: > After doing a driver callout to fill in the driver specific > parts of struct rte_eth_stats, rte_eth_stats_get() overwrites > the rx_nombuf member regardless of whether the driver itself > has assigned a value. Any driver-assigned value should take > priority. > >

[dpdk-dev] [PATCH v1] ether: fix overwriting driver-specific stats

2016-07-19 Thread Remy Horton
After doing a driver callout to fill in the driver specific parts of struct rte_eth_stats, rte_eth_stats_get() overwrites the rx_nombuf member regardless of whether the driver itself has assigned a value. Any driver-assigned value should take priority. Fixes: af75078fece3 ("first public release")