* dropped packet count @ 2013-10-08 20:38 John Lange [not found] ` <CE79C97F.26077%jlange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: John Lange @ 2013-10-08 20:38 UTC (permalink / raw) To: dev-VfR2kkLFssw@public.gmane.org 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! ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CE79C97F.26077%jlange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org>]
* Re: dropped packet count [not found] ` <CE79C97F.26077%jlange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org> @ 2013-10-09 7:35 ` Dmitry Vyal [not found] ` <5255075B.9040505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Dmitry Vyal @ 2013-10-09 7:35 UTC (permalink / raw) To: John Lange, dev-VfR2kkLFssw@public.gmane.org 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! ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5255075B.9040505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: dropped packet count [not found] ` <5255075B.9040505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2013-10-09 16:01 ` John Lange 2013-10-09 16:02 ` John Lange 1 sibling, 0 replies; 4+ messages in thread From: John Lange @ 2013-10-09 16:01 UTC (permalink / raw) To: Dmitry Vyal, dev-VfR2kkLFssw@public.gmane.org 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 [dmitryvyal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org] Sent: Wednesday, October 09, 2013 1:35 AM To: John Lange; dev-VfR2kkLFssw@public.gmane.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! ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dropped packet count [not found] ` <5255075B.9040505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2013-10-09 16:01 ` John Lange @ 2013-10-09 16:02 ` John Lange 1 sibling, 0 replies; 4+ messages in thread From: John Lange @ 2013-10-09 16:02 UTC (permalink / raw) To: Dmitry Vyal, dev-VfR2kkLFssw@public.gmane.org Sorry, my mistake. It looks like the per queue values are in the structure that you referenced. Thanks! John ________________________________ From: Dmitry Vyal [dmitryvyal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org] Sent: Wednesday, October 09, 2013 1:35 AM To: John Lange; dev-VfR2kkLFssw@public.gmane.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! ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-09 16:02 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-10-08 20:38 dropped packet count John Lange [not found] ` <CE79C97F.26077%jlange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org> 2013-10-09 7:35 ` Dmitry Vyal [not found] ` <5255075B.9040505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2013-10-09 16:01 ` John Lange 2013-10-09 16:02 ` John Lange
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).