[PATCH v3] dma/cnxk: add support for CN10K DMA engine

2022-08-05 Thread Radha Mohan Chintakuntla
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

[PATCH v2] dma/cnxk: add support for CN10K DMA engine

2022-08-05 Thread Radha Mohan Chintakuntla
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

[PATCH] dma/cnxk: add support for CN10K DMA engine

2022-08-05 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2] usertools/devbind: update octeontx2 DMA device

2021-11-09 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH] usertools/devbind: update octeontx2 DMA device

2021-11-09 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v3 5/5] dma/cnxk: add stats function

2021-11-03 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v3 4/5] dma/cnxk: add copy_sg function

2021-11-03 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v3 3/5] dma/cnxk: add dma channel operations

2021-11-03 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v3 1/5] common/cnxk: add DPI DMA support

2021-11-03 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v3 2/5] dma/cnxk: create and initialize dmadev on pci probe

2021-11-03 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2 4/4] dma/cnxk: add copy_sg function

2021-11-01 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2 3/4] dma/cnxk: add dma channel operations

2021-11-01 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2 2/4] dma/cnxk: create and initialize dmadev on pci probe

2021-11-01 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2 1/4] common/cnxk: add DPI DMA support

2021-11-01 Thread Radha Mohan Chintakuntla
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()

[dpdk-dev] [PATCH 3/4] dma/cnxk: add dma channel operations

2021-10-25 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH 4/4] dma/cnxk: add copy_sg function

2021-10-25 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH 1/4] common/cnxk: add DPI DMA support

2021-10-25 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH 2/4] dma/cnxk: create and initialize dmadev on pci probe

2021-10-25 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v5 2/2] drivers/raw: remove octeontx2-ep driver

2021-08-26 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v5 1/2] drivers/raw: remove octeontx2-dma driver

2021-08-26 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH RESEND v4 2/2] drivers/raw: remove octeontx2-ep driver

2021-08-23 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH RESEND v4 1/2] drivers/raw: remove octeontx2-dma driver

2021-08-23 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v4 2/2] drivers/raw: remove octeontx2-ep driver

2021-08-19 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v4 1/2] drivers/raw: remove octeontx2-dma driver

2021-08-19 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v3 2/2] drivers/raw: remove octeontx2-ep driver

2021-08-13 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v3 1/2] drivers/raw: remove octeontx2-dma driver

2021-08-13 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2 2/2] drivers/raw: remove octeontx2-ep driver

2021-08-12 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2 1/2] drivers/raw: remove octeontx2-dma driver

2021-08-12 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH 2/2] drivers/raw: remove octeontx2-ep driver

2021-08-12 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH 1/2] drivers/raw: remove octeontx2-dma driver

2021-08-12 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH v2] raw/octeontx2_dma: fix unavailable PCI device in dpivf

2021-04-09 Thread Radha Mohan Chintakuntla
("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

[dpdk-dev] [PATCH] raw/octeontx2_dma: fix unavailable PCI device in dpivf

2021-04-09 Thread Radha Mohan Chintakuntla
("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

[dpdk-dev] [PATCH] raw/octeontx2_dma: fix unavailable PCI device in dpivf

2021-03-22 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH] maintainers: Update for OcteonTx2 DMA and EP

2020-11-09 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH RESEND 2/2] raw/octeontx2_dma: Add support in case of multiple DPI blocks

2020-10-05 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH RESEND 1/2] raw/octeontx2_dma: Assign pem_id as lport for non-internal DMA

2020-10-05 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH 2/2] raw/octeontx2_dma: Add support in case of multiple DPI blocks

2020-10-01 Thread Radha Mohan Chintakuntla
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

[dpdk-dev] [PATCH 1/2] raw/octeontx2_dma: Assign pem_id as lport for non-internal DMA

2020-10-01 Thread Radha Mohan Chintakuntla
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