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 CD70FB3BE for ; Thu, 25 Sep 2014 10:34:19 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 25 Sep 2014 01:34:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,595,1406617200"; d="scan'208";a="608343876" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 25 Sep 2014 01:40:32 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s8P8eUr6002289; Thu, 25 Sep 2014 16:40:30 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s8P8eR90000781; Thu, 25 Sep 2014 16:40:30 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s8P8eRso000777; Thu, 25 Sep 2014 16:40:27 +0800 From: Helin Zhang To: dev@dpdk.org Date: Thu, 25 Sep 2014 16:40:14 +0800 Message-Id: <1411634427-746-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH v2 00/13] support of multiple sizes of redirection table 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, 25 Sep 2014 08:34:28 -0000 As e1000, ixgbe and i40e hardware use different sizes of redirection table in PF or VF, ethdev and PMDs need to be reworked to support multiple sizes of that table. In addition, commands in testpmd also need to be reworked to support these changes. v2 changes: * Reorganize the patches. * Add code style fixes. * Add support of reta updating/querying in i40e VF. Helin Zhang (13): app/testpmd: code style fix i40evf: code style fix ethdev: add more annotation ethdev: support of multiple sizes of redirection table igb: add new function for VF ops of 'dev_infos_get' igb: rework of updating/querying reta ixgbe: add new function for VF ops of 'dev_infos_get' ixgbe: rework of updating/querying reta i40e: support of setting hash lookup table size i40e: support of getting redirection table size i40e: rework of updating/querying reta i40evf: support of updating/querying redirection table app/testpmd: rework of commands for updating/querying reta app/test-pmd/cmdline.c | 166 +++++++++++++++++++++++++---------- app/test-pmd/config.c | 37 ++++---- app/test-pmd/testpmd.h | 4 +- lib/librte_ether/rte_ethdev.c | 116 ++++++++++++++---------- lib/librte_ether/rte_ethdev.h | 46 ++++++---- lib/librte_pmd_e1000/igb_ethdev.c | 151 +++++++++++++++++-------------- lib/librte_pmd_i40e/i40e_ethdev.c | 108 ++++++++++++++--------- lib/librte_pmd_i40e/i40e_ethdev.h | 13 +++ lib/librte_pmd_i40e/i40e_ethdev_vf.c | 103 +++++++++++++++++++++- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 144 ++++++++++++++++++------------ 10 files changed, 598 insertions(+), 290 deletions(-) -- 1.8.1.4