dropped packet count
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!
A message that is not in the archive (sent off-list or not yet received): CE79C97F.26077%jlange-9Ux+Sa23uCBWk0Htik3J/[email protected]
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
Quoted 5 lines · John Lange
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!
A message that is not in the archive (sent off-list or not yet received): [email protected]
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 [[email protected]]
Sent: Wednesday, October 09, 2013 1:35 AM
To: John Lange; [email protected]
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!
Sorry, my mistake. It looks like the per queue values are in the structure that you referenced.
Thanks!
John
________________________________
From: Dmitry Vyal [[email protected]]
Sent: Wednesday, October 09, 2013 1:35 AM
To: John Lange; [email protected]
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!