DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhu, Heqing" <heqing.zhu@intel.com>
To: "Zhang, Helin" <helin.zhang@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2 00/27] Add i40e PMD support
Date: Thu, 5 Jun 2014 08:36:31 +0000	[thread overview]
Message-ID: <CAD16F236028A64DBBC0158B1636EA4510EB5568@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <1401944951-23783-1-git-send-email-helin.zhang@intel.com>

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

-----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 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@intel.com>
Signed-off-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Tested-by: Waterman Cao <waterman.cao@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

  parent reply	other threads:[~2014-06-05  8:36 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05  5:08 Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 01/27] i40e: add basic shared code Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 02/27] i40e: add PMD source files Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 03/27] pci: add macros and pci device IDs to support i40e Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 04/27] igb_uio: add i40e support Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 05/27] mbuf: add new packet flags for i40e Helin Zhang
2014-06-05 15:30   ` Stephen Hemminger
     [not found]     ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A735ACB@SHSMSX104.ccr.corp.intel.com>
2014-06-12  1:38       ` Zhang, Helin
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 06/27] ethdev: add i40e support Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 07/27] ethdev: support setting maximum packet length to less than 1518 Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 08/27] vmxnet3: enlarge the hash flags of RSS to 64 bits Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 09/27] ixgbe: " Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 10/27] igb: " Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 11/27] mk: add i40e support Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 12/27] config: add configurations for i40e Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 13/27] app/test-pmd: support displaying 32 bytes RX descriptors Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 14/27] app/test-pmd: add command of 'tx_vlan set pvid port_id vlan_id (on|off)' Helin Zhang
2014-06-05  5:08 ` [dpdk-dev] [PATCH v2 15/27] app/testpmd: enlarge the hash flags of RSS to 64 bits Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 16/27] app/test-pmd: add L3 packet type in offload flags Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 17/27] examples/dpdk_qat: use ETH_RSS_IP to replace IP hash flags of RSS Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 18/27] examples/ip_reassembly: " Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 19/27] examples/l3fwd-power: " Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 20/27] examples/l3fwd-vf: " Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 21/27] examples/l3fwd: " Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 22/27] examples/load_balancer: " Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 23/27] examples/multi_process: " Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 24/27] examples/qos_meter: " Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 25/27] igb_uio: add sys files to read/write specific bits in pci config space Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 26/27] pci: support reading/writing sys files of 'extended_tag' and 'max_read_request_size' Helin Zhang
2014-06-05  5:09 ` [dpdk-dev] [PATCH v2 27/27] config: add configurations for enabling 'Extended Tag' or resetting 'Max Read Request Size' Helin Zhang
2014-06-05  8:36 ` Zhu, Heqing [this message]
2014-06-17 16:27 ` [dpdk-dev] [PATCH v2 00/27] Add i40e PMD support Thomas Monjalon
2014-06-18  8:51   ` Zhang, Helin
2014-06-18  9:23     ` Thomas Monjalon
2014-06-19  6:24       ` Zhang, Helin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD16F236028A64DBBC0158B1636EA4510EB5568@SHSMSX104.ccr.corp.intel.com \
    --to=heqing.zhu@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).