Skip to content

Add cnxk_gpio

Tomasz Duszynski dpdk-dev 6 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest11 patches 3 repliesApplied
  2. v511 patches 1 replySuperseded
  3. v411 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v310 patches0 repliesSuperseded
v210 patches0 repliesSuperseded
v110 patches1 replySuperseded

Changes in v6 from the cover letter

- update MAINTAINERS

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/11raw/cnxk_gpio: add GPIO driver skeletonMAINTAINERS doc/guides/platform/cnxk.rst doc/guides/rawdevs/cnxk_gpio.rst +7 more+366 -02 replies
2/11raw/cnxk_gpio: support reading default queue confdrivers/raw/cnxk_gpio/cnxk_gpio.c+19 -00 replies
3/11raw/cnxk_gpio: support reading queue countdrivers/raw/cnxk_gpio/cnxk_gpio.c+9 -00 replies
4/11raw/cnxk_gpio: support queue setupdrivers/raw/cnxk_gpio/cnxk_gpio.c+82 -20 replies
5/11raw/cnxk_gpio: support queue releasedrivers/raw/cnxk_gpio/cnxk_gpio.c+34 -00 replies
6/11raw/cnxk_gpio: support enqueuing buffersdrivers/raw/cnxk_gpio/cnxk_gpio.c drivers/raw/cnxk_gpio/cnxk_gpio.h drivers/raw/cnxk_gpio/meson.build +1 more+87 -00 replies
7/11raw/cnxk_gpio: support dequeuing buffersdrivers/raw/cnxk_gpio/cnxk_gpio.c+26 -00 replies
8/11raw/cnxk_gpio: support standard GPIO operationsdoc/guides/rawdevs/cnxk_gpio.rst drivers/raw/cnxk_gpio/cnxk_gpio.c drivers/raw/cnxk_gpio/rte_pmd_cnxk_gpio.h+521 -30 replies
9/11raw/cnxk_gpio: support custom irq handlersdoc/guides/rawdevs/cnxk_gpio.rst drivers/raw/cnxk_gpio/cnxk_gpio.c drivers/raw/cnxk_gpio/cnxk_gpio.h +3 more+401 -20 replies
10/11raw/cnxk_gpio: support selftestdoc/guides/rawdevs/cnxk_gpio.rst drivers/raw/cnxk_gpio/cnxk_gpio.c drivers/raw/cnxk_gpio/cnxk_gpio.h +2 more+401 -00 replies
11/11raw/cnxk_gpio: add option to allow using subset of GPIOsdoc/guides/rawdevs/cnxk_gpio.rst drivers/raw/cnxk_gpio/cnxk_gpio.c drivers/raw/cnxk_gpio/cnxk_gpio.h +2 more+188 -490 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchJerin Jacob Kollanukkaran
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 00/11] Add cnxk_gpio

This series introduces a new rawdevice PMD which allows
to manage userspace GPIOs and install custom GPIO interrupt handlers which bypass kernel. This is especially useful for applications that, besides providing standard dataplane functionality, want to have fast and low latency access to GPIO pin state.

It'd be great to have that merged during 22.03 merge window.

v6:
- update MAINTAINERS

v5:
- added close callback to make sure PMD resources are freed properly
- updated selftest to return early on error
- doc fixes

v4:
- free kvargs after parsing arguments
- add support for allowing only subset of available GPIOs

v3:
- fix meson formatting
- fix cnxk_gpio_process_buf() return value

v2:
- do not trigger irq by writing to /dev/mem, use ioctl() instead

Tomasz Duszynski (11):
raw/cnxk_gpio: add GPIO driver skeleton raw/cnxk_gpio: support reading default queue conf raw/cnxk_gpio: support reading queue count raw/cnxk_gpio: support queue setup raw/cnxk_gpio: support queue release raw/cnxk_gpio: support enqueuing buffers raw/cnxk_gpio: support dequeuing buffers raw/cnxk_gpio: support standard GPIO operations raw/cnxk_gpio: support custom irq handlers raw/cnxk_gpio: support selftest
raw/cnxk_gpio: add option to allow using subset of GPIOs

 MAINTAINERS                                |   6 +
 doc/guides/platform/cnxk.rst               |   2 +
 doc/guides/rawdevs/cnxk_gpio.rst           | 200 ++++++
 doc/guides/rawdevs/index.rst               |   1 +
 doc/guides/rel_notes/release_22_03.rst     |  10 +
 drivers/raw/cnxk_gpio/cnxk_gpio.c          | 763 +++++++++++++++++++++
 drivers/raw/cnxk_gpio/cnxk_gpio.h          |  35 +
 drivers/raw/cnxk_gpio/cnxk_gpio_irq.c      | 216 ++++++
 drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c | 393 +++++++++++
 drivers/raw/cnxk_gpio/meson.build          |  11 +
 drivers/raw/cnxk_gpio/rte_pmd_cnxk_gpio.h  | 437 ++++++++++++
 drivers/raw/cnxk_gpio/version.map          |   3 +
 drivers/raw/meson.build                    |   1 +
 13 files changed, 2078 insertions(+)
 create mode 100644 doc/guides/rawdevs/cnxk_gpio.rst
 create mode 100644 drivers/raw/cnxk_gpio/cnxk_gpio.c
 create mode 100644 drivers/raw/cnxk_gpio/cnxk_gpio.h
 create mode 100644 drivers/raw/cnxk_gpio/cnxk_gpio_irq.c
 create mode 100644 drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c
 create mode 100644 drivers/raw/cnxk_gpio/meson.build
 create mode 100644 drivers/raw/cnxk_gpio/rte_pmd_cnxk_gpio.h
 create mode 100644 drivers/raw/cnxk_gpio/version.map

--
2.25.1