From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 5BF336A80 for ; Tue, 27 Oct 2015 13:52:22 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 27 Oct 2015 05:52:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,205,1444719600"; d="scan'208";a="836532050" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 27 Oct 2015 05:52:20 -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 t9RCqIe2028725; Tue, 27 Oct 2015 12:52:18 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t9RCqInG020552; Tue, 27 Oct 2015 12:52:18 GMT Received: (from kananye1@localhost) by sivswdev02.ir.intel.com with id t9RCqHe7020548; Tue, 27 Oct 2015 12:52:17 GMT From: Konstantin Ananyev To: dev@dpdk.org Date: Tue, 27 Oct 2015 12:51:42 +0000 Message-Id: <1445950311-20497-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1445515592-25920-2-git-send-email-konstantin.ananyev@intel.com> References: <1445515592-25920-2-git-send-email-konstantin.ananyev@intel.com> Subject: [dpdk-dev] [PATCHv7 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: Tue, 27 Oct 2015 12:52:22 -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, section "New Features" v7 changes: - update release notes, sections: "API Changes", "ABI Changes" 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 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 testpmd: add new command to display RX/TX queue information doc: release notes update for queue_info_get() and (rx|tx)_desc_limit 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 | 13 ++++++ 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, 648 insertions(+), 80 deletions(-) -- 1.8.5.3