[RFC PATCH 0/6] add support for CDX bus

2023-01-24 Thread Nipun Gupta
. DPDK CDX bus uses sysfs interface and the vfio-cdx driver to discover and initialize the CDX devices for user-space applications. Nipun Gupta (6): bus/cdx: introduce cdx bus bus/cdx: add dma map and unmap support bus/cdx: add support for MSI bus/cdx: support plug unplug and dev iterator

[RFC PATCH 1/6] bus/cdx: introduce cdx bus

2023-01-24 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta --- MAINTAINERS | 5 + drivers/bus/cdx/cdx.c | 564 ++ drivers/bus/cdx/cdx.h | 54 drivers/bus/cdx/cdx_logs.h| 37 +++ drivers/bus/cdx/cdx_vfio.c| 428 ++ drivers/bus

[RFC PATCH 2/6] bus/cdx: add dma map and unmap support

2023-01-24 Thread Nipun Gupta
CDX bus can use VFIO interface for mapping and unmapping of DMA addresses in the IOMMU. This change adds the callback support for map and unmap APIs as well as fetching the IOMMU class. Signed-off-by: Nipun Gupta --- drivers/bus/cdx/cdx.c | 40 1 file

[RFC PATCH 3/6] bus/cdx: add support for MSI

2023-01-24 Thread Nipun Gupta
MSI's are exposed to the devices using VFIO (vfio-cdx). This patch uses the same to add support for MSI for the devices on the cdx bus. Signed-off-by: Nipun Gupta --- drivers/bus/cdx/cdx.c | 11 ++ drivers/bus/cdx/cdx_vfio.c | 182 - dr

[RFC PATCH 4/6] bus/cdx: support plug unplug and dev iterator

2023-01-24 Thread Nipun Gupta
Add support for plugging and unplugging CDX devices on the CDX bus. Also, CDX dev iterator support has been added for the CDX bus. Signed-off-by: Nipun Gupta --- drivers/bus/cdx/cdx.c | 142 +++--- drivers/bus/cdx/rte_bus_cdx.h | 1 + 2 files changed, 133

[RFC PATCH 5/6] bus: enable cdx bus

2023-01-24 Thread Nipun Gupta
enable compilation of cdx bus Signed-off-by: Nipun Gupta --- drivers/bus/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/meson.build b/drivers/bus/meson.build index 45eab5233d..884470234c 100644 --- a/drivers/bus/meson.build +++ b/drivers/bus/meson.build @@ -7,6 +7,7

[RFC PATCH 6/6] config/arm: add AMD CDX

2023-01-24 Thread Nipun Gupta
Adding support for AMD CDX devices Signed-off-by: Nipun Gupta --- config/arm/arm64_cdx_linux_gcc | 17 + config/arm/meson.build | 15 +++ 2 files changed, 32 insertions(+) create mode 100644 config/arm/arm64_cdx_linux_gcc diff --git a/config/arm

Re: [dpdk-dev] [PATCH v3 7/8] app/bbdev: add parameter to take input in network order

2021-04-14 Thread Nipun Gupta
> -Original Message- > From: Chautru, Nicolas > Sent: Wednesday, April 14, 2021 6:30 AM > To: Hemant Agrawal ; dev@dpdk.org; > gak...@marvell.com > Cc: david.march...@redhat.com; Nipun Gupta > Subject: RE: [PATCH v3 7/8] app/bbdev: add parameter to take inp

Re: [dpdk-dev] [PATCH v3 8/8] app/bbdev: add test vectors for transport blocks

2021-04-14 Thread Nipun Gupta
k.org; > gak...@marvell.com > Cc: david.march...@redhat.com; Nipun Gupta > Subject: RE: [PATCH v3 8/8] app/bbdev: add test vectors for transport blocks > > > > -Original Message- > > From: Hemant Agrawal > > Sent: Monday, April 12, 2021 10:17 PM > >

Re: [dpdk-dev] dpdk-graph-crypto-perf on ARM platform

2021-04-19 Thread Nipun Gupta
Hi Ciara, Just for information, Kaleido and plotly v4.9+ worked for us. Thanks, Nipun > -Original Message- > From: Nipun Gupta > Sent: Wednesday, February 24, 2021 4:35 PM > To: Power, Ciara ; dev@dpdk.org > Cc: Vanshika Shukla ; Hemant Agrawal > ; Doherty, Declan ;

[PATCH] app/testpmd: update raw flow to take hex input

2022-01-10 Thread nipun . gupta
From: Nipun Gupta This patch enables method to provide key and mask for raw rules to be provided as hexadecimal values. There is new parameter pattern_mask added to support this. Signed-off-by: Nipun Gupta --- app/test-pmd/cmdline_flow.c | 15 +++ doc/guides

[PATCH] examples/l3fwd: fix Rx burst size for event mode

2022-01-10 Thread nipun . gupta
From: Nipun Gupta While dequeing the packets from the event device, burst size is provided in the API. This was not getting properly conigured in the application. This patch correctly configures the burst size. Fixes: aaf58cb85b62 ("examples/l3fwd: add event port and queue setup"

RE: [PATCH v2 70/83] raw/dpaa2_qdma: remove unnecessary NULL checks

2022-01-24 Thread Nipun Gupta
Acked-by: Nipun Gupta > -Original Message- > From: Stephen Hemminger > Sent: 24 January 2022 23:17 > To: dev@dpdk.org > Cc: Stephen Hemminger ; Nipun Gupta > > Subject: [PATCH v2 70/83] raw/dpaa2_qdma: remove unnecessary NULL checks > > Remove redundant NULL

RE: [PATCH v3 10/15] net/dpaa2: support recycle loopback port

2022-02-01 Thread Nipun Gupta
Hi David, Sure, we will send a patch asap. Regards, Nipun > -Original Message- > From: David Marchand > Sent: 01 February 2022 14:58 > To: Nipun Gupta ; Jun Yang > Cc: dev ; Thomas Monjalon ; Yigit, > Ferruh ; Hemant Agrawal ; > Stephen Hemminger > S

RE: [PATCH] net/dpaa2: fix build with musl

2022-02-01 Thread Nipun Gupta
Acked-by: Nipun Gupta > -Original Message- > From: Thomas Monjalon > Sent: 01 February 2022 15:24 > To: dev@dpdk.org > Cc: Jun Yang ; Nipun Gupta ; > Hemant Agrawal ; David Marchand > ; Sachin Saxena (OSS) > > Subject: [PATCH] net/dpaa2: fix build with mus

[dpdk-dev] [PATCH v11 0/8] baseband: add NXP LA12xx driver

2021-10-16 Thread nipun . gupta
From: Nipun Gupta This series introduces the BBDEV LA12xx poll mode driver (PMD) to support an implementation for offloading High Phy processing functions like LDPC Encode / Decode 5GNR wireless acceleration function, using PCI based LA12xx Software defined radio. Please check the documentation

[dpdk-dev] [PATCH v11 1/8] bbdev: add device info related to data endianness

2021-10-16 Thread nipun . gupta
From: Nicolas Chautru Adding device information to capture explicitly the assumption of the input/output data byte endianness being processed. Signed-off-by: Nicolas Chautru Signed-off-by: Nipun Gupta --- doc/guides/rel_notes/release_21_11.rst | 1 + drivers/baseband/acc100

[dpdk-dev] [PATCH v11 2/8] baseband: introduce NXP LA12xx driver

2021-10-16 Thread nipun . gupta
From: Nipun Gupta This patch introduce the baseband device drivers for NXP's LA1200 series software defined baseband modem. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS | 10 ++ doc/guides/bbdevs/index.rst

[dpdk-dev] [PATCH v11 3/8] baseband/la12xx: add devargs for max queues

2021-10-16 Thread nipun . gupta
From: Hemant Agrawal This patch adds dev args to take max queues as input Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- doc/guides/bbdevs/la12xx.rst | 4 ++ drivers/baseband/la12xx/bbdev_la12xx.c | 73 +- 2 files changed, 75 insertions(+), 2

[dpdk-dev] [PATCH v11 4/8] baseband/la12xx: add support for multiple modems

2021-10-16 Thread nipun . gupta
From: Hemant Agrawal This patch add support for multiple modems by assigning a modem id as dev args in vdev creation. Signed-off-by: Hemant Agrawal --- doc/guides/bbdevs/la12xx.rst | 5 ++ drivers/baseband/la12xx/bbdev_la12xx.c | 64 +++--- drivers/baseband/l

[dpdk-dev] [PATCH v11 5/8] baseband/la12xx: add queue and modem config support

2021-10-16 Thread nipun . gupta
From: Hemant Agrawal This patch add support for connecting with modem and creating the ipc channel as queues with modem for the exchange of data. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 559 - drivers

[dpdk-dev] [PATCH v11 6/8] baseband/la12xx: add enqueue and dequeue support

2021-10-16 Thread nipun . gupta
From: Hemant Agrawal Add support for enqueue and dequeue the LDPC enc/dec from the modem device. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- doc/guides/bbdevs/features/la12xx.ini | 13 + doc/guides/bbdevs/la12xx.rst | 44 +++ doc/guides/rel_notes

[dpdk-dev] [PATCH v11 7/8] app/bbdev: enable la12xx for bbdev

2021-10-16 Thread nipun . gupta
From: Hemant Agrawal this patch adds la12xx driver in test bbdev Signed-off-by: Hemant Agrawal --- app/test-bbdev/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build index edb9deef84..a726a5b3fa 100644 --- a/app/test-bbdev/

[dpdk-dev] [PATCH v11 8/8] app/bbdev: handle endianness of test data

2021-10-16 Thread nipun . gupta
From: Nipun Gupta With data input, output and harq also supported in big endian format, this patch updates the testbbdev application to handle the endianness conversion as directed by the the driver being used. The test vectors assumes the data in the little endian order, and thus if the driver

[PATCH v2 0/6] move DPAA2 QDMA driver freom raw to dma

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This change removes the DPAA2 QDMA raw driver and adds the QDMA driver in dma set of drivers. The underlying I/O framework remains intact, whereas the configuration part is done as per the DMA API support. Changes in v2: - Fix checkpath errors - Fix documentation compilation

[PATCH v2 1/6] raw/dpaa2_qdma: remove dpaa2 QDMA driver from raw

2022-05-05 Thread nipun . gupta
From: Nipun Gupta With DMA devices supported as a separate flavor of devices, the DPAA2 QDMA driver is moved in the DMA devices. This change removes the DPAA2 QDMA driver from raw devices. Signed-off-by: Nipun Gupta --- MAINTAINERS |5 - doc/api/doxy-api

[PATCH v2 2/6] dma/dpaa2: introduce DPAA2 DMA driver skeleton

2022-05-05 Thread nipun . gupta
From: Nipun Gupta The DPAA2 DMA driver is an implementation of the dmadev APIs, that provide means to initiate a DMA transaction from CPU. Earlier this was part of RAW driver, but with DMA drivers added as separate flavor of drivers, this driver is being moved to DMA drivers. Signed-off-by

[PATCH v2 3/6] dma/dpaa2: support basic operations

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This patch support basic DMA operations which includes device capability and channel setup. Signed-off-by: Nipun Gupta --- drivers/dma/dpaa2/dpaa2_qdma.c | 182 + 1 file changed, 182 insertions(+) diff --git a/drivers/dma/dpaa2/dpaa2_qdma.c b

[PATCH v2 4/6] dma/dpaa2: add PMD apis for additional configuration

2022-05-05 Thread nipun . gupta
From: Nipun Gupta Add additional PMD APIs for DPAA2 QDMA driver for configuring RBP, Ultra Short format, and Scatter Gather support Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + drivers/dma/dpaa2/dpaa2_qdma.c

[PATCH v2 5/6] dma/dpaa2: support DMA operations

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This patch support copy, submit, completed and completed status functionality of DMA driver. Signed-off-by: Nipun Gupta --- drivers/dma/dpaa2/dpaa2_qdma.c | 1173 drivers/dma/dpaa2/dpaa2_qdma.h | 71 +- drivers/dma/dpaa2

[PATCH v2 6/6] dma/dpaa2: support statistics

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This patch support DMA read and reset statistics operations. Signed-off-by: Nipun Gupta --- drivers/dma/dpaa2/dpaa2_qdma.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/dma/dpaa2/dpaa2_qdma.c b/drivers/dma/dpaa2/dpaa2_qdma.c

[PATCH v3 0/6] move DPAA2 QDMA driver freom raw to dma

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This change removes the DPAA2 QDMA raw driver and adds the QDMA driver in dma set of drivers. The underlying I/O framework remains intact, whereas the configuration part is done as per the DMA API support. Changes in v2: - Fix checkpath errors - Fix documentation compilation

[PATCH v3 2/6] dma/dpaa2: introduce DPAA2 DMA driver skeleton

2022-05-05 Thread nipun . gupta
From: Nipun Gupta The DPAA2 DMA driver is an implementation of the dmadev APIs, that provide means to initiate a DMA transaction from CPU. Earlier this was part of RAW driver, but with DMA drivers added as separate flavor of drivers, this driver is being moved to DMA drivers. Signed-off-by

[PATCH v3 1/6] raw/dpaa2_qdma: remove dpaa2 QDMA driver from raw

2022-05-05 Thread nipun . gupta
From: Nipun Gupta With DMA devices supported as a separate flavor of devices, the DPAA2 QDMA driver is moved in the DMA devices. This change removes the DPAA2 QDMA driver from raw devices. Signed-off-by: Nipun Gupta --- MAINTAINERS |5 - doc/api/doxy-api

[PATCH v3 3/6] dma/dpaa2: support basic operations

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This patch support basic DMA operations which includes device capability and channel setup. Signed-off-by: Nipun Gupta --- drivers/dma/dpaa2/dpaa2_qdma.c | 182 + 1 file changed, 182 insertions(+) diff --git a/drivers/dma/dpaa2/dpaa2_qdma.c b

[PATCH v3 4/6] dma/dpaa2: add PMD apis for additional configuration

2022-05-05 Thread nipun . gupta
From: Nipun Gupta Add additional PMD APIs for DPAA2 QDMA driver for configuring RBP, Ultra Short format, and Scatter Gather support Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + drivers/dma/dpaa2/dpaa2_qdma.c

[PATCH v3 5/6] dma/dpaa2: support DMA operations

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This patch support copy, submit, completed and completed status functionality of DMA driver. Signed-off-by: Nipun Gupta --- doc/guides/dmadevs/dpaa2.rst | 10 + drivers/dma/dpaa2/dpaa2_qdma.c | 1173 drivers/dma/dpaa2/dpaa2_qdma.h

[PATCH v3 6/6] dma/dpaa2: support statistics

2022-05-05 Thread nipun . gupta
From: Nipun Gupta This patch support DMA read and reset statistics operations. Signed-off-by: Nipun Gupta --- doc/guides/dmadevs/dpaa2.rst | 1 + drivers/dma/dpaa2/dpaa2_qdma.c | 34 ++ 2 files changed, 35 insertions(+) diff --git a/doc/guides/dmadevs/dpaa2

[PATCH] maintainers: update for nxp devices

2022-06-02 Thread nipun . gupta
From: Nipun Gupta Update and add maintainers for NXP devices and RAW device API Signed-off-by: Nipun Gupta --- MAINTAINERS | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f34f6fa2e9..030100ebc7 100644 --- a/MAINTAINERS +++ b

[dpdk-dev] [PATCH v5 0/9] baseband: add NXP LA12xx driver

2021-09-12 Thread Nipun Gupta
/la12xx: add devargs for max queues baseband/la12xx: add support for multiple modems baseband/la12xx: add queue and modem config support baseband/la12xx: add enqueue and dequeue support app/bbdev: enable la12xx for bbdev Nipun Gupta (3): bbdev: add big endian processing data capability

[dpdk-dev] [PATCH v5 1/9] bbdev: add big endian processing data capability

2021-09-12 Thread Nipun Gupta
This patch intoduces a new capability of the bbdev device to process the LDPC data in big endian order. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- doc/guides/bbdevs/features/default.ini | 1 + doc/guides/prog_guide/bbdev.rst| 6 ++ lib/bbdev/rte_bbdev_op.h

[dpdk-dev] [PATCH v5 2/9] baseband: introduce NXP LA12xx driver

2021-09-12 Thread Nipun Gupta
From: Hemant Agrawal This patch introduce the baseband device drivers for NXP's LA1200 series software defined baseband modem. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS | 9 ++ drivers/baseband/la12xx/bbdev_la1

[dpdk-dev] [PATCH v5 3/9] baseband/la12xx: add devargs for max queues

2021-09-12 Thread Nipun Gupta
From: Hemant Agrawal This patch adds dev args to take max queues as input Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 72 +- 1 file changed, 70 insertions(+), 2 deletions(-) diff --git a/drivers/baseband

[dpdk-dev] [PATCH v5 4/9] baseband/la12xx: add support for multiple modems

2021-09-12 Thread Nipun Gupta
From: Hemant Agrawal This patch add support for multiple modems by assigning a modem id as dev args in vdev creation. Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 64 +++--- drivers/baseband/la12xx/bbdev_la12xx.h | 56 +++ d

[dpdk-dev] [PATCH v5 5/9] baseband/la12xx: add queue and modem config support

2021-09-12 Thread Nipun Gupta
From: Hemant Agrawal This patch add support for connecting with modem and creating the ipc channel as queues with modem for the exchange of data. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS| 1 + doc/guides/bbdevs/index.rst

[dpdk-dev] [PATCH v5 6/9] baseband/la12xx: add enqueue and dequeue support

2021-09-12 Thread Nipun Gupta
From: Hemant Agrawal Add support for enqueue and dequeue the LDPC enc/dec from the modem device. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- doc/guides/bbdevs/features/la12xx.ini | 14 + doc/guides/bbdevs/la12xx.rst | 46 +++ drivers/baseband/la12xx

[dpdk-dev] [PATCH v5 7/9] app/bbdev: enable la12xx for bbdev

2021-09-12 Thread Nipun Gupta
From: Hemant Agrawal this patch adds la12xx driver in test bbdev Signed-off-by: Hemant Agrawal --- app/test-bbdev/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build index edb9deef84..a726a5b3fa 100644 --- a/app/test-bbdev/

[dpdk-dev] [PATCH v5 8/9] app/bbdev: handle endianness of test data

2021-09-12 Thread Nipun Gupta
does not mention the data as a big endian format, conversion from little endian to big will be handled by the testbbdev application. Signed-off-by: Nipun Gupta --- app/test-bbdev/test_bbdev_perf.c | 84 ++ app/test-bbdev/test_bbdev_vector.c | 4 ++ 2 files changed, 88

[dpdk-dev] [PATCH v5 9/9] app/bbdev: add test vectors for transport blocks

2021-09-12 Thread Nipun Gupta
This patch adds two test vectors for transport block in network byte order: - LDPC encode for Transport Block - LDPC decode for Transport block Signed-off-by: Nipun Gupta --- app/test-bbdev/test_vectors/ldpc_dec_tb.data | 122 +++ app/test-bbdev/test_vectors/ldpc_enc_tb.data

Re: [dpdk-dev] [PATCH v5 1/9] bbdev: add big endian processing data capability

2021-09-17 Thread Nipun Gupta
> -Original Message- > From: Chautru, Nicolas > Sent: Tuesday, September 14, 2021 12:10 AM > To: Nipun Gupta ; dev@dpdk.org; gak...@marvell.com > Cc: david.march...@redhat.com; Hemant Agrawal > ; Tom Rix > Subject: RE: [PATCH v5 1/9] bbdev: add big endian proce

Re: [dpdk-dev] [PATCH v5 5/9] baseband/la12xx: add queue and modem config support

2021-09-17 Thread Nipun Gupta
> -Original Message- > From: Chautru, Nicolas > Sent: Tuesday, September 14, 2021 12:26 AM > To: Nipun Gupta ; dev@dpdk.org; gak...@marvell.com > Cc: david.march...@redhat.com; Hemant Agrawal > Subject: RE: [PATCH v5 5/9] baseband/la12xx: add queue and mode

Re: [dpdk-dev] [PATCH v5 9/9] app/bbdev: add test vectors for transport blocks

2021-09-17 Thread Nipun Gupta
> -Original Message- > From: Chautru, Nicolas > Sent: Tuesday, September 14, 2021 12:32 AM > To: Nipun Gupta ; dev@dpdk.org; gak...@marvell.com > Cc: david.march...@redhat.com; Hemant Agrawal > Subject: RE: [PATCH v5 9/9] app/bbdev: add test vectors fo

[dpdk-dev] [PATCH v6 1/9] bbdev: add big endian processing data processing info

2021-09-23 Thread nipun . gupta
From: Nipun Gupta This patch intoduces a new info pertaining to bbdev device to process the data in big endian order. Signed-off-by: Nipun Gupta --- lib/bbdev/rte_bbdev.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h index 7017124414

[dpdk-dev] [PATCH v6 0/9] baseband: add NXP LA12xx driver

2021-09-23 Thread nipun . gupta
From: Nipun Gupta This series introduces the BBDEV LA12xx poll mode driver (PMD) to support an implementation for offloading High Phy processing functions like LDPC Encode / Decode 5GNR wireless acceleration function, using PCI based LA12xx Software defined radio. Please check the documentation

[dpdk-dev] [PATCH v6 2/9] baseband: introduce NXP LA12xx driver

2021-09-23 Thread nipun . gupta
From: Hemant Agrawal This patch introduce the baseband device drivers for NXP's LA1200 series software defined baseband modem. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS | 9 ++ drivers/baseband/la12xx/bbdev_la1

[dpdk-dev] [PATCH v6 3/9] baseband/la12xx: add devargs for max queues

2021-09-23 Thread nipun . gupta
From: Hemant Agrawal This patch adds dev args to take max queues as input Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 72 +- 1 file changed, 70 insertions(+), 2 deletions(-) diff --git a/drivers/baseband

[dpdk-dev] [PATCH v6 7/9] app/bbdev: enable la12xx for bbdev

2021-09-23 Thread nipun . gupta
From: Hemant Agrawal this patch adds la12xx driver in test bbdev Signed-off-by: Hemant Agrawal --- app/test-bbdev/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build index edb9deef84..a726a5b3fa 100644 --- a/app/test-bbdev/

[dpdk-dev] [PATCH v6 4/9] baseband/la12xx: add support for multiple modems

2021-09-23 Thread nipun . gupta
From: Hemant Agrawal This patch add support for multiple modems by assigning a modem id as dev args in vdev creation. Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 64 +++--- drivers/baseband/la12xx/bbdev_la12xx.h | 56 +++ d

[dpdk-dev] [PATCH v6 8/9] app/bbdev: handle endianness of test data

2021-09-23 Thread nipun . gupta
From: Nipun Gupta With data input, output and harq also supported in big endian format, this patch updates the testbbdev application to handle the endianness conversion as directed by the the driver being used. If the driver supports big endian data processing, conversion from little endian to

[dpdk-dev] [PATCH v6 6/9] baseband/la12xx: add enqueue and dequeue support

2021-09-23 Thread nipun . gupta
From: Hemant Agrawal Add support for enqueue and dequeue the LDPC enc/dec from the modem device. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- doc/guides/bbdevs/features/la12xx.ini | 13 + doc/guides/bbdevs/la12xx.rst | 47 ++- drivers/baseband/la12xx

[dpdk-dev] [PATCH v6 9/9] app/bbdev: add test vectors for transport blocks

2021-09-23 Thread nipun . gupta
From: Nipun Gupta This patch adds two test vectors for transport block in network byte order: - LDPC encode for Transport Block - LDPC decode for Transport block Signed-off-by: Nipun Gupta --- app/test-bbdev/test_vectors/ldpc_dec_tb.data | 265 +++ app/test-bbdev/test_vectors

[dpdk-dev] [PATCH v6 5/9] baseband/la12xx: add queue and modem config support

2021-09-23 Thread nipun . gupta
From: Hemant Agrawal This patch add support for connecting with modem and creating the ipc channel as queues with modem for the exchange of data. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS| 1 + doc/guides/bbdevs/index.rst

[dpdk-dev] [PATCH 00/11] NXP DPAAx Bus and PMD changes

2021-09-27 Thread nipun . gupta
From: Nipun Gupta This series adds new functionality related to flow redirection, multiple ordered tx enqueues, generating HW hash key etc. It also updates the MC firmware version and includes a fix in dpaxx library. Gagandeep Singh (1): common/dpaax: fix paddr to vaddr invalid conversion

[dpdk-dev] [PATCH 01/11] bus/fslmc: updated MC FW to 10.28

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal Updating MC firmware support APIs to be latest. It supports improved DPDMUX (SRIOV equivalent) for traffic split between dpnis and additional PTP APIs. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/mc/dpdmai.c | 4 +- drivers/bus/fslmc/mc/fsl_dpdmai.h |

[dpdk-dev] [PATCH 02/11] net/dpaa2: support Tx flow redirection action

2021-09-27 Thread nipun . gupta
From: Jun Yang TX redirection support by flow action RTE_FLOW_ACTION_TYPE_PHY_PORT and RTE_FLOW_ACTION_TYPE_PORT_ID This action is executed by HW to forward packets between ports. If the ingress packets match the rule, the packets are switched without software involved and perf is improved as we

[dpdk-dev] [PATCH 03/11] bus/fslmc: add qbman debug APIs support

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal Add support for debugging qbman FQs Signed-off-by: Youri Querry Signed-off-by: Roy Pledge Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- .../bus/fslmc/qbman/include/fsl_qbman_debug.h | 203 +- drivers/bus/fslmc/qbman/qbman_debug.c | 623

[dpdk-dev] [PATCH 05/11] net/dpaa2: add debug print for MTU set for jumbo

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal This patch adds a debug print for MTU configured on the device when jumbo frames are enabled. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2

[dpdk-dev] [PATCH 04/11] net/dpaa2: support multiple Tx queues enqueue for ordered

2021-09-27 Thread nipun . gupta
From: Jun Yang Support the tx enqueue in order queue mode, where the queue id for each event may be different. Signed-off-by: Jun Yang --- drivers/event/dpaa2/dpaa2_eventdev.c | 12 ++- drivers/net/dpaa2/dpaa2_ethdev.h | 3 + drivers/net/dpaa2/dpaa2_rxtx.c | 142 ++

[dpdk-dev] [PATCH 06/11] net/dpaa2: add function to generate HW hash key

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal This patch add support to generate the hash key in software equivalent to WRIOP key generation. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_tlu_hash.c | 149 drivers/net/dpaa2/meson.build | 1 + drivers/net/dpaa2/rte_

[dpdk-dev] [PATCH 07/11] net/dpaa2: update RSS to support additional distributions

2021-09-27 Thread nipun . gupta
From: Vanshika Shukla This patch updates the RSS support to support following additional distributions: - VLAN - ESP - AH - PPPOE Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 70 +- drivers/net/dpaa2/dpaa2_ethdev.h | 7 ++- 2 files

[dpdk-dev] [PATCH 08/11] net/dpaa: add comments to explain driver behaviour

2021-09-27 Thread nipun . gupta
From: Rohit Raj This patch adds comment to explain how dpaa_port_fmc_ccnode_parse function is working to get the HW queue from FMC policy file Signed-off-by: Rohit Raj --- drivers/net/dpaa/dpaa_fmc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa/dp

[dpdk-dev] [PATCH 09/11] raw/dpaa2_qdma: use correct params for config and queue setup

2021-09-27 Thread nipun . gupta
From: Nipun Gupta RAW configure and Queue setup APIs support size parameter for configure. This patch supports the same for DPAA2 QDMA PMD APIs Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 12 +--- drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h | 8

[dpdk-dev] [PATCH 10/11] raw/dpaa2_qdma: remove checks for lcore ID

2021-09-27 Thread nipun . gupta
From: Nipun Gupta There is no need for preventional check of rte_lcore_id() in data path. This patch removes the same. Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b

[dpdk-dev] [PATCH 11/11] common/dpaax: fix paddr to vaddr invalid conversion

2021-09-27 Thread nipun . gupta
("common/dpaax: add library for PA/VA translation table") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh Signed-off-by: Nipun Gupta --- drivers/common/dpaax/dpaax_iova_table.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/common/dpaax/dpaax_iova_

[dpdk-dev] [PATCH v1 00/11] NXP DPAAx Bus and PMD changes

2021-09-27 Thread nipun . gupta
From: Nipun Gupta This series adds new functionality related to flow redirection, multiple ordered tx enqueues, generating HW hash key etc. It also updates the MC firmware version and includes a fix in dpaxx library. Changes in v1: - Fix checkpatch errors Gagandeep Singh (1): common/dpaax

[dpdk-dev] [PATCH v1 01/11] bus/fslmc: updated MC FW to 10.28

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal Updating MC firmware support APIs to be latest. It supports improved DPDMUX (SRIOV equivalent) for traffic split between dpnis and additional PTP APIs. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/mc/dpdmai.c | 4 +- drivers/bus/fslmc/mc/fsl_dpdmai.h |

[dpdk-dev] [PATCH v1 02/11] net/dpaa2: support Tx flow redirection action

2021-09-27 Thread nipun . gupta
From: Jun Yang TX redirection support by flow action RTE_FLOW_ACTION_TYPE_PHY_PORT and RTE_FLOW_ACTION_TYPE_PORT_ID This action is executed by HW to forward packets between ports. If the ingress packets match the rule, the packets are switched without software involved and perf is improved as we

[dpdk-dev] [PATCH v1 03/11] bus/fslmc: add qbman debug APIs support

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal Add support for debugging qbman FQs Signed-off-by: Youri Querry Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- .../bus/fslmc/qbman/include/fsl_qbman_debug.h | 201 +- drivers/bus/fslmc/qbman/qbman_debug.c | 621 ++ drivers/bus

[dpdk-dev] [PATCH v1 05/11] net/dpaa2: add debug print for MTU set for jumbo

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal This patch adds a debug print for MTU configured on the device when jumbo frames are enabled. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2

[dpdk-dev] [PATCH v1 04/11] net/dpaa2: support multiple Tx queues enqueue for ordered

2021-09-27 Thread nipun . gupta
From: Jun Yang Support the tx enqueue in order queue mode, where the queue id for each event may be different. Signed-off-by: Jun Yang --- drivers/event/dpaa2/dpaa2_eventdev.c | 12 ++- drivers/net/dpaa2/dpaa2_ethdev.h | 4 + drivers/net/dpaa2/dpaa2_rxtx.c | 140 ++

[dpdk-dev] [PATCH v1 06/11] net/dpaa2: add function to generate HW hash key

2021-09-27 Thread nipun . gupta
From: Hemant Agrawal This patch add support to generate the hash key in software equivalent to WRIOP key generation. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_tlu_hash.c | 153 drivers/net/dpaa2/meson.build | 1 + drivers/net/dpaa2/rte_

[dpdk-dev] [PATCH v1 07/11] net/dpaa2: update RSS to support additional distributions

2021-09-27 Thread nipun . gupta
From: Vanshika Shukla This patch updates the RSS support to support following additional distributions: - VLAN - ESP - AH - PPPOE Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 70 +- drivers/net/dpaa2/dpaa2_ethdev.h | 7 ++- 2 files

[dpdk-dev] [PATCH v1 08/11] net/dpaa: add comments to explain driver behaviour

2021-09-27 Thread nipun . gupta
From: Rohit Raj This patch adds comment to explain how dpaa_port_fmc_ccnode_parse function is working to get the HW queue from FMC policy file Signed-off-by: Rohit Raj --- drivers/net/dpaa/dpaa_fmc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa/dp

[dpdk-dev] [PATCH v1 09/11] raw/dpaa2_qdma: use correct params for config and queue setup

2021-09-27 Thread nipun . gupta
From: Nipun Gupta RAW configure and Queue setup APIs support size parameter for configure. This patch supports the same for DPAA2 QDMA PMD APIs Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 12 +--- drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h | 8

[dpdk-dev] [PATCH v1 10/11] raw/dpaa2_qdma: remove checks for lcore ID

2021-09-27 Thread nipun . gupta
From: Nipun Gupta There is no need for preventional check of rte_lcore_id() in data path. This patch removes the same. Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b

[dpdk-dev] [PATCH v1 11/11] common/dpaax: fix paddr to vaddr invalid conversion

2021-09-27 Thread nipun . gupta
("common/dpaax: add library for PA/VA translation table") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh Signed-off-by: Nipun Gupta --- drivers/common/dpaax/dpaax_iova_table.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/common/dpaax/dpaax_iova_

[dpdk-dev] [PATCH v7 0/9] baseband: add NXP LA12xx driver

2021-09-28 Thread nipun . gupta
From: Nipun Gupta This series introduces the BBDEV LA12xx poll mode driver (PMD) to support an implementation for offloading High Phy processing functions like LDPC Encode / Decode 5GNR wireless acceleration function, using PCI based LA12xx Software defined radio. Please check the documentation

[dpdk-dev] [PATCH v7 1/9] bbdev: add big endian processing data processing info

2021-09-28 Thread nipun . gupta
From: Nipun Gupta This patch intoduces a new info pertaining to bbdev device to process the data in big endian order. Signed-off-by: Nipun Gupta --- lib/bbdev/rte_bbdev.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h index 7017124414

[dpdk-dev] [PATCH v7 2/9] baseband: introduce NXP LA12xx driver

2021-09-28 Thread nipun . gupta
From: Hemant Agrawal This patch introduce the baseband device drivers for NXP's LA1200 series software defined baseband modem. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS | 9 ++ drivers/baseband/la12xx/bbdev_la1

[dpdk-dev] [PATCH v7 3/9] baseband/la12xx: add devargs for max queues

2021-09-28 Thread nipun . gupta
From: Hemant Agrawal This patch adds dev args to take max queues as input Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 73 +- 1 file changed, 71 insertions(+), 2 deletions(-) diff --git a/drivers/baseband

[dpdk-dev] [PATCH v7 4/9] baseband/la12xx: add support for multiple modems

2021-09-28 Thread nipun . gupta
From: Hemant Agrawal This patch add support for multiple modems by assigning a modem id as dev args in vdev creation. Signed-off-by: Hemant Agrawal --- drivers/baseband/la12xx/bbdev_la12xx.c | 64 +++--- drivers/baseband/la12xx/bbdev_la12xx.h | 56 +++ d

[dpdk-dev] [PATCH v7 7/9] app/bbdev: enable la12xx for bbdev

2021-09-28 Thread nipun . gupta
From: Hemant Agrawal this patch adds la12xx driver in test bbdev Signed-off-by: Hemant Agrawal --- app/test-bbdev/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build index edb9deef84..a726a5b3fa 100644 --- a/app/test-bbdev/

[dpdk-dev] [PATCH v7 8/9] app/bbdev: handle endianness of test data

2021-09-28 Thread nipun . gupta
From: Nipun Gupta With data input, output and harq also supported in big endian format, this patch updates the testbbdev application to handle the endianness conversion as directed by the the driver being used. If the driver supports big endian data processing, conversion from little endian to

[dpdk-dev] [PATCH v7 5/9] baseband/la12xx: add queue and modem config support

2021-09-28 Thread nipun . gupta
From: Hemant Agrawal This patch add support for connecting with modem and creating the ipc channel as queues with modem for the exchange of data. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- MAINTAINERS| 1 + doc/guides/bbdevs/index.rst

[dpdk-dev] [PATCH v7 6/9] baseband/la12xx: add enqueue and dequeue support

2021-09-28 Thread nipun . gupta
From: Hemant Agrawal Add support for enqueue and dequeue the LDPC enc/dec from the modem device. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- doc/guides/bbdevs/features/la12xx.ini | 13 + doc/guides/bbdevs/la12xx.rst | 47 ++- drivers/baseband/la12xx

[dpdk-dev] [PATCH v7 9/9] app/bbdev: add test vectors for transport blocks

2021-09-28 Thread nipun . gupta
From: Nipun Gupta This patch adds two test vectors for transport block in network byte order: - LDPC encode for Transport Block - LDPC decode for Transport block Signed-off-by: Nipun Gupta --- app/test-bbdev/test_vectors/ldpc_dec_tb.data | 265 +++ app/test-bbdev/test_vectors

[dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ

2021-09-28 Thread nipun . gupta
From: Jun Yang The existing forwarding mode configures the total number of queues as the minimum of rxq and txq, so eventually the number of txq are same as rxq. However in some scenarios, specially for flow control the number of rxq and txq can be different. This patch makes the txq and function

[dpdk-dev] [PATCH] app/testpmd: update raw flow to take hex input

2021-09-28 Thread nipun . gupta
From: Nipun Gupta This patch enables method to provide key and mask for raw rules to be provided as hexadecimal values. There is new parameter pattern_mask added to support this. Signed-off-by: Nipun Gupta --- app/test-pmd/cmdline_flow.c | 15 +++ doc/guides

Re: [dpdk-dev] [PATCH] app/testpmd: update raw flow to take hex input

2021-09-28 Thread Nipun Gupta
Please ignore this patch for now. Regards, Nipun > -Original Message- > From: nipun.gu...@nxp.com > Sent: Tuesday, September 28, 2021 4:39 PM > To: dev@dpdk.org > Cc: xiaoyun...@intel.com; or...@nvidia.com; tho...@monjalon.net; > ferruh.yi...@intel.com; Hemant Agraw

Re: [dpdk-dev] [PATCH v3] dmadev: introduce DMA device library

2021-07-14 Thread Nipun Gupta
> +/** > + * A structure used to configure a virtual DMA channel. > + */ > +struct rte_dmadev_vchan_conf { > + uint8_t direction; > + /**< Set of supported transfer directions > + * @see RTE_DMA_MEM_TO_MEM > + * @see RTE_DMA_MEM_TO_DEV > + * @see RTE_DMA_DEV_TO_MEM > +

  1   2   3   4   5   6   7   8   9   >