From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Walukiewicz, Miroslaw" Subject: Re: [PATCHv2 0/5] ethdev: add new API to retrieve RX/TX queue information Date: Thu, 18 Jun 2015 13:30:33 +0000 Message-ID: <7C4248CAE043B144B1CD242D27562653454ABD61@IRSMSX104.ger.corp.intel.com> References: <1434560084-21237-2-git-send-email-konstantin.ananyev@intel.com> <1434633528-23329-1-git-send-email-konstantin.ananyev@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "Ananyev, Konstantin" , "dev@dpdk.org" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1C1ABC664 for ; Thu, 18 Jun 2015 15:30:36 +0200 (CEST) In-Reply-To: <1434633528-23329-1-git-send-email-konstantin.ananyev@intel.com> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Konstantin,=20 Is there a possibility to read information about available space in NIC que= ue for TX. It is quite easy to compute (or even available directly) and very useful e= specially for application sending multi-descriptor packets like TCP TSO.=20 Now there is no access to such information and the transmit packet function= must be called to=20 be sure that there is available space. Mirek > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Konstantin Ananyev > Sent: Thursday, June 18, 2015 3:19 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCHv2 0/5] ethdev: add new API to retrieve RX/TX > queue information >=20 > Add the ability for the upper layer to query RX/TX queue information. > Right now supported for: > ixgbe, i40e, e1000 PMDs. >=20 > Konstantin Ananyev (5): > ethdev: add new API to retrieve RX/TX queue information > i40e: add support for eth_(rxq|txq)_info_get > ixgbe: add support for eth_(rxq|txq)_info_get > e1000: add support for eth_(rxq|txq)_info_get > testpmd: add new command to display RX/TX queue information >=20 > app/test-pmd/cmdline.c | 48 +++++++++++++++++++++++++ > app/test-pmd/config.c | 67 > ++++++++++++++++++++++++++++++++++ > app/test-pmd/testpmd.h | 2 ++ > drivers/net/e1000/e1000_ethdev.h | 12 +++++++ > drivers/net/e1000/em_ethdev.c | 2 ++ > drivers/net/e1000/em_rxtx.c | 38 ++++++++++++++++++++ > drivers/net/e1000/igb_ethdev.c | 4 +++ > drivers/net/e1000/igb_rxtx.c | 36 +++++++++++++++++++ > drivers/net/i40e/i40e_ethdev.c | 2 ++ > drivers/net/i40e/i40e_ethdev.h | 5 +++ > drivers/net/i40e/i40e_rxtx.c | 42 ++++++++++++++++++++++ > drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++ > drivers/net/ixgbe/ixgbe_ethdev.h | 6 ++++ > drivers/net/ixgbe/ixgbe_rxtx.c | 42 ++++++++++++++++++++++ > lib/librte_ether/rte_ethdev.c | 54 ++++++++++++++++++++++++++++ > lib/librte_ether/rte_ethdev.h | 77 > +++++++++++++++++++++++++++++++++++++++- > 16 files changed, 440 insertions(+), 1 deletion(-) >=20 > -- > 1.8.5.3