mbox series

[v5,00/35] Marvell CNXK Event device Driver

Message ID 20210504002726.525-1-pbhagavatula@marvell.com (mailing list archive)
Headers show
Series Marvell CNXK Event device Driver | expand

Message

Pavan Nikhilesh Bhagavatula May 4, 2021, 12:26 a.m. UTC
From: Pavan Nikhilesh <pbhagavatula@marvell.com>

This patchset adds support for Marvell CN106XX SoC based on 'common/cnxk'
driver. In future, CN9K a.k.a octeontx2 will also be supported by same
driver when code is ready and 'event/octeontx2' will be deprecated.

v5 Changes:
- Update inline asm extension prefix.

v4 Changes:
- s/PCI_ANY_ID/RTE_PCI_ANY_ID.
- Remove dependency on net_cnxk
- Fix compilation issues with xstats patch.

v3 Changes:
- Fix documentation, copyright.
- Update release notes.

v2 Changes:
- Split Rx/Tx adapter into seperate patch set to remove dependency on net/cnxk
- Add missing xStats patch.
- Fix incorrect head wait operation.

Pavan Nikhilesh (18):
  common/cnxk: rename deprecated constant
  common/cnxk: update inline asm prefix
  event/cnxk: add build infra and device setup
  event/cnxk: add platform specific device probe
  event/cnxk: add common configuration validation
  event/cnxk: allocate event inflight buffers
  event/cnxk: add devargs to configure getwork mode
  event/cnxk: add SSO HW device operations
  event/cnxk: add SSO GWS fastpath enqueue functions
  event/cnxk: add SSO GWS dequeue fastpath functions
  event/cnxk: add SSO selftest and dump
  event/cnxk: add event port and queue xstats
  event/cnxk: add devargs to disable NPA
  event/cnxk: allow adapters to resize inflights
  event/cnxk: add TIM bucket operations
  event/cnxk: add timer arm routine
  event/cnxk: add timer arm timeout burst
  event/cnxk: add timer cancel function

Shijith Thotton (17):
  event/cnxk: add device capabilities function
  event/cnxk: add platform specific device config
  event/cnxk: add event queue config functions
  event/cnxk: add devargs for inflight buffer count
  event/cnxk: add devargs to control SSO HWGRP QoS
  event/cnxk: add port config functions
  event/cnxk: add event port link and unlink
  event/cnxk: add device start function
  event/cnxk: add device stop and close functions
  event/cnxk: support event timer
  event/cnxk: add timer adapter capabilities
  event/cnxk: create and free timer adapter
  event/cnxk: add timer adapter info function
  event/cnxk: add devargs for chunk size and rings
  event/cnxk: add timer stats get and reset
  event/cnxk: add timer adapter start and stop
  event/cnxk: add devargs to control timer adapters

 MAINTAINERS                                 |    6 +
 app/test/test_eventdev.c                    |   14 +
 doc/guides/eventdevs/cnxk.rst               |  162 ++
 doc/guides/eventdevs/index.rst              |    1 +
 doc/guides/rel_notes/release_21_05.rst      |    2 +
 drivers/common/cnxk/roc_platform.h          |   33 +-
 drivers/common/cnxk/roc_sso.c               |   63 +
 drivers/common/cnxk/roc_sso.h               |   19 +
 drivers/common/cnxk/version.map             |    2 +
 drivers/event/cnxk/cn10k_eventdev.c         |  509 ++++++
 drivers/event/cnxk/cn10k_worker.c           |  115 ++
 drivers/event/cnxk/cn10k_worker.h           |  175 +++
 drivers/event/cnxk/cn9k_eventdev.c          |  578 +++++++
 drivers/event/cnxk/cn9k_worker.c            |  236 +++
 drivers/event/cnxk/cn9k_worker.h            |  297 ++++
 drivers/event/cnxk/cnxk_eventdev.c          |  647 ++++++++
 drivers/event/cnxk/cnxk_eventdev.h          |  253 +++
 drivers/event/cnxk/cnxk_eventdev_adptr.c    |   67 +
 drivers/event/cnxk/cnxk_eventdev_selftest.c | 1570 +++++++++++++++++++
 drivers/event/cnxk/cnxk_eventdev_stats.c    |  289 ++++
 drivers/event/cnxk/cnxk_tim_evdev.c         |  538 +++++++
 drivers/event/cnxk/cnxk_tim_evdev.h         |  275 ++++
 drivers/event/cnxk/cnxk_tim_worker.c        |  191 +++
 drivers/event/cnxk/cnxk_tim_worker.h        |  601 +++++++
 drivers/event/cnxk/cnxk_worker.h            |  101 ++
 drivers/event/cnxk/meson.build              |   23 +
 drivers/event/cnxk/version.map              |    3 +
 drivers/event/meson.build                   |    1 +
 28 files changed, 6755 insertions(+), 16 deletions(-)
 create mode 100644 doc/guides/eventdevs/cnxk.rst
 create mode 100644 drivers/event/cnxk/cn10k_eventdev.c
 create mode 100644 drivers/event/cnxk/cn10k_worker.c
 create mode 100644 drivers/event/cnxk/cn10k_worker.h
 create mode 100644 drivers/event/cnxk/cn9k_eventdev.c
 create mode 100644 drivers/event/cnxk/cn9k_worker.c
 create mode 100644 drivers/event/cnxk/cn9k_worker.h
 create mode 100644 drivers/event/cnxk/cnxk_eventdev.c
 create mode 100644 drivers/event/cnxk/cnxk_eventdev.h
 create mode 100644 drivers/event/cnxk/cnxk_eventdev_adptr.c
 create mode 100644 drivers/event/cnxk/cnxk_eventdev_selftest.c
 create mode 100644 drivers/event/cnxk/cnxk_eventdev_stats.c
 create mode 100644 drivers/event/cnxk/cnxk_tim_evdev.c
 create mode 100644 drivers/event/cnxk/cnxk_tim_evdev.h
 create mode 100644 drivers/event/cnxk/cnxk_tim_worker.c
 create mode 100644 drivers/event/cnxk/cnxk_tim_worker.h
 create mode 100644 drivers/event/cnxk/cnxk_worker.h
 create mode 100644 drivers/event/cnxk/meson.build
 create mode 100644 drivers/event/cnxk/version.map

--
2.17.1

Comments

Jerin Jacob May 4, 2021, 8:30 a.m. UTC | #1
On Tue, May 4, 2021 at 5:58 AM <pbhagavatula@marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> This patchset adds support for Marvell CN106XX SoC based on 'common/cnxk'
> driver. In future, CN9K a.k.a octeontx2 will also be supported by same
> driver when code is ready and 'event/octeontx2' will be deprecated.



Series applied to dpdk-next-eventdev/for-main. Thanks.



> v5 Changes:
> - Update inline asm extension prefix.
>
> v4 Changes:
> - s/PCI_ANY_ID/RTE_PCI_ANY_ID.
> - Remove dependency on net_cnxk
> - Fix compilation issues with xstats patch.
>
> v3 Changes:
> - Fix documentation, copyright.
> - Update release notes.
>
> v2 Changes:
> - Split Rx/Tx adapter into seperate patch set to remove dependency on net/cnxk
> - Add missing xStats patch.
> - Fix incorrect head wait operation.
>
> Pavan Nikhilesh (18):
>   common/cnxk: rename deprecated constant
>   common/cnxk: update inline asm prefix
>   event/cnxk: add build infra and device setup
>   event/cnxk: add platform specific device probe
>   event/cnxk: add common configuration validation
>   event/cnxk: allocate event inflight buffers
>   event/cnxk: add devargs to configure getwork mode
>   event/cnxk: add SSO HW device operations
>   event/cnxk: add SSO GWS fastpath enqueue functions
>   event/cnxk: add SSO GWS dequeue fastpath functions
>   event/cnxk: add SSO selftest and dump
>   event/cnxk: add event port and queue xstats
>   event/cnxk: add devargs to disable NPA
>   event/cnxk: allow adapters to resize inflights
>   event/cnxk: add TIM bucket operations
>   event/cnxk: add timer arm routine
>   event/cnxk: add timer arm timeout burst
>   event/cnxk: add timer cancel function
>
> Shijith Thotton (17):
>   event/cnxk: add device capabilities function
>   event/cnxk: add platform specific device config
>   event/cnxk: add event queue config functions
>   event/cnxk: add devargs for inflight buffer count
>   event/cnxk: add devargs to control SSO HWGRP QoS
>   event/cnxk: add port config functions
>   event/cnxk: add event port link and unlink
>   event/cnxk: add device start function
>   event/cnxk: add device stop and close functions
>   event/cnxk: support event timer
>   event/cnxk: add timer adapter capabilities
>   event/cnxk: create and free timer adapter
>   event/cnxk: add timer adapter info function
>   event/cnxk: add devargs for chunk size and rings
>   event/cnxk: add timer stats get and reset
>   event/cnxk: add timer adapter start and stop
>   event/cnxk: add devargs to control timer adapters
>
>  MAINTAINERS                                 |    6 +
>  app/test/test_eventdev.c                    |   14 +
>  doc/guides/eventdevs/cnxk.rst               |  162 ++
>  doc/guides/eventdevs/index.rst              |    1 +
>  doc/guides/rel_notes/release_21_05.rst      |    2 +
>  drivers/common/cnxk/roc_platform.h          |   33 +-
>  drivers/common/cnxk/roc_sso.c               |   63 +
>  drivers/common/cnxk/roc_sso.h               |   19 +
>  drivers/common/cnxk/version.map             |    2 +
>  drivers/event/cnxk/cn10k_eventdev.c         |  509 ++++++
>  drivers/event/cnxk/cn10k_worker.c           |  115 ++
>  drivers/event/cnxk/cn10k_worker.h           |  175 +++
>  drivers/event/cnxk/cn9k_eventdev.c          |  578 +++++++
>  drivers/event/cnxk/cn9k_worker.c            |  236 +++
>  drivers/event/cnxk/cn9k_worker.h            |  297 ++++
>  drivers/event/cnxk/cnxk_eventdev.c          |  647 ++++++++
>  drivers/event/cnxk/cnxk_eventdev.h          |  253 +++
>  drivers/event/cnxk/cnxk_eventdev_adptr.c    |   67 +
>  drivers/event/cnxk/cnxk_eventdev_selftest.c | 1570 +++++++++++++++++++
>  drivers/event/cnxk/cnxk_eventdev_stats.c    |  289 ++++
>  drivers/event/cnxk/cnxk_tim_evdev.c         |  538 +++++++
>  drivers/event/cnxk/cnxk_tim_evdev.h         |  275 ++++
>  drivers/event/cnxk/cnxk_tim_worker.c        |  191 +++
>  drivers/event/cnxk/cnxk_tim_worker.h        |  601 +++++++
>  drivers/event/cnxk/cnxk_worker.h            |  101 ++
>  drivers/event/cnxk/meson.build              |   23 +
>  drivers/event/cnxk/version.map              |    3 +
>  drivers/event/meson.build                   |    1 +
>  28 files changed, 6755 insertions(+), 16 deletions(-)
>  create mode 100644 doc/guides/eventdevs/cnxk.rst
>  create mode 100644 drivers/event/cnxk/cn10k_eventdev.c
>  create mode 100644 drivers/event/cnxk/cn10k_worker.c
>  create mode 100644 drivers/event/cnxk/cn10k_worker.h
>  create mode 100644 drivers/event/cnxk/cn9k_eventdev.c
>  create mode 100644 drivers/event/cnxk/cn9k_worker.c
>  create mode 100644 drivers/event/cnxk/cn9k_worker.h
>  create mode 100644 drivers/event/cnxk/cnxk_eventdev.c
>  create mode 100644 drivers/event/cnxk/cnxk_eventdev.h
>  create mode 100644 drivers/event/cnxk/cnxk_eventdev_adptr.c
>  create mode 100644 drivers/event/cnxk/cnxk_eventdev_selftest.c
>  create mode 100644 drivers/event/cnxk/cnxk_eventdev_stats.c
>  create mode 100644 drivers/event/cnxk/cnxk_tim_evdev.c
>  create mode 100644 drivers/event/cnxk/cnxk_tim_evdev.h
>  create mode 100644 drivers/event/cnxk/cnxk_tim_worker.c
>  create mode 100644 drivers/event/cnxk/cnxk_tim_worker.h
>  create mode 100644 drivers/event/cnxk/cnxk_worker.h
>  create mode 100644 drivers/event/cnxk/meson.build
>  create mode 100644 drivers/event/cnxk/version.map
>
> --
> 2.17.1
>