From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5685895AC for ; Thu, 22 Oct 2015 14:06:46 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 22 Oct 2015 05:06:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,181,1444719600"; d="scan'208";a="832525797" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 22 Oct 2015 05:06:44 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t9MC6h1E016505; Thu, 22 Oct 2015 13:06:43 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t9MC6hLd026364; Thu, 22 Oct 2015 13:06:43 +0100 Received: (from kananye1@localhost) by sivswdev02.ir.intel.com with id t9MC6hI9026360; Thu, 22 Oct 2015 13:06:43 +0100 From: Konstantin Ananyev To: dev@dpdk.org Date: Thu, 22 Oct 2015 13:06:23 +0100 Message-Id: <1445515592-25920-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCHv6 0/9] ethdev: add new API to retrieve RX/TX queue information 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: Thu, 22 Oct 2015 12:06:46 -0000 Add the ability for the upper layer to query: 1) configured RX/TX queue information. 2) information about RX/TX descriptors min/max/align numbers per queue for the device. v2 changes: - Add formal check for the qinfo input parameter. - As suggested rename 'rx_qinfo/tx_qinfo' to 'rxq_info/txq_info' v3 changes: - Updated rte_ether_version.map - Merged with latest changes v4 changes: - rte_ether_version.map: move new functions into DPDK_2.1 sub-space. v5 changes: - adressed previous code-review comments - rte_ether_version.map: move new functions into DPDK_2.2 sub-space. - added new fields into rte_eth_dev_info v6 chages: - respin to comply with latest dpdk.org - update release_notes Konstantin Ananyev (9): ethdev: add new API to retrieve RX/TX queue information i40e: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim ixgbe: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim e1000: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim testpmd: add new command to display RX/TX queue information fm10k: add HW specific desc_lim data into dev_info cxgbe: add HW specific desc_lim data into dev_info vmxnet3: add HW specific desc_lim data into dev_info doc: release notes update for queue_info_get() app/test-pmd/cmdline.c | 48 +++++++++++++++++++ app/test-pmd/config.c | 77 ++++++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 2 + doc/guides/rel_notes/release_2_2.rst | 7 +++ drivers/net/cxgbe/cxgbe_ethdev.c | 9 ++++ drivers/net/e1000/e1000_ethdev.h | 36 ++++++++++++++ drivers/net/e1000/em_ethdev.c | 14 ++++++ drivers/net/e1000/em_rxtx.c | 71 ++++++++++++++++------------ drivers/net/e1000/igb_ethdev.c | 22 +++++++++ drivers/net/e1000/igb_rxtx.c | 66 +++++++++++++++++--------- drivers/net/fm10k/fm10k_ethdev.c | 11 +++++ drivers/net/i40e/i40e_ethdev.c | 14 ++++++ drivers/net/i40e/i40e_ethdev.h | 5 ++ drivers/net/i40e/i40e_ethdev_vf.c | 12 +++++ drivers/net/i40e/i40e_rxtx.c | 37 +++++++++++++++ drivers/net/ixgbe/ixgbe_ethdev.c | 23 +++++++++ drivers/net/ixgbe/ixgbe_ethdev.h | 6 +++ drivers/net/ixgbe/ixgbe_rxtx.c | 68 +++++++++++++++++---------- drivers/net/ixgbe/ixgbe_rxtx.h | 21 +++++++++ drivers/net/vmxnet3/vmxnet3_ethdev.c | 12 +++++ lib/librte_ether/rte_ethdev.c | 68 +++++++++++++++++++++++++++ lib/librte_ether/rte_ethdev.h | 85 +++++++++++++++++++++++++++++++++- lib/librte_ether/rte_ether_version.map | 8 ++++ 23 files changed, 642 insertions(+), 80 deletions(-) -- 1.8.5.3