[v3,00/14] introduces ppfe network PMD
mbox series

Message ID 20191001110209.6047-1-g.singh@nxp.com
Headers show
Series
  • introduces ppfe network PMD
Related show

Message

Gagandeep Singh Oct. 1, 2019, 11:01 a.m. UTC
This series introduces ppfe (programmable packet
forwarding engine) network poll mode driver for
NXP SoC ls1012a.

First patch of this series move OF library code from
dpaa bus to a common folder as PPFE also uses the
same library for getting information from the device
tree.
This patch is included in this series so that
compilation by CI don't break.

V2 Change-log:
* fix compilation break for clang3.4 and gcc 4.8
* fix checkpatch errors

V3 Change-log:
* Release notes updated for PPFE PMD
* Experimental APIs list added in Makefile and meson
* Dynamic logging added
* PPFE documentation is updated for kernel module "pfe.ko"
  and parameter "intf" is mentioned.
* of.h and of.c are renamed to dpaa_of.h and dpaa_of.c
* enable PPFE compilation only in 'common_armv8a_linux'
* PFE_CDEV_ETH_COUNT updated 2, as only 2 eth devices supported.
* Comment updated for "pfe_us_cdev" device
* functions prototype updated
* intf params value check added during parsing and unwanted
  port id checks removed.
* unwanted dev->data memcpy removed.
* munmap and rte_eth_dev_release_port added in error case
* atoi replaced with strtol
* add static to global variable g_pfe

Gagandeep Singh (13):
  net/ppfe: introduce ppfe net poll mode driver
  doc: add guide for ppfe net PMD
  net/ppfe: support dynamic logging
  net/ppfe: add HW specific macros and operations
  net/ppfe: add MAC and host interface initialisation
  net/ppfe: add device start stop operations
  net/ppfe: add queue setup and release operations
  net/ppfe: add burst enqueue and dequeue operations
  net/ppfe: add supported packet types and basic statistics
  net/ppfe: add MTU and MAC address set operations
  net/ppfe: add allmulticast and promiscuous
  net/ppfe: add link status update
  doc: add NXP PPFE PMD in release notes

Hemant Agrawal (1):
  common/dpaax: moving OF lib code from dpaa bus

 MAINTAINERS                                   |    7 +
 config/common_armv8a_linux                    |    5 +
 config/common_base                            |    5 +
 doc/guides/nics/features/ppfe.ini             |   17 +
 doc/guides/nics/index.rst                     |    1 +
 doc/guides/nics/ppfe.rst                      |  180 +++
 doc/guides/rel_notes/release_19_11.rst        |    5 +
 drivers/bus/dpaa/Makefile                     |    2 +-
 drivers/bus/dpaa/base/fman/fman.c             |    2 +-
 drivers/bus/dpaa/base/fman/netcfg_layer.c     |    2 +-
 drivers/bus/dpaa/base/qbman/dpaa_sys.h        |    3 +-
 drivers/bus/dpaa/dpaa_bus.c                   |    2 +-
 drivers/bus/dpaa/include/compat.h             |    1 -
 drivers/bus/dpaa/include/fman.h               |    1 +
 drivers/bus/dpaa/include/fsl_usd.h            |    1 +
 drivers/bus/dpaa/meson.build                  |    1 -
 drivers/bus/dpaa/rte_dpaa_bus.h               |    2 +-
 drivers/bus/fslmc/Makefile                    |    1 +
 drivers/common/dpaax/Makefile                 |   10 +-
 .../dpaa/include => common/dpaax}/dpaa_list.h |    0
 .../base/fman/of.c => common/dpaax/dpaa_of.c} |   63 +-
 .../include/of.h => common/dpaax/dpaa_of.h}   |   27 +-
 drivers/common/dpaax/dpaax_logs.h             |   10 +
 drivers/common/dpaax/meson.build              |    5 +-
 .../common/dpaax/rte_common_dpaax_version.map |   18 +
 drivers/crypto/caam_jr/Makefile               |    2 +
 drivers/crypto/caam_jr/caam_jr.c              |    2 +-
 drivers/crypto/dpaa2_sec/Makefile             |    2 +-
 drivers/crypto/dpaa_sec/Makefile              |    1 +
 drivers/crypto/dpaa_sec/dpaa_sec.c            |    2 +-
 drivers/event/dpaa/Makefile                   |    1 +
 drivers/event/dpaa2/Makefile                  |    1 +
 drivers/mempool/dpaa/Makefile                 |    1 +
 drivers/mempool/dpaa2/Makefile                |    1 +
 drivers/net/Makefile                          |    1 +
 drivers/net/dpaa/Makefile                     |    1 +
 drivers/net/dpaa/dpaa_ethdev.h                |    2 +-
 drivers/net/dpaa/dpaa_rxtx.c                  |    2 +-
 drivers/net/dpaa2/Makefile                    |    1 +
 drivers/net/meson.build                       |    1 +
 drivers/net/ppfe/Makefile                     |   38 +
 drivers/net/ppfe/base/cbus.h                  |   66 +
 drivers/net/ppfe/base/cbus/bmu.h              |   41 +
 drivers/net/ppfe/base/cbus/class_csr.h        |  277 ++++
 drivers/net/ppfe/base/cbus/emac_mtip.h        |  231 ++++
 drivers/net/ppfe/base/cbus/gpi.h              |   77 ++
 drivers/net/ppfe/base/cbus/hif.h              |   86 ++
 drivers/net/ppfe/base/cbus/hif_nocpy.h        |   36 +
 drivers/net/ppfe/base/cbus/tmu_csr.h          |  154 +++
 drivers/net/ppfe/base/cbus/util_csr.h         |   47 +
 drivers/net/ppfe/base/pfe.h                   |  422 ++++++
 drivers/net/ppfe/meson.build                  |   19 +
 drivers/net/ppfe/pfe_eth.h                    |   74 +
 drivers/net/ppfe/pfe_hal.c                    |  635 +++++++++
 drivers/net/ppfe/pfe_hif.c                    |  868 ++++++++++++
 drivers/net/ppfe/pfe_hif.h                    |  156 +++
 drivers/net/ppfe/pfe_hif_lib.c                |  576 ++++++++
 drivers/net/ppfe/pfe_hif_lib.h                |  181 +++
 drivers/net/ppfe/pfe_logs.h                   |   31 +
 drivers/net/ppfe/pfe_mod.h                    |   64 +
 drivers/net/ppfe/ppfe_ethdev.c                | 1186 +++++++++++++++++
 drivers/net/ppfe/rte_pmd_ppfe_version.map     |    4 +
 drivers/raw/dpaa2_cmdif/Makefile              |    1 +
 drivers/raw/dpaa2_qdma/Makefile               |    1 +
 mk/rte.app.mk                                 |    1 +
 65 files changed, 5610 insertions(+), 54 deletions(-)
 create mode 100644 doc/guides/nics/features/ppfe.ini
 create mode 100644 doc/guides/nics/ppfe.rst
 rename drivers/{bus/dpaa/include => common/dpaax}/dpaa_list.h (100%)
 rename drivers/{bus/dpaa/base/fman/of.c => common/dpaax/dpaa_of.c} (88%)
 rename drivers/{bus/dpaa/include/of.h => common/dpaax/dpaa_of.h} (86%)
 create mode 100644 drivers/net/ppfe/Makefile
 create mode 100644 drivers/net/ppfe/base/cbus.h
 create mode 100644 drivers/net/ppfe/base/cbus/bmu.h
 create mode 100644 drivers/net/ppfe/base/cbus/class_csr.h
 create mode 100644 drivers/net/ppfe/base/cbus/emac_mtip.h
 create mode 100644 drivers/net/ppfe/base/cbus/gpi.h
 create mode 100644 drivers/net/ppfe/base/cbus/hif.h
 create mode 100644 drivers/net/ppfe/base/cbus/hif_nocpy.h
 create mode 100644 drivers/net/ppfe/base/cbus/tmu_csr.h
 create mode 100644 drivers/net/ppfe/base/cbus/util_csr.h
 create mode 100644 drivers/net/ppfe/base/pfe.h
 create mode 100644 drivers/net/ppfe/meson.build
 create mode 100644 drivers/net/ppfe/pfe_eth.h
 create mode 100644 drivers/net/ppfe/pfe_hal.c
 create mode 100644 drivers/net/ppfe/pfe_hif.c
 create mode 100644 drivers/net/ppfe/pfe_hif.h
 create mode 100644 drivers/net/ppfe/pfe_hif_lib.c
 create mode 100644 drivers/net/ppfe/pfe_hif_lib.h
 create mode 100644 drivers/net/ppfe/pfe_logs.h
 create mode 100644 drivers/net/ppfe/pfe_mod.h
 create mode 100644 drivers/net/ppfe/ppfe_ethdev.c
 create mode 100644 drivers/net/ppfe/rte_pmd_ppfe_version.map