DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vamsi Krishna <vattunuru@marvell.com>
To: <dev@dpdk.org>, <vattunuru@marvell.com>
Cc: <jerinj@marvell.com>, <fengchengwen@huawei.com>,
	<ndabilpuram@marvell.com>
Subject: [PATCH v2 0/4] dma/cnxk: add CN20K (O20) DPI DMA and inter-process domain support
Date: Sun, 20 Sep 2026 20:11:28 +0530	[thread overview]
Message-ID: <20260920144132.762575-1-vattunuru@marvell.com> (raw)
In-Reply-To: <CALBAE1OdN_HxA4cRZKtsc8AJkCzQQtVV27sGhqjqXE8aSntZ6w@mail.gmail.com>

From: Vamsi Attunuru <vattunuru@marvell.com>

This series adds DMA support for Marvell CN20K (O20) DPI hardware to the
existing cnxk dmadev driver, building on the common ROC DPI layer used by
CN9K/CN10K.

CN20K DPI is LF and ring-based: commands are posted to per-LF hardware
queues rather than the legacy VF chunk-buffer model. The series introduces
the ROC infrastructure for LF attach/detach, ring configuration, channel
table management, and access-pair group mailbox operations, then wires the
dmadev PMD to expose copy, copy-SG, fill, and enqueue/dequeue on O20.

Patch 1 lays the common foundation. Patch 2 integrates O20 into the dmadev
fast and slow paths. Patch 3 adds inter-process domain DMA on top of the
O20 path using the dmadev access-pair group API.

Vamsi Attunuru (4):
  common/cnxk: add O20 DPI DMA support
  dma/cnxk: add O20 DPI DMA support
  dma/cnxk: enable inter process domain DMA support
  doc: update 26.11 release notes for cnxk dmadev
---
V2 changes:
* updated doc/guides/dmadevs/cnxk.rst
* updated cnxk base driver to use plt_ symbols
* changed rte_wmb() to rte_io_wmb()
* updated doc/guides/rel_notes/release_26_11.rst

 doc/guides/dmadevs/cnxk.rst                   | 138 +++-
 doc/guides/rel_notes/release_26_11.rst        |  17 +
 drivers/common/cnxk/hw/dpi.h                  |  72 +-
 drivers/common/cnxk/hw/rvu.h                  |   2 +
 drivers/common/cnxk/roc_constants.h           |   2 +
 drivers/common/cnxk/roc_dev.c                 |   1 +
 drivers/common/cnxk/roc_dpi.c                 | 683 +++++++++++++++++-
 drivers/common/cnxk/roc_dpi.h                 |  85 +++
 drivers/common/cnxk/roc_dpi_priv.h            |  34 +
 drivers/common/cnxk/roc_mbox.h                | 174 ++++-
 drivers/common/cnxk/roc_platform.h            |  10 +
 .../common/cnxk/roc_platform_base_symbols.c   |  17 +
 drivers/dma/cnxk/cnxk_dmadev.c                | 676 ++++++++++++++++-
 drivers/dma/cnxk/cnxk_dmadev.h                |  73 +-
 drivers/dma/cnxk/cnxk_dmadev_fp.c             | 232 +++++-
 15 files changed, 2166 insertions(+), 50 deletions(-)

-- 
2.34.1


  reply	other threads:[~2026-09-20 14:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-29 10:54 [PATCH v0 0/3] dma/cnxk: add CN20K (O20) DPI DMA and inter-process domain support Vamsi Krishna
2026-08-29 10:54 ` [PATCH v0 1/3] common/cnxk: add O20 DPI DMA support Vamsi Krishna
2026-08-29 10:54 ` [PATCH v0 2/3] dma/cnxk: " Vamsi Krishna
2026-08-29 10:54 ` [PATCH v0 3/3] dma/cnxk: enable inter process domain " Vamsi Krishna
2026-09-15  6:43   ` Jerin Jacob
2026-09-20 14:41     ` Vamsi Krishna [this message]
2026-09-20 14:41       ` [PATCH v2 1/4] common/cnxk: add O20 DPI " Vamsi Krishna
2026-09-20 14:41       ` [PATCH v2 2/4] dma/cnxk: " Vamsi Krishna
2026-09-20 14:41       ` [PATCH v2 3/4] dma/cnxk: enable inter process domain " Vamsi Krishna
2026-09-20 14:41       ` [PATCH v2 4/4] doc: update 26.11 release notes for cnxk dmadev Vamsi Krishna

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=20260920144132.762575-1-vattunuru@marvell.com \
    --to=vattunuru@marvell.com \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.com \
    --cc=jerinj@marvell.com \
    --cc=ndabilpuram@marvell.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