[dpdk-dev] dropped packet count

John Lange JLange at trendium.com
Wed Oct 9 18:02:54 CEST 2013


Sorry, my mistake.  It looks like the per queue values are in the structure that you referenced.

Thanks!
John

________________________________
From: Dmitry Vyal [dmitryvyal at 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!




More information about the dev mailing list