From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m13-66.163.com (m13-66.163.com [220.181.13.66]) by dpdk.org (Postfix) with ESMTP id 5CA9F8D95 for ; Wed, 14 Sep 2016 10:50:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Message-ID:Date:MIME-Version; bh=Zk5cD YONrcdoOd1jTa/xf+rmbJuwCmDZm98GzIXxnmo=; b=OlEdxZl83tkQ7Adet/3zp wc5jSxAZi0LB3y4+vzvIezhnQtShhQp+vup7GaIxTb+QC0UXnE2yQCkg7WFmG9rf ZlpBRo2hVLDmBptwhf7AxK7i5+yS0mranJVclh9rX4gcnwHPmKwCVyxYOKHCyPV3 5zTpNtbicyFEuUsOLvXZ70= Received: from dfshan1991@163.com (unknown [166.111.68.23:52576]) by IMAP (Coremail) with SMTP id pm+76AD3i7UQtthX; Wed, 14 Sep 2016 10:29:37 +0800 (CST) To: users@dpdk.org From: Danfeng Shan Message-ID: <011e8811-bdb2-aef9-ff1d-0767adcbf157@163.com> Date: Wed, 14 Sep 2016 10:29:10 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Resent-From: dfshan1991@163.com Resent-Date: Wed, 14 Sep 2016 16:50:57 +0800 (CST) Errors-To: dfshan1991@163.com X-CM-TRANSID: QsGowAB3WCFxD9lXkWghAA--.49849W X-CM-SenderInfo: xgivxtzqrzmii6rwjhhfrp/ X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Resent-Message-Id: <57D90F71.2AC9F4.27150@m13-66.163.com> Subject: [dpdk-users] How can I get the tx queue length X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 08:51:01 -0000 Hi, all DPDK has a function " rte_eth_rx_queue_count" to get the number of used descriptors in a specific (rx) queue. (api doc of this function: http://dpdk.org/doc/api/rte__ethdev_8h.html#a02445040da8af03a8757ff9577a9b699) However, I cannot find the corresponding function (like rte_eth_tx_queue_count) that can get the number of used descriptors in tx queue. Is there any technical limitations ? Thanks.