DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v0 0/3] dma/cnxk: add CN20K (O20) DPI DMA and inter-process domain support
@ 2026-08-29 10:54 Vamsi Krishna
  2026-08-29 10:54 ` [PATCH v0 1/3] common/cnxk: add O20 DPI DMA support Vamsi Krishna
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vamsi Krishna @ 2026-08-29 10:54 UTC (permalink / raw)
  To: dev, vattunuru; +Cc: jerinj, fengchengwen, ndabilpuram

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 (3):
  common/cnxk: add O20 DPI DMA support
  dma/cnxk: add O20 DPI DMA support
  dma/cnxk: enable inter process domain DMA support

 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            |   8 +
 .../common/cnxk/roc_platform_base_symbols.c   |  18 +
 drivers/dma/cnxk/cnxk_dmadev.c                | 673 ++++++++++++++++-
 drivers/dma/cnxk/cnxk_dmadev.h                |  73 +-
 drivers/dma/cnxk/cnxk_dmadev_fp.c             | 214 ++++++
 13 files changed, 2003 insertions(+), 36 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-29 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox