[dpdk-dev] [PATCH v10 00/22] NXP DPAA2 PMD

Hemant Agrawal hemant.agrawal at nxp.com
Fri Mar 24 14:35:16 CET 2017


This patches has been split from DPAA2 PMD v8 series [2] as per
comments received on ML [3].)

The patch series adds NXP’s QorIQ-Layerscape DPAA2 Architecture based
network SoC PMD.  This version of the driver supports NXP LS208xA,
LS204xA and LS108x families Network SoCs.

DPAA2, or Data Path Acceleration Architecture, is a hardware architecture
designed for high-speed network packet processing. It uses a bus name
‘fslmc’, part of Linux Kernel Staging tree [1], for resource management.

Dependency:
This patchset is to be applied over
a) NXP DPAA2 FSLMC Bus Patches [4] and
b) NXP DPAA2 Mempool patches [5]

Prerequisites:
 - For running the PMD, NXP's SoC (board) is required.
   Information about obtaining relevant software is available in the docs
   as part of the patch.

References:
[1] https://www.kernel.org/doc/readme/drivers-staging-fsl-mc-README.txt
[2] http://dpdk.org/ml/archives/dev/2017-March/059000.html
[3] http://dpdk.org/ml/archives/dev/2017-March/059789.html
[4] http://dpdk.org/ml/archives/dev/2017-March/061258.html
[5] http://dpdk.org/ml/archives/dev/2017-March/060476.html

---
v10:
* Rebased on next-net (b36be54c)
* Removing "-Wno-strict-alias" from makefile

v9:
* Split into three series: 1) for FSLMC Bus, 2) Mempool and 3) PMD
* Rebased over master (17.02, 630f6ec1)
* remove the eth_driver usages

v8:
* rebased over master (17.02: 35b09d76)
* Removed all drivers/common/* code and moved to drivers/bus/fslmc
* Updated documentation to remove non-open source dependency
* Reduced shared symbols in map files

v7:
* rebased over master (17.02)
* fix the shared lib compilation
* re partitiion the patches as per Ferruh comments.
* handling Ferruh's comment for NXP dpaa2 driver

v6:
* rebased over master (61207d0)
* removing DPAA2_COMMON as configurable option
* renaming drivers bus, pool libraries removing 'pmd'
* Headers of Licenses
* exposed variable renaming with *rte_*  prefix
* handling Ferruh's comment for NXP dpaa2 driver
* moving around MAINTAINER and DOC file patches

v5:
* rebased over master (6818a7f4)

v4:
* rebased over master (1feda4d8) and patches from Shreyansh [1] for Bus Arch.

v3:
* rebased over master (eac901ce2) and patches from Shreyansh [1] for Bus Arch.
* Fixed comment from John on Patch-0003 for documentation
* Removed Patch-0001 for rte_device in rte_eth_dev; Already upstreamed through
  another series

v2:
* separated the "fsl-mc" bus from the dpaa2 pmd driver - introduced drivers/bus
* separated the "dpaa2" hw mempool from dpaa2 pmd driver - introduced drivers/pool
* removed documentation warnings and missing information.
* removed arm64 part specific code from driver
* changed rte_panic to errors
* reduced checkpatch warnings

Hemant Agrawal (22):
  net/dpaa2: introducing NXP DPAA2 PMD driver
  doc: add DPAA2 NIC details
  net/dpaa2: add debug log support
  config: enable support for DPAA2 debug logging
  net/dpaa2: add mc dpni object support
  net/dpaa2: adding eth ops to dpaa2
  net/dpaa2: add RSS flow distribution
  net/dpaa2: configure MAC address at init
  net/dpaa2: attach the buffer pool to dpni
  net/dpaa2: add support for L3 and L4 checksum offload
  net/dpaa2: add support for promiscuous mode
  net/dpaa2: add MTU configuration support
  net/dpaa2: enable packet Rx and Tx operations
  net/dpaa2: support for Rx packet parsing and packet type
  net/dpaa2: link status update
  net/dpaa2: basic stats support
  net/dpaa2: enable stashing for LS2088A devices
  net/dpaa2: handle non-hardware backed buffer pool
  net/dpaa2: enable physical addressing for packet buffers
  config: add configuration for toggling physical addressing
  net/dpaa2: enable DMA Mapping during device scanning
  net/dpaa2: enable frame queue based dequeuing

 MAINTAINERS                                  |    3 +
 config/common_base                           |   11 +
 config/defconfig_arm64-dpaa2-linuxapp-gcc    |   11 +
 doc/guides/nics/dpaa2.rst                    |  614 +++++++++++++
 doc/guides/nics/features/dpaa2.ini           |   18 +
 doc/guides/nics/index.rst                    |    1 +
 doc/guides/rel_notes/release_17_05.rst       |   11 +
 drivers/net/Makefile                         |    1 +
 drivers/net/dpaa2/Makefile                   |   76 ++
 drivers/net/dpaa2/base/dpaa2_hw_dpni.c       |  344 ++++++++
 drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h |  257 ++++++
 drivers/net/dpaa2/dpaa2_ethdev.c             | 1035 ++++++++++++++++++++++
 drivers/net/dpaa2/dpaa2_ethdev.h             |   83 ++
 drivers/net/dpaa2/dpaa2_rxtx.c               |  422 +++++++++
 drivers/net/dpaa2/mc/dpni.c                  |  739 ++++++++++++++++
 drivers/net/dpaa2/mc/fsl_dpkg.h              |  184 ++++
 drivers/net/dpaa2/mc/fsl_dpni.h              | 1217 ++++++++++++++++++++++++++
 drivers/net/dpaa2/mc/fsl_dpni_cmd.h          |  334 +++++++
 drivers/net/dpaa2/mc/fsl_net.h               |  487 +++++++++++
 drivers/net/dpaa2/rte_pmd_dpaa2_version.map  |    4 +
 mk/rte.app.mk                                |    6 +
 21 files changed, 5858 insertions(+)
 create mode 100644 doc/guides/nics/dpaa2.rst
 create mode 100644 doc/guides/nics/features/dpaa2.ini
 create mode 100644 drivers/net/dpaa2/Makefile
 create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni.c
 create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h
 create mode 100644 drivers/net/dpaa2/dpaa2_ethdev.c
 create mode 100644 drivers/net/dpaa2/dpaa2_ethdev.h
 create mode 100644 drivers/net/dpaa2/dpaa2_rxtx.c
 create mode 100644 drivers/net/dpaa2/mc/dpni.c
 create mode 100644 drivers/net/dpaa2/mc/fsl_dpkg.h
 create mode 100644 drivers/net/dpaa2/mc/fsl_dpni.h
 create mode 100644 drivers/net/dpaa2/mc/fsl_dpni_cmd.h
 create mode 100644 drivers/net/dpaa2/mc/fsl_net.h
 create mode 100644 drivers/net/dpaa2/rte_pmd_dpaa2_version.map

-- 
1.9.1



More information about the dev mailing list