[dpdk-dev] [PATCH v2 00/27] Add i40e PMD support

Zhu, Heqing heqing.zhu at intel.com
Thu Jun 5 10:36:31 CEST 2014


Acked-by: Heqing Zhu <heqing.zhu at intel.com>

-----Original Message-----
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Helin Zhang
Sent: Thursday, June 05, 2014 1:09 PM
To: dev at 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 performed basic function test on PF and VF.
All cases are passed.
  Total cases  Passed  Failed
          138     138       0

Signed-off-by: Helin Zhang <helin.zhang at intel.com>
Signed-off-by: Jing Chen <jing.d.chen at intel.com>
Acked-by: Cunming Liang <cunming.liang at intel.com>
Acked-by: Jijiang Liu <jijiang.liu at intel.com>
Acked-by: Jingjing Wu <jingjing.wu at intel.com>
Tested-by: Waterman Cao <waterman.cao at intel.com>
---
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 lib/librte_pmd_i40e/i40e_ethdev.h  create mode 100644 lib/librte_pmd_i40e/i40e_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 lib/librte_pmd_i40e/i40e_rxtx.h

--
1.8.1.4



More information about the dev mailing list