Re: [PATCH v5 1/5] bus/cdx: introduce AMD CDX bus

2023-06-05 Thread Nipun Gupta
On 6/1/2023 8:30 PM, David Marchand wrote: Hello, On Thu, May 25, 2023 at 12:08 PM Nipun Gupta wrote: + * AMD CDX bus interface + */ + +#ifdef __cplusplus +extern "C" { +#endif Do you expect some out of tree drivers written in C++? Otherwise, this is unneeded. As the C

Re: [PATCH v5 4/5] bus/cdx: add support for MSI

2023-06-05 Thread Nipun Gupta
On 6/1/2023 8:39 PM, David Marchand wrote: On Thu, May 25, 2023 at 12:09 PM Nipun Gupta wrote: @@ -116,6 +141,18 @@ cdx_vfio_unmap_resource_secondary(struct rte_cdx_device *dev) { struct mapped_cdx_resource *vfio_res = NULL; struct mapped_cdx_res_list

[PATCH v6 0/4] Support AMD CDX bus

2023-06-05 Thread Nipun Gupta
->v2: - Moved file rte_cdx_bus.h to internal bus_cdx_driver.h and added this file to deivce_cdx_headers - Moved cdx.h to private.h - Removed rte_ prefix from the static symbols in .c files. Changes RFC->v1: - Marked few API's as internal which were not required to be provided to u

[PATCH v6 1/4] bus/cdx: introduce AMD CDX bus

2023-06-05 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- MAINTAINERS| 5 + doc/guides/rel_notes/release_23_07.rst | 6 + drivers/bus/cdx/bus_cdx_driver.h | 175 + drivers/bus/cdx/cdx.c | 503 + drivers/bus/cdx

[PATCH v6 2/4] bus/cdx: add DMA map and unmap support

2023-06-05 Thread Nipun Gupta
AMD 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 Acked-by: Ferruh Yigit --- drivers/bus/cdx/cdx.c | 30

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

2023-06-05 Thread Nipun Gupta
This change adds support for plugging and unplugging CDX devices on AMD CDX bus. Also, CDX dev iterator support has been added for the CDX bus. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 1 + drivers/bus/cdx/cdx.c| 122

[PATCH v6 3/4] bus/cdx: add support for MSI

2023-06-05 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 Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 25 + drivers/bus/cdx/cdx.c| 11 ++ drivers/bu

Re: [EXT] [PATCH v5 3/5] eal/interrupts: add IRQ count in interrupt handle

2023-06-06 Thread Nipun Gupta
On 6/6/2023 12:48 PM, Harman Kalra wrote: -Original Message- From: Nipun Gupta Sent: Thursday, May 25, 2023 3:38 PM To: dev@dpdk.org; tho...@monjalon.net; david.march...@redhat.com; Harman Kalra ; anatoly.bura...@intel.com; step...@networkplumber.org Cc: ferruh.yi...@amd.com

Re: [PATCH v6 3/4] bus/cdx: add support for MSI

2023-06-06 Thread Nipun Gupta
On 6/6/2023 3:00 PM, David Marchand wrote: On Mon, Jun 5, 2023 at 3:27 PM Nipun Gupta wrote: +/* set up interrupt support (but not enable interrupts) */ static int -cdx_rte_vfio_setup_device(int vfio_dev_fd) +cdx_vfio_setup_interrupts(struct rte_cdx_device *dev, int vfio_dev_fd, I had

[PATCH v7 0/4] Support AMD CDX bus

2023-06-06 Thread Nipun Gupta
s - Moved cdx.h to private.h - Removed rte_ prefix from the static symbols in .c files. Changes RFC->v1: - Marked few API's as internal which were not required to be provided to user. Nipun Gupta (4): bus/cdx: introduce AMD CDX bus bus/cdx: add DMA map and unmap support bus/cd

[PATCH v7 1/4] bus/cdx: introduce AMD CDX bus

2023-06-06 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- MAINTAINERS| 5 + doc/guides/rel_notes/release_23_07.rst | 6 + drivers/bus/cdx/bus_cdx_driver.h | 166 drivers/bus/cdx/cdx.c | 503 + drivers/bus/cdx

[PATCH v7 2/4] bus/cdx: add DMA map and unmap support

2023-06-06 Thread Nipun Gupta
AMD 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 Acked-by: Ferruh Yigit --- drivers/bus/cdx/cdx.c | 30

[PATCH v7 3/4] bus/cdx: add support for MSI

2023-06-06 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 Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 25 + drivers/bus/cdx/cdx.c| 11 ++ drivers/bu

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

2023-06-06 Thread Nipun Gupta
This change adds support for plugging and unplugging CDX devices on AMD CDX bus. Also, CDX dev iterator support has been added for the CDX bus. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 1 + drivers/bus/cdx/cdx.c| 122

Re: [PATCH v7 1/4] bus/cdx: introduce AMD CDX bus

2023-06-06 Thread Nipun Gupta
On 6/6/2023 6:30 PM, Thomas Monjalon wrote: 06/06/2023 12:02, Nipun Gupta: +/* Forward declarations */ +struct rte_cdx_device; +struct rte_cdx_driver; +struct rte_cdx_bus; You should be very careful about what you export. + +#define CDX_BUS_DEVICES_PATH "/sys/bus/cdx/devices&qu

[PATCH v8 0/4] Support AMD CDX bus

2023-06-06 Thread Nipun Gupta
_map_resource Changes v1->v2: - Moved file rte_cdx_bus.h to internal bus_cdx_driver.h and added this file to deivce_cdx_headers - Moved cdx.h to private.h - Removed rte_ prefix from the static symbols in .c files. Changes RFC->v1: - Marked few API's as internal which were not required

[PATCH v8 1/4] bus/cdx: introduce AMD CDX bus

2023-06-06 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- MAINTAINERS| 5 + doc/guides/rel_notes/release_23_07.rst | 6 + drivers/bus/cdx/bus_cdx_driver.h | 166 drivers/bus/cdx/cdx.c | 503 + drivers/bus/cdx

[PATCH v8 2/4] bus/cdx: add DMA map and unmap support

2023-06-06 Thread Nipun Gupta
AMD 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 Acked-by: Ferruh Yigit --- drivers/bus/cdx/cdx.c | 30

[PATCH v8 3/4] bus/cdx: add support for MSI

2023-06-06 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 Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 25 + drivers/bus/cdx/cdx.c| 11 ++ drivers/bu

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

2023-06-06 Thread Nipun Gupta
This change adds support for plugging and unplugging CDX devices on AMD CDX bus. Also, CDX dev iterator support has been added for the CDX bus. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 1 + drivers/bus/cdx/cdx.c| 122

Re: [PATCH] bus/cdx: Remove ineffective code statement

2023-06-15 Thread Nipun Gupta
Acked-by: Nipun Gupta On 6/14/2023 3:52 PM, Abhijit Gangurde wrote: ret = 0 statement is ineffective since it is overwritten in a loop. Coverity issue: 385379 Fixes: 45ef232af515 ("bus/cdx: introduce AMD CDX bus") Signed-off-by: Abhijit Gangurde --- drivers/bus/cdx/cdx.c | 1

Re: [PATCH] bus/cdx: Move debug print before unmapping resource

2023-06-15 Thread Nipun Gupta
Please do not use first letter of the commit as capital ("Move" should be "move"). Also fix this for other patches sent for CDX. check-git-log.sh script report these errors. Please run this before sending. On 6/14/2023 3:53 PM, Abhijit Gangurde wrote: Debug print is moved before unmapping requ

[PATCH] maintainers: update for PCI bus driver

2023-06-15 Thread Nipun Gupta
Add myself as co-maintainer of PCI bus driver Signed-off-by: Nipun Gupta --- This patch is based on top of: http://patches.dpdk.org/project/dpdk/patch/20230613065738.42370-1-chenbo@intel.com/ MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH] config/arm: add AMD CDX

2023-06-15 Thread Nipun Gupta
Add meson build configuration for AMD CDX platform. Signed-off-by: Nipun Gupta --- This patch was earlier submitted as part of AMD CDX bus, but as it is platform support it has been separated out from the bus series. Previous patch link: http://patches.dpdk.org/project/dpdk/patch

Re: [PATCH v2 0/3] bus/cdx: fix coverity issue

2023-06-18 Thread Nipun Gupta
Please use in-reply-to while sending subsequent version of patches. On 6/16/2023 6:09 PM, Abhijit Gangurde wrote: This series fixes coverity issues 385379, 385381, 385377 v2: - Merged coverity fix patches into series - Updated commit message Series Acked-by: Nipun Gupta

Re: [PATCH] vfio: do not coalesce DMA mappings

2023-06-29 Thread Nipun Gupta
parameters will not be able to start because the too many pages will exceed the capability of IOMMU. Is it expected? Should we remove the --no-huge" in our testcase? Regards, Xuan -Original Message- From: Nipun Gupta Sent: Friday, December 30, 2022 5:59 PM To: dev@dpdk.org; tho...

[PATCH] doc: add information to update dma entry limit

2023-07-05 Thread Nipun Gupta
VFIO module provides configurable dma_entry_limit parameter to store the DMA entries. By default this is 64K and if we are using --no-huge, we shall need to increase the value of dma_entry_limit. Add commands in linux_gsg document to change the dma_entry_limit. Signed-off-by: Nipun Gupta

[PATCH v2] doc: add information to update dma entry limit

2023-07-05 Thread Nipun Gupta
VFIO module provides configurable dma_entry_limit parameter to store the DMA entries. By default this is 64K and if we are using --no-huge, we shall need to increase the value of dma_entry_limit. Add commands in linux_gsg document to change the dma_entry_limit. Signed-off-by: Nipun Gupta

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

2021-10-01 Thread Nipun Gupta
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, September 30, 2021 7:16 PM > To: Nipun Gupta ; dev@dpdk.org > Cc: xiaoyun...@intel.com; or...@nvidia.com; tho...@monjalon.net; Hemant > Agrawal ; Jun Yang > Subject: Re: [PATCH] app/testpmd: support uneq

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

2021-10-06 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 v8 1/8] bbdev: add big endian processing data processing info

2021-10-06 Thread nipun . gupta
From: Nipun Gupta This patch introduces 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 3ebf62e697

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

2021-10-06 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 v8 3/8] baseband/la12xx: add devargs for max queues

2021-10-06 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 v8 4/8] baseband/la12xx: add support for multiple modems

2021-10-06 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 v8 5/8] baseband/la12xx: add queue and modem config support

2021-10-06 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 v8 6/8] baseband/la12xx: add enqueue and dequeue support

2021-10-06 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 +++ drivers/baseband/la12xx

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

2021-10-06 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 v8 8/8] app/bbdev: handle endianness of test data

2021-10-06 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 v2 00/10] NXP DPAAx Bus and PMD changes

2021-10-06 Thread nipun . gupta
From: Nipun Gupta This series adds new functionality related to flow redirection, 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 Changes in v2: - remove unrequired multi-tx ordered patch Gagandeep

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

2021-10-06 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 v2 02/10] net/dpaa2: support Tx flow redirection action

2021-10-06 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 v2 03/10] bus/fslmc: add qbman debug APIs support

2021-10-06 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 | 201 +- drivers/bus/fslmc/qbman/qbman_debug.c | 621

[dpdk-dev] [PATCH v2 04/10] net/dpaa2: add debug print for MTU set for jumbo

2021-10-06 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 v2 05/10] net/dpaa2: add function to generate HW hash key

2021-10-06 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 v2 06/10] net/dpaa2: update RSS to support additional distributions

2021-10-06 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 v2 07/10] net/dpaa: add comments to explain driver behaviour

2021-10-06 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 v2 08/10] raw/dpaa2_qdma: use correct params for config and queue setup

2021-10-06 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 v2 09/10] raw/dpaa2_qdma: remove checks for lcore ID

2021-10-06 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 v2 10/10] common/dpaax: fix paddr to vaddr invalid conversion

2021-10-06 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 v3 00/10] NXP DPAAx Bus and PMD changes

2021-10-06 Thread nipun . gupta
From: Nipun Gupta This series adds new functionality related to flow redirection, 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 Changes in v2: - remove unrequired multi-tx ordered patch Changes in

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

2021-10-06 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 v3 02/10] net/dpaa2: support Tx flow redirection action

2021-10-06 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 v3 03/10] bus/fslmc: add qbman debug APIs support

2021-10-06 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 | 200 +- drivers/bus/fslmc/qbman/qbman_debug.c | 621

[dpdk-dev] [PATCH v3 04/10] net/dpaa2: add debug print for MTU set for jumbo

2021-10-06 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 v3 05/10] net/dpaa2: add function to generate HW hash key

2021-10-06 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 v3 06/10] net/dpaa2: update RSS to support additional distributions

2021-10-06 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 Acked-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 70 +- drivers/net/dpaa2/dpaa2_ethdev.

[dpdk-dev] [PATCH v3 07/10] net/dpaa: add comments to explain driver behaviour

2021-10-06 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 Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_fmc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff -

[dpdk-dev] [PATCH v3 08/10] raw/dpaa2_qdma: use correct params for config and queue setup

2021-10-06 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 Acked-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 14 +++--- drivers/raw/dpaa2_qdma

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

2021-10-06 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 Acked-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/raw

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

2021-10-06 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 Acked-by: Hemant Agrawal --- drivers/common/dpaax/dpaax_iova_table.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/driv

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

2021-10-06 Thread Nipun Gupta
Fixed and sent a new version. Thanks, Nipun > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, October 6, 2021 7:02 PM > To: Hemant Agrawal ; Nipun Gupta > > Cc: dev@dpdk.org; ferruh.yi...@intel.com; Sachin Saxena > ; Youri Querry ; Roy > Pledge

Re: [dpdk-dev] [PATCH v9] bbdev: add device info related to data endianness assumption

2021-10-06 Thread Nipun Gupta
Sure Nicolas, this seems fine. I'll use this change instead of existing patch 1/10 and send a re-spin. Thanks, Nipun > -Original Message- > From: Nicolas Chautru > Sent: Thursday, October 7, 2021 2:29 AM > To: dev@dpdk.org; gak...@marvell.com; Nipun Gupta ; > t...@

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

2021-10-07 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 v9 1/8] bbdev: add device info related to data endianness assumption

2021-10-07 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 --- doc/guides/rel_notes/release_21_11.rst | 1 + drivers/baseband/acc100/rte_acc100_pmd.c | 1 +

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

2021-10-07 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 v9 3/8] baseband/la12xx: add devargs for max queues

2021-10-07 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 v9 4/8] baseband/la12xx: add support for multiple modems

2021-10-07 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 v9 5/8] baseband/la12xx: add queue and modem config support

2021-10-07 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 v9 6/8] baseband/la12xx: add enqueue and dequeue support

2021-10-07 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 +++ drivers/baseband/la12xx

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

2021-10-07 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 v9 8/8] app/bbdev: handle endianness of test data

2021-10-07 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

Re: [dpdk-dev] [PATCH v3 00/10] NXP DPAAx Bus and PMD changes

2021-10-07 Thread Nipun Gupta
Sure Thomas, Thanks!! > -Original Message- > From: Thomas Monjalon > Sent: Thursday, October 7, 2021 3:08 PM > To: Nipun Gupta ; Hemant Agrawal > > Cc: dev@dpdk.org; ferruh.yi...@intel.com; Sachin Saxena > > Subject: Re: [dpdk-dev] [PATCH v3 00/10] NXP DPAAx Bus

Re: [dpdk-dev] [EXT] [PATCH v9] bbdev: add device info related to data endianness assumption

2021-10-07 Thread Nipun Gupta
> -Original Message- > From: Chautru, Nicolas > Sent: Thursday, October 7, 2021 9:12 PM > To: Akhil Goyal ; dev@dpdk.org; Nipun Gupta > ; t...@redhat.com > Cc: tho...@monjalon.net; Zhang, Mingshan ; > Joshi, Arun ; Hemant Agrawal > ; david.march...@redhat

Re: [dpdk-dev] [EXT] [PATCH v9] bbdev: add device info related to data endianness assumption

2021-10-07 Thread Nipun Gupta
> -Original Message- > From: Chautru, Nicolas > Sent: Friday, October 8, 2021 12:29 AM > To: Nipun Gupta ; Akhil Goyal ; > dev@dpdk.org; t...@redhat.com > Cc: tho...@monjalon.net; Zhang, Mingshan ; > Joshi, Arun ; Hemant Agrawal > ; david.march...@redhat.com >

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

2021-10-10 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 v10 1/8] bbdev: add device info related to data endianness

2021-10-10 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 v10 2/8] baseband: introduce NXP LA12xx driver

2021-10-10 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 v10 3/8] baseband/la12xx: add devargs for max queues

2021-10-10 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 v10 4/8] baseband/la12xx: add support for multiple modems

2021-10-10 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 v10 5/8] baseband/la12xx: add queue and modem config support

2021-10-10 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 v10 6/8] baseband/la12xx: add enqueue and dequeue support

2021-10-10 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 +++ drivers/baseband/la12xx

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

2021-10-10 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 v10 8/8] app/bbdev: handle endianness of test data

2021-10-10 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

[dpdk-dev] [PATCH 1/4] bus/dpaa: remove experimental tag and move to internal

2021-09-03 Thread Nipun Gupta
remove experimental tag from internal API dpaa_seqn. This API was introduced in DPDK 20.11 and is now moved to internal tag Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/rte_dpaa_bus.h | 5 + drivers/bus/dpaa/version.map| 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff

[dpdk-dev] [PATCH 2/4] bus/fslmc: remove experimental tag from API

2021-09-03 Thread Nipun Gupta
This API was introduced in 19.08, therefore removing experimental tag to promote them to stable state. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.h | 1 - drivers/bus/fslmc/version.map | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/bus/fslmc

[dpdk-dev] [PATCH 3/4] bus/fslmc: remove experimental and move to internal

2021-09-03 Thread Nipun Gupta
remove experimental tag from internal API dpaa2_seqn. This API was introduced in DPDK 20.11 and is now moved to internal tag Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/rte_fslmc.h | 5 + drivers/bus/fslmc/version.map | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

[dpdk-dev] [PATCH 4/4] net/dpaa2: remove experimental tag from API

2021-09-03 Thread Nipun Gupta
These APIs were introduced in 19.02, therefore removing experimental tag to promote them to stable state. Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/rte_pmd_dpaa2.h | 12 drivers/net/dpaa2/version.map | 8 +++- 2 files changed, 7 insertions(+), 13 deletions(-) diff

Re: [dpdk-dev] [PATCH 2/4] bus/fslmc: remove experimental tag from API

2021-09-09 Thread Nipun Gupta
> -Original Message- > From: David Marchand > Sent: Thursday, September 9, 2021 1:21 PM > To: Nipun Gupta > Cc: Thomas Monjalon ; dev ; Hemant > Agrawal ; Sachin Saxena (OSS) > ; Ray Kinsella > Subject: Re: [PATCH 2/4] bus/fslmc: remove experimental tag fro

[PATCH] vfio: do not coalesce DMA mappings

2022-12-30 Thread Nipun Gupta
At the cleanup time when dma unmap is done, linux kernel does not allow unmap of individual segments which were coalesced together while creating the DMA map for type1 IOMMU mappings. So, this change updates the mapping of the memory segments(hugepages) on a per-page basis. Signed-off-by: Nipun

[PATCH v2] vfio: do not coalesce DMA mappings

2023-01-03 Thread Nipun Gupta
Nikolaev Ning Li -Nipun Gupta +Nipun Gupta Nir Efrati Nirmoy Das Nithin Dabilpuram diff --git a/lib/eal/linux/eal_vfio.c b/lib/eal/linux/eal_vfio.c index 549b86ae1d..56edccb0db 100644 --- a/lib/eal/linux/eal_vfio.c +++ b/lib/eal/linux/eal_vfio.c @@ -1369,19 +1369,6

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

2021-05-13 Thread Nipun Gupta
> > + .type = RTE_BBDEV_OP_LDPC_DEC, > > + .cap.ldpc_dec = { > > + .capability_flags = > > + RTE_BBDEV_LDPC_CRC_TYPE_24A_CHECK | > > + RTE_BBDEV_LDPC_LLR_COMPRESSION | > > Are you sure you support the 6b

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

2021-05-17 Thread Nipun Gupta
Hi, > -Original Message- > From: Chautru, Nicolas > Sent: Thursday, May 13, 2021 8:21 PM > To: Nipun Gupta ; Hemant Agrawal > ; dev@dpdk.org; gak...@marvell.com > Cc: david.march...@redhat.com > Subject: RE: [PATCH v4 5/8] baseband/la12xx: add queue and modem con

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

2021-05-19 Thread Nipun Gupta
> -Original Message- > From: Chautru, Nicolas > Sent: Monday, May 17, 2021 11:23 PM > To: Nipun Gupta ; Hemant Agrawal > ; dev@dpdk.org; gak...@marvell.com > Cc: david.march...@redhat.com > Subject: RE: [PATCH v4 5/8] baseband/la12xx: add queue and m

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

2022-04-21 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. Nipun Gupta (6): raw/dpaa2_qdma: remove dpaa2 QDMA driver from raw

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

2022-04-21 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 seprate flavor of drivers, this driver is being moved to DMA drivers. Signed-off-by

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

2022-04-21 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/guides/rawdevs

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

2022-04-21 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 4/6] dma/dpaa2: add PMD apis for additional configuration

2022-04-21 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 --- drivers/dma/dpaa2/dpaa2_qdma.c | 38 ++ drivers/dma/dpaa2/rte_pmd_dpaa2_qdma.h | 96

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

2022-04-21 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 6/6] dma/dpaa2: support statistics

2022-04-21 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

<    1   2   3   4   5   6   7   8   9   >