[dpdk-dev] dropped packet count

Dmitry Vyal dmitryvyal at gmail.com
Wed Oct 9 09:35:55 CEST 2013


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