From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id ADF23594E for ; Thu, 5 Jun 2014 10:36:22 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 05 Jun 2014 01:36:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,979,1392192000"; d="scan'208";a="441164844" Received: from fmsmsx104.amr.corp.intel.com ([10.19.9.35]) by azsmga001.ch.intel.com with ESMTP; 05 Jun 2014 01:36:33 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX104.amr.corp.intel.com (10.19.9.35) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 5 Jun 2014 01:36:33 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 5 Jun 2014 01:36:33 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.192]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.7]) with mapi id 14.03.0123.003; Thu, 5 Jun 2014 16:36:31 +0800 From: "Zhu, Heqing" To: "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 00/27] Add i40e PMD support Thread-Index: AQHPgHyvLPKUM6yejUepsjqZ+rbElptiMVyw Date: Thu, 5 Jun 2014 08:36:31 +0000 Message-ID: References: <1401944951-23783-1-git-send-email-helin.zhang@intel.com> In-Reply-To: <1401944951-23783-1-git-send-email-helin.zhang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 00/27] Add i40e PMD support 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, 05 Jun 2014 08:36:23 -0000 Acked-by: Heqing Zhu -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Helin Zhang Sent: Thursday, June 05, 2014 1:09 PM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH v2 00/27] Add i40e PMD support Summary: The 2nd version of series of patches are to add i40e PMD support. It contains the updated basic shared code, and some other enhancements. It adds the support of the latest version of firmware. * Add new PMD driver of i40e in the folder of librte_pmd_i40e * Add some neccessary definitions, changes in rte_mbuf.h and eth_dev * Add new configurations for i40e * Add or modifiy makefiles to support i40e compilation * Add neccessary changes in ixgbe, e1000 and vmxnet3 PMD, as hash flags has been enlarged from 16 bits to 64 bits to support i40e * Add neccessary changes in example applications and testpmd to use ETH_RSS_IP to replace all IP hash flags, as i40e introduced more hash flags. * Add command in testpmd for port based vlan insertion offload testing * Add neccessary changes in eth_dev to support configuring maximum packet length of less than 1518 * Add two sys files in igb_uio to support enabling/disabling 'Extended Tag' and resetting 'Max Read Request Size', as it has big impacts on i40e performance * Add neccessary changes in pci to read/write the above two sys files during probing PCI Features/enhancements to be implemented later: * Set link speed, and physically up/down * Double VLAN support, flow director, VMDq and DCB * VLAN insertion/stripping, RSS in VF Validation Summary: This patch includes 27 files, and has been tested by Intel(R). Please see test environment information as the following: * Fedora 20 x86_64 * Linux Kernel 3.11.10-301 * GCC 4.8.2 * Intel Xeon CPU E5-2680 v2 @ 2.80GHz We verified this patch with two NICs (i40e 4x10 SFP+, i40e 2x40G), and perf= ormed basic function test on PF and VF. All cases are passed. Total cases Passed Failed 138 138 0 Signed-off-by: Helin Zhang Signed-off-by: Jing Chen Acked-by: Cunming Liang Acked-by: Jijiang Liu Acked-by: Jingjing Wu Tested-by: Waterman Cao --- Helin Zhang (27): i40e: add basic shared code i40e: add PMD source files pci: add macros and pci device IDs to support i40e igb_uio: add i40e support mbuf: add new packet flags for i40e ethdev: add i40e support ethdev: support setting maximum packet length to less than 1518 vmxnet3: enlarge the hash flags of RSS to 64 bits ixgbe: enlarge the hash flags of RSS to 64 bits igb: enlarge the hash flags of RSS to 64 bits mk: add i40e support config: add configurations for i40e app/test-pmd: support displaying 32 bytes RX descriptors app/test-pmd: add command of 'tx_vlan set pvid port_id vlan_id (on|off)' app/testpmd: enlarge the hash flags of RSS to 64 bits app/test-pmd: add L3 packet type in offload flags examples/dpdk_qat: use ETH_RSS_IP to replace IP hash flags of RSS examples/ip_reassembly: use ETH_RSS_IP to replace IP hash flags of RSS examples/l3fwd-power: use ETH_RSS_IP to replace IP hash flags of RSS examples/l3fwd-vf: use ETH_RSS_IP to replace IP hash flags of RSS examples/l3fwd: use ETH_RSS_IP to replace IP hash flags of RSS examples/load_balancer: use ETH_RSS_IP to replace IP hash flags of RSS examples/multi_process: use ETH_RSS_IP to replace IP hash flags of RSS examples/qos_meter: use ETH_RSS_IP to replace IP hash flags of RSS igb_uio: add sys files to read/write specific bits in pci config space pci: support reading/writing sys files of 'extended_tag' and 'max_read_request_size' config: add configurations for enabling 'Extended Tag' or resetting 'Max Read Request Size' app/test-pmd/cmdline.c | 65 +- app/test-pmd/config.c | 45 +- app/test-pmd/csumonly.c | 2 + app/test-pmd/parameters.c | 5 +- app/test-pmd/testpmd.c | 2 +- app/test-pmd/testpmd.h | 4 +- config/common_bsdapp | 20 + config/common_linuxapp | 30 + examples/dpdk_qat/main.c | 2 +- examples/ip_reassembly/main.c | 2 +- examples/l3fwd-power/main.c | 2 +- examples/l3fwd-vf/main.c | 2 +- examples/l3fwd/main.c | 2 +- examples/load_balancer/init.c | 2 +- examples/multi_process/symmetric_mp/main.c | 2 +- examples/qos_meter/main.c | 2 +- lib/Makefile | 1 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 44 + lib/librte_eal/linuxapp/eal/eal_pci.c | 99 + lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 107 + lib/librte_ether/rte_ethdev.c | 25 +- lib/librte_ether/rte_ethdev.h | 154 +- lib/librte_ether/rte_ether.h | 24 + lib/librte_mbuf/rte_mbuf.h | 8 + lib/librte_pmd_e1000/igb_rxtx.c | 21 +- lib/librte_pmd_i40e/Makefile | 85 + lib/librte_pmd_i40e/i40e/i40e_adminq.c | 1103 ++ lib/librte_pmd_i40e/i40e/i40e_adminq.h | 158 + lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 2179 ++++ lib/librte_pmd_i40e/i40e/i40e_alloc.h | 65 + lib/librte_pmd_i40e/i40e/i40e_common.c | 4846 +++++++++ lib/librte_pmd_i40e/i40e/i40e_dcb.c | 1104 ++ lib/librte_pmd_i40e/i40e/i40e_dcb.h | 264 + lib/librte_pmd_i40e/i40e/i40e_diag.c | 188 + lib/librte_pmd_i40e/i40e/i40e_diag.h | 61 + lib/librte_pmd_i40e/i40e/i40e_hmc.c | 373 + lib/librte_pmd_i40e/i40e/i40e_hmc.h | 244 + lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c | 1616 +++ lib/librte_pmd_i40e/i40e/i40e_lan_hmc.h | 214 + lib/librte_pmd_i40e/i40e/i40e_nvm.c | 942 ++ lib/librte_pmd_i40e/i40e/i40e_osdep.h | 197 + lib/librte_pmd_i40e/i40e/i40e_prototype.h | 435 + lib/librte_pmd_i40e/i40e/i40e_register.h | 3377 ++++++ lib/librte_pmd_i40e/i40e/i40e_register_x710_int.h | 10712 ++++++++++++++++= ++++ lib/librte_pmd_i40e/i40e/i40e_status.h | 107 + lib/librte_pmd_i40e/i40e/i40e_type.h | 1462 +++ lib/librte_pmd_i40e/i40e/i40e_virtchnl.h | 373 + lib/librte_pmd_i40e/i40e_ethdev.c | 4019 ++++++++ lib/librte_pmd_i40e/i40e_ethdev.h | 356 + lib/librte_pmd_i40e/i40e_ethdev_vf.c | 1336 +++ lib/librte_pmd_i40e/i40e_logs.h | 74 + lib/librte_pmd_i40e/i40e_pf.c | 928 ++ lib/librte_pmd_i40e/i40e_pf.h | 67 + lib/librte_pmd_i40e/i40e_rxtx.c | 2204 ++++ lib/librte_pmd_i40e/i40e_rxtx.h | 189 + lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 22 +- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 16 +- mk/rte.app.mk | 4 + 58 files changed, 39936 insertions(+), 56 deletions(-) create mode 100644= lib/librte_pmd_i40e/Makefile create mode 100644 lib/librte_pmd_i40e/i40e/= i40e_adminq.c create mode 100644 lib/librte_pmd_i40e/i40e/i40e_adminq.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_alloc.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_common.c create mode 100644 lib/librte_pmd_i40e/i40e/i40e_dcb.c create mode 100644 lib/librte_pmd_i40e/i40e/i40e_dcb.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_diag.c create mode 100644 lib/librte_pmd_i40e/i40e/i40e_diag.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_hmc.c create mode 100644 lib/librte_pmd_i40e/i40e/i40e_hmc.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c create mode 100644 lib/librte_pmd_i40e/i40e/i40e_lan_hmc.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_nvm.c create mode 100644 lib/librte_pmd_i40e/i40e/i40e_osdep.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_prototype.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_register.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_register_x710_int.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_status.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_type.h create mode 100644 lib/librte_pmd_i40e/i40e/i40e_virtchnl.h create mode 100644 lib/librte_pmd_i40e/i40e_ethdev.c create mode 100644 l= ib/librte_pmd_i40e/i40e_ethdev.h create mode 100644 lib/librte_pmd_i40e/i4= 0e_ethdev_vf.c create mode 100644 lib/librte_pmd_i40e/i40e_logs.h create mode 100644 lib= /librte_pmd_i40e/i40e_pf.c create mode 100644 lib/librte_pmd_i40e/i40e_pf.= h create mode 100644 lib/librte_pmd_i40e/i40e_rxtx.c create mode 100644 l= ib/librte_pmd_i40e/i40e_rxtx.h -- 1.8.1.4