DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] rte_ether: Driver-specific stats getting overwritten
@ 2016-07-14 13:29 Remy Horton
  2016-07-14 13:37 ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Remy Horton @ 2016-07-14 13:29 UTC (permalink / raw)
  To: dev; +Cc: thomas.monjalon

'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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-14 15:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-14 13:29 [dpdk-dev] rte_ether: Driver-specific stats getting overwritten Remy Horton
2016-07-14 13:37 ` Thomas Monjalon
2016-07-14 13:51   ` Igor Ryzhov
2016-07-14 15:50     ` Remy Horton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).