From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 34644ADA4 for ; Wed, 4 Feb 2015 08:16:44 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 03 Feb 2015 23:10:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,517,1418112000"; d="scan'208";a="647067104" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 03 Feb 2015 23:16:42 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t147Gbr9012924; Wed, 4 Feb 2015 15:16:37 +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 t147GZZC027000; Wed, 4 Feb 2015 15:16:37 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t147GZto026996; Wed, 4 Feb 2015 15:16:35 +0800 From: Helin Zhang To: dev@dpdk.org Date: Wed, 4 Feb 2015 15:16:26 +0800 Message-Id: <1423034193-26966-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1421650577-25969-1-git-send-email-helin.zhang@intel.com> References: <1421650577-25969-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/7] unified flow types and RSS offload types 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: Wed, 04 Feb 2015 07:16:44 -0000 It unifies the flow types and RSS offload types for all PMDs. Previously flow types are defined specifically for i40e, and there has different RSS offloads tyeps for 1/10G and 40G seperately. This is not so convenient for application development, and not good for adding new PMDs. In addition, it enables new RSS offloads of 'tcp' and 'all' in testpmd. v2 changes: * Integrated with configuring hash functions. * Corrected the wrong help string of flow director parameters. * Renamed the flow types from ETH_FLOW_TYPE_ to RTE_ETH_FLOW_. * Removed useless annotations for flow type elements in rte_eth_ctrl.h. Helin Zhang (7): app/test-pmd: code style fix ethdev: code style fix i40e: code style fix ethdev: fix of calculating the size of flow type mask array ethdev: unification of flow types ethdev: unification of RSS offload types app/testpmd: support new rss offloads app/test-pipeline/init.c | 2 +- app/test-pmd/cmdline.c | 154 +++++++++++++++++++----------- app/test-pmd/config.c | 137 +++++++++++++++++--------- examples/distributor/main.c | 9 +- examples/ip_pipeline/init.c | 2 +- examples/l3fwd-acl/main.c | 7 +- lib/librte_ether/rte_eth_ctrl.h | 94 ++++++++++-------- lib/librte_ether/rte_ethdev.h | 147 ++++++++++++---------------- lib/librte_pmd_e1000/e1000_ethdev.h | 11 +++ lib/librte_pmd_e1000/igb_ethdev.c | 1 + lib/librte_pmd_e1000/igb_rxtx.c | 27 ++---- lib/librte_pmd_i40e/i40e_ethdev.c | 164 +++++++++++++++++--------------- lib/librte_pmd_i40e/i40e_ethdev.h | 52 +++++----- lib/librte_pmd_i40e/i40e_ethdev_vf.c | 1 + lib/librte_pmd_i40e/i40e_fdir.c | 99 ++++++++++--------- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 1 + lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 11 +++ lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 27 ++---- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 1 + lib/librte_pmd_vmxnet3/vmxnet3_ethdev.h | 6 ++ lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 10 +- 21 files changed, 525 insertions(+), 438 deletions(-) -- 1.9.3