From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) by dpdk.org (Postfix) with ESMTP id DB8B4678B for ; Wed, 9 Oct 2013 09:35:17 +0200 (CEST) Received: by mail-lb0-f177.google.com with SMTP id w7so425135lbi.8 for ; Wed, 09 Oct 2013 00:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=225YvlnK3kwCO1QffkhDYQlYX+6cf7zexoA0DntHWFA=; b=OaDackywfjvJIfvot+c1xg0ACXuFyKs1WSYziUb08K1M8+FZCP/HANVtymd4NPKqaz L+rPUYOdM3oRqfF37592bV8b4ZyR9KIm82GbLrKshITsl9SkvLNdXdUyytSu6HYoRPKC K3SAAvHHWHahUWoPtc9DjI4z/VDyLCx/qlffjkL2EtxyzXz6bNJ3HkVbwDwFhFBHdoGV VZ9mTFjhEN/50l/ySBQKtW/D9SDfxQbMBrYc3EBb8hY9jNvJhcMZWEZWH2d58xrDwrwN 0QqtKtfbRUz8AJTo0iJhWEkWOYkaBUySpEFuAsN2sHGecLLrjzDvKnVYG1vHeHn4lRox gtuQ== X-Received: by 10.152.28.7 with SMTP id x7mr5158450lag.26.1381304157140; Wed, 09 Oct 2013 00:35:57 -0700 (PDT) Received: from [192.168.15.100] ([91.246.87.40]) by mx.google.com with ESMTPSA id zc3sm25258370lbb.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Oct 2013 00:35:56 -0700 (PDT) Message-ID: <5255075B.9040505@gmail.com> Date: Wed, 09 Oct 2013 11:35:55 +0400 From: Dmitry Vyal User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: John Lange , "dev@dpdk.org" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 07:35:18 -0000 Hi John, take a look at void rte_eth_stats_get(uint8_t /port_id/, struct rte_eth_stats */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!