Thanks Dmitry, that's useful, but rte_eth_stats reports for a given port.  I 
would also like to have access to the per-queue statistics.

John
________________________________
From: Dmitry Vyal [dmitryv...@gmail.com]
Sent: Wednesday, October 09, 2013 1:35 AM
To: John Lange; dev at dpdk.org
Subject: Re: [dpdk-dev] dropped packet count

Hi John,

take a look at  void rte_eth_stats_get(uint8_t port_id, struct 
rte_eth_stats<http://dpdk.org/doc/api/structrte__eth__stats.html> *stats);
http://dpdk.org/doc/api/rte__ethdev_8h.html#aac7b274a66c959f827a0750eaf22a5cb

The structure it fills has a member q_errors which seems to be what you're 
looking for.

Regards,
Dmitry

On 10/09/2013 12:38 AM, John Lange wrote:

Greetings,

Is there a standard way of retrieving the dropped packet count for a particular 
port/queue in the DPDK?   If no way is currently defined, could this please be 
added in a future version?

Thanks!


Reply via email to