From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EXCH01.zulugolf.com (exchange.zidea.com [50.201.203.172]) by dpdk.org (Postfix) with ESMTP id 691BB312 for ; Wed, 9 Oct 2013 18:00:28 +0200 (CEST) Received: from EXCH02.zulugolf.com (10.100.16.101) by EXCH01.zulugolf.com (10.100.16.11) with Microsoft SMTP Server (TLS) id 14.2.283.3; Wed, 9 Oct 2013 10:01:12 -0600 Received: from EXCH01.zulugolf.com ([fe80::e1e3:eb6e:ae80:7710]) by EXCH02.zulugolf.com ([::1]) with mapi id 14.02.0283.003; Wed, 9 Oct 2013 10:01:12 -0600 From: John Lange To: Dmitry Vyal , "dev@dpdk.org" Thread-Topic: [dpdk-dev] dropped packet count Thread-Index: AQHOxGZo6vyECSzQc0qnDVqEE84tw5nsYCiAgAAmWLo= Date: Wed, 9 Oct 2013 16:01:12 +0000 Message-ID: <7B0640806B6B1D41883AC02B16DA59A701391937@EXCH01.zulugolf.com> References: ,<5255075B.9040505@gmail.com> In-Reply-To: <5255075B.9040505@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.110.1.60] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] dropped packet count X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 16:00:28 -0000 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@gmail.com] Sent: Wednesday, October 09, 2013 1:35 AM To: John Lange; dev@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_stat= s *stats); http://dpdk.org/doc/api/rte__ethdev_8h.html#aac7b274a66c959f827a0750eaf22a5= cb 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 partic= ular port/queue in the DPDK? If no way is currently defined, could this p= lease be added in a future version? Thanks!