Added support for CN10K SoC DMA engine to dmadev.
Signed-off-by: Radha Mohan Chintakuntla
Reviewed-by: Jerin Jacob Kollanukkaran
---
Changes from v2:
- Added missing files required in the patch
Changes from v1:
- Removed gerrit changeID
drivers/common/cnxk/hw/dpi.h | 16 +-
drivers
Added support for CN10K SoC DMA engine to dmadev.
Signed-off-by: Radha Mohan Chintakuntla
Reviewed-by: Jerin Jacob Kollanukkaran
---
Changes from v1:
- Removed gerrit changeID
drivers/dma/cnxk/cnxk_dmadev.c | 248 +
drivers/dma/cnxk/cnxk_dmadev.h | 2 +-
2
Added support for CN10K SoC DMA engine to dmadev.
Signed-off-by: Radha Mohan Chintakuntla
Change-Id: Ib119b3ceab0810724820e9af1d29fdd3f95d5cc9
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpdk/+/68103
Tested-by: sa_ip-toolkits-Jenkins
Reviewed-by: Jerin Jacob Kollanukkaran
The octeontx2_dma rawdev driver is removed in DPDK-21.11. The new driver
for the same device uses the dmadev. So this patch updates the device
naming and lists it under dma devices section.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v1:
- Sort the names alphabetically
usertools
The octeontx2_dma rawdev driver is removed in DPDK-21.11. The new driver
for the same device uses the dmadev. So this patch updates the device
naming and lists it under dma devices section.
Signed-off-by: Radha Mohan Chintakuntla
---
usertools/dpdk-devbind.py | 11 ++-
1 file changed, 6
Add the stats function to get the DMA statistics.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/dma/cnxk/cnxk_dmadev.c | 41 --
drivers/dma/cnxk/cnxk_dmadev.h | 1 +
2 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/cnxk
Add the copy_sg function that will do the multiple DMA transfers of
different sizes and different source/destination as well.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/dma/cnxk/cnxk_dmadev.c | 69 +-
1 file changed, 68 insertions(+), 1 deletion(-)
diff
Add functions for the dmadev vchan setup and DMA operations.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/dma/cnxk/cnxk_dmadev.c | 331 +
drivers/dma/cnxk/cnxk_dmadev.h | 32
drivers/dma/cnxk/version.map | 3 +
3 files changed, 366 insertions
Add base support as ROC(Rest of Chip) API which will be used by PMD
dmadev driver.
This patch adds routines to init, fini, configure the DPI DMA device
found in Marvell's CN9k or CN10k SoC families.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v2:
- added stats function
- u
This patch creates and initializes a dmadev device on pci probe.
Signed-off-by: Radha Mohan Chintakuntla
---
MAINTAINERS| 6 ++
doc/guides/dmadevs/cnxk.rst| 58 +++
doc/guides/dmadevs/index.rst | 1 +
doc/guides/platform/cnxk.rst | 5
Add the copy_sg function that will do the multiple DMA transfers of
different sizes and different source/destination as well.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/dma/cnxk/cnxk_dmadev.c | 68 +-
1 file changed, 67 insertions(+), 1 deletion(-)
diff
Add functions for the dmadev vchan setup and DMA operations.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/dma/cnxk/cnxk_dmadev.c | 322 +
drivers/dma/cnxk/cnxk_dmadev.h | 31
drivers/dma/cnxk/version.map | 3 +
3 files changed, 356 insertions
This patch creates and initializes a dmadev device on pci probe.
Signed-off-by: Radha Mohan Chintakuntla
---
MAINTAINERS| 6 ++
doc/guides/dmadevs/cnxk.rst| 58 +++
doc/guides/dmadevs/index.rst | 1 +
drivers/dma/cnxk/cnxk_dmadev.c | 100
Add base support as ROC(Rest of Chip) API which will be used by PMD
dmadev driver.
This patch adds routines to init, fini, configure the DPI DMA device
found in Marvell's CN9k or CN10k SoC families.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v1:
- Changed to roc_dpi_enable()
Add functions for the dmadev vchan setup and DMA operations.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/dma/cnxk/cnxk_dmadev.c | 322 +
drivers/dma/cnxk/cnxk_dmadev.h | 53 ++
drivers/dma/cnxk/version.map | 3 +
3 files changed, 378 insertions
Add the copy_sg function that will do the multiple DMA transfers of
different sizes and different source/destination as well.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/dma/cnxk/cnxk_dmadev.c | 80 +-
1 file changed, 79 insertions(+), 1 deletion(-)
diff
Add base support as ROC(Rest of Chip) API which will be used by PMD
dmadev driver.
This patch adds routines to init, fini, configure the DPI DMA device
found in Marvell's CN9k or CN10k SoC familes.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/common/cnxk/hw/dpi.h
This patch creates and initializes a dmadev device on pci probe.
Signed-off-by: Radha Mohan Chintakuntla
---
MAINTAINERS| 7 +-
doc/guides/dmadevs/cnxk.rst| 53 +++
doc/guides/dmadevs/index.rst | 1 +
drivers/dma/cnxk/cnxk_dmadev.c | 119
Removing the rawdev based octeontx2-ep driver as the dependent
common/octeontx2 will soon be going away. Moreover this driver is no
longer required as the net/octeontx_ep driver is sufficient.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v4:
Replaced the reference to documentation in
Removing the rawdev based octeontx2-dma driver as the dependent
common/octeontx2 will be soon be going away. Also a new DMA driver will
be coming in this place once the rte_dmadev library is in.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v4:
Replaced the reference to documentation
Removing the rawdev based octeontx2-ep driver as the dependent
common/octeontx2 will soon be going away. Moreover this driver is no
longer required as the net/octeontx_ep driver is sufficient.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v3:
Fixed patch application failure due to
Removing the rawdev based octeontx2-dma driver as the dependent
common/octeontx2 will be soon be going away. Also a new DMA driver will
be coming in this place once the rte_dmadev library is in.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v3:
Fixed patch application failure due to
Removing the rawdev based octeontx2-ep driver as the dependent
common/octeontx2 will soon be going away. Moreover this driver is no
longer required as the net/octeontx_ep driver is sufficient.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v3:
Fixed patch application failure due to
Removing the rawdev based octeontx2-dma driver as the dependent
common/octeontx2 will be soon be going away. Also a new DMA driver will
be coming in this place once the rte_dmadev library is in.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v3:
Fixed patch application failure on main
Removing the rawdev based octeontx2-ep driver as the dependent
common/octeontx2 will soon be going away. Moreover this driver is no
longer required as the net/octeontx_ep driver is sufficient.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v2:
Fixed DPDK CI reported issues for more
Removing the rawdev based octeontx2-dma driver as the dependent
common/octeontx2 will be soon be going away. Also a new DMA driver will
be coming in this place once the rte_dmadev library is in.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v2:
Fixed DPDK CI reported issues for more
Removing the rawdev based octeontx2-ep driver as the dependent
common/octeontx2 will soon be going away. Moreover this driver is no
longer required as the net/octeontx_ep driver is sufficient.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v1:
Fixed compilation issues in documentation
Removing the rawdev based octeontx2-dma driver as the dependent
common/octeontx2 will be soon be going away. Also a new DMA driver will
be coming in this place once the rte_dmadev library is in.
Signed-off-by: Radha Mohan Chintakuntla
---
Changes from v1:
Fixed compilation issues in
Removing the rawdev based octeontx2-ep driver as the dependent
common/octeontx2 will soon be going away. Moreover this driver is no
longer required as the net/octeontx_ep driver is sufficient.
Signed-off-by: Radha Mohan Chintakuntla
---
MAINTAINERS | 6 -
doc
Removing the rawdev based octeontx2-dma driver as the dependent
common/octeontx2 will be soon be going away. Also a new DMA driver will
be coming in this place once the rte_dmadev library is in.
Signed-off-by: Radha Mohan Chintakuntla
---
MAINTAINERS | 6 -
doc
("raw/octeontx2_dma: support multiple DPI blocks")
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
b/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
index
("raw/octeontx2_dma: support multiple DPI blocks")
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
b/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
index
Add PCI device to dpivf structure.
Fixes: 4495bd887d38 ("raw/octeontx2_dma: support multiple DPI blocks")
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/raw/octeontx2_dma/otx2_dpi_r
Replace the maintainers for OcteonTx2 DMA and EP drivers.
Signed-off-by: Radha Mohan Chintakuntla
---
MAINTAINERS | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index a720cf672e..214515060a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
This patch adds support for multiple DPI blocks by removing the fixed
macro that was writing to same sysfs entry for different DPI blocks.
Signed-off-by: Radha Mohan Chintakuntla
Reviewed-by: Satananda Burla
---
drivers/raw/octeontx2_dma/otx2_dpi_msg.c| 18 +-
drivers/raw
DPI needs to know the PEM number for all external transfers.
Signed-off-by: Radha Mohan Chintakuntla
Reviewed-by: Satha Koteswara Rao Kottidi
Reviewed-by: Satananda Burla
---
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c | 2 ++
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.h | 1 +
2 files changed
This patch adds support for multiple DPI blocks by removing the fixed
macro that was writing to same sysfs entry for different DPI blocks.
Signed-off-by: Radha Mohan Chintakuntla
Reviewed-by: Satananda Burla
---
drivers/raw/octeontx2_dma/otx2_dpi_msg.c| 18 +-
drivers/raw
DPI needs to know the PEM number for all external transfers.
Signed-off-by: Radha Mohan Chintakuntla
Reviewed-by: Satha Koteswara Rao Kottidi
Reviewed-by: Satananda Burla
---
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c | 2 ++
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.h | 1 +
2 files changed
38 matches
Mail list logo