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
On Tue, Nov 9, 2021 at 12:50 PM Thomas Monjalon wrote:
>
> 09/11/2021 17:55, 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 li
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
On Sun, Nov 7, 2021 at 5:57 PM Thomas Monjalon wrote:
>
> The DMA raw driver for octeontx2 was removed in DPDK 21.11.
> The binding ability is also removed in the same release
> to be consistent.
>
> Fixes: a59745ebccf0 ("raw/octeontx2_dma: remove driver")
>
> Signed-off-by: Thomas Monjalon
>
> -
On Sun, Nov 7, 2021 at 6:04 PM Thomas Monjalon wrote:
>
> 03/11/2021 19:01, Radha Mohan Chintakuntla:
> > This patch creates and initializes a dmadev device on pci probe.
> >
> > Signed-off-by: Radha Mohan Chintakuntla
>
> Series applied with few small improvements
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
On Tue, Nov 2, 2021 at 5:00 AM fengchengwen wrote:
>
> On 2021/11/2 11:40, Radha Mohan Chintakuntla wrote:
> > Add functions for the dmadev vchan setup and DMA operations.
> >
> > Signed-off-by: Radha Mohan Chintakuntla
>
> ...
>
> >
> > +stat
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()
On Fri, Oct 29, 2021 at 7:54 AM Jerin Jacob wrote:
>
> On Thu, Oct 28, 2021 at 11:48 PM Radha Mohan wrote:
> >
> > On Tue, Oct 26, 2021 at 1:49 AM Jerin Jacob wrote:
> > >
> > > On Tue, Oct 26, 2021 at 9:43 AM Radha Mohan Chintakuntla
> > > wrote:
On Tue, Oct 26, 2021 at 1:49 AM Jerin Jacob wrote:
>
> On Tue, Oct 26, 2021 at 9:43 AM Radha Mohan Chintakuntla
> wrote:
> >
> > Add functions for the dmadev vchan setup and DMA operations.
> >
> > Signed-off-by: Radha Mohan Chintakuntla
> > ---
&g
On Tue, Oct 26, 2021 at 2:32 AM Jerin Jacob wrote:
>
> On Tue, Oct 26, 2021 at 9:43 AM Radha Mohan Chintakuntla
> wrote:
> >
> > This patch creates and initializes a dmadev device on pci probe.
> >
> > Signed-off-by: Radha Mohan Chintakuntla
> > ---
&g
On Tue, Oct 26, 2021 at 1:34 AM Jerin Jacob wrote:
>
> On Tue, Oct 26, 2021 at 9:43 AM Radha Mohan Chintakuntla
> wrote:
> >
> > Add base support as ROC(Rest of Chip) API which will be used by PMD
> > dmadev driver.
> >
> > This patch adds routines to i
On Thu, Oct 21, 2021 at 7:04 AM Kevin Laatz wrote:
>
> On 21/10/2021 13:59, Chengwen Feng wrote:
> > From: David Marchand
> >
> > No need to expose rte_dma_devices out of the dmadev library.
> > Existing helpers should be enough, and inlines make use of
> > rte_dma_fp_objs.
I asked this earlier
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
On Tue, Oct 5, 2021 at 1:24 AM Kevin Laatz wrote:
>
> On 04/10/2021 22:12, Radha Mohan wrote:
> > On Fri, Sep 24, 2021 at 3:58 AM Chengwen Feng
> > wrote:
> >> The 'dmadevice' is a generic type of DMA device.
> >>
> >> This patch introduc
mode 100644 lib/dmadev/version.map
>
Hi Chengwen,
I see that the new version removed the "rte_dmadev_get_device_by_name()".
What is the way to get the dmadev from inside the PMD .remove ? I am
looking to get the dev_private as we need to do some cleanup
operations from the remove function.
regards,
Radha Mohan
On Thu, Aug 26, 2021 at 4:20 PM Radha Mohan Chintakuntla
wrote:
>
> 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-o
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
On Mon, Aug 23, 2021 at 8:51 PM Radha Mohan Chintakuntla
wrote:
>
> 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-o
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
On Mon, Aug 23, 2021 at 6:02 PM David Marchand
wrote:
>
> On Mon, Aug 23, 2021 at 2:19 PM Radha Mohan wrote:
> > I received this report that this patch failed to apply
> > http://mails.dpdk.org/archives/test-report/2021-August/211611.html
>
> The two patches of thi
On Thu, Aug 19, 2021 at 1:29 PM Radha Mohan Chintakuntla
wrote:
>
> 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-o
On Thu, Aug 19, 2021 at 1:27 PM Radha Mohan Chintakuntla
wrote:
>
> 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-o
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
On Fri, Apr 9, 2021 at 1:29 PM Radha Mohan Chintakuntla
wrote:
>
> The PCI device address is being used for sending mailbox which was
> introduced in previous commit which replaced the macros so that
> multiple DPI blocks in the hardware can be supported.
>
> This patch fi
("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
On Fri, Apr 9, 2021 at 12:13 PM Jerin Jacob wrote:
>
> On Mon, Mar 22, 2021 at 8:52 PM Radha Mohan Chintakuntla
> wrote:
> >
> > Add PCI device to dpivf structure.
> >
> > Fixes: 4495bd887d38 ("raw/octeontx2_dma: support multiple DPI blocks")
>
>
("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
et('RTE_ARCH_64')
> - extra_flags += ['-Wno-int-to-pointer-cast',
> '-Wno-pointer-to-int-cast']
> -endif
>
> foreach flag: extra_flags
> if cc.has_argument(flag)
> --
> 2.17.1
>
Acked-by: Radha Mohan Chintakuntla
switch (dev_id) {
> - case PCI_DEVID_OCTEONTX2_EP_VF:
> - sdpvf->chip_id = PCI_DEVID_OCTEONTX2_EP_VF;
> + case PCI_DEVID_OCTEONTX2_EP_RAW_VF:
> + sdpvf->chip_id = PCI_DEVID_OCTEONTX2_EP_RAW_VF;
> ret = sdp_vf_setup_device(sdpvf);
>
> break;
> --
> 2.17.1
>
Acked-by: Radha Mohan Chintakuntla
On Wed, Nov 18, 2020 at 1:15 AM Thomas Monjalon wrote:
>
> 18/11/2020 05:15, Radha Mohan:
> > On Mon, Nov 16, 2020 at 12:28 PM Thomas Monjalon
> > wrote:
> > > 16/11/2020 19:28, Radha Mohan:
> > > > On Fri, Nov 13, 2020 at 2:39 PM Thomas Monjalon
&g
On Mon, Nov 16, 2020 at 12:28 PM Thomas Monjalon wrote:
>
> 16/11/2020 19:28, Radha Mohan:
> > On Fri, Nov 13, 2020 at 2:39 PM Thomas Monjalon wrote:
> > > 13/11/2020 20:18, Radha Mohan:
> > > > On Tue, Nov 10, 2020 at 11:57 PM Mahipal Challa
> &g
On Fri, Nov 13, 2020 at 2:39 PM Thomas Monjalon wrote:
>
> 13/11/2020 20:18, Radha Mohan:
> > On Tue, Nov 10, 2020 at 11:57 PM Mahipal Challa wrote:
> > From: Radha Mohan
> > Sent: Tuesday, November 10, 2020 11:44 PM
> > > On Mon, Nov 9, 2020 at 4:20 PM Radha
On Tue, Nov 10, 2020 at 11:57 PM Mahipal Challa wrote:
>
>
>
> -Original Message-----
> From: Radha Mohan
> Sent: Tuesday, November 10, 2020 11:44 PM
> To: Radha Chintakuntla ; Satha Koteswara Rao Kottidi
> ; Mahipal Challa
> Cc: dev@dpdk.org; Thomas Monj
On Mon, Nov 9, 2020 at 4:20 PM Radha Mohan Chintakuntla
wrote:
>
> 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
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
On Wed, Oct 7, 2020 at 10:33 AM Satha Koteswara Rao Kottidi
wrote:
>
>
>
> -Original Message-----
> From: Radha Mohan Chintakuntla
> Sent: Tuesday, October 6, 2020 11:00 AM
> To: dev@dpdk.org; Satha Koteswara Rao Kottidi
> Cc: Jerin Jacob Kollanukkaran ; Radha Chi
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
64 matches
Mail list logo