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

2021-07-15 Thread Nipun Gupta
> -Original Message- > From: fengchengwen > Sent: Thursday, July 15, 2021 1:59 PM > To: Nipun Gupta ; tho...@monjalon.net; > ferruh.yi...@intel.com; bruce.richard...@intel.com; jer...@marvell.com; > jerinjac...@gmail.com; andrew.rybche...@oktetlabs.ru >

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

2021-07-15 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob > Sent: Thursday, July 15, 2021 6:02 PM > To: Bruce Richardson > Cc: Nipun Gupta ; fengchengwen > ; tho...@monjalon.net; ferruh.yi...@intel.com; > jer...@marvell.com; andrew.rybche...@oktetlabs.ru; dev@dpdk.org; > m.

RE: [dpdk-dev] [EXT] Re: compilation time of cnxk event driver

2021-11-11 Thread Nipun Gupta
Hi Pavan, Compilation of cnxk (both net and event) is also broken on top of the tree with aarch64-linux-gnu-gcc(gcc version 7.5.0 (Linaro GCC 7.5-> 2019.12)). Below are the error logs which are observed: FAILED: drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o aarch64-linux-gnu

RE: [dpdk-dev] [EXT] Re: compilation time of cnxk event driver

2021-11-11 Thread Nipun Gupta
Thanks for the info !! We can manually disable the drivers if compiling with this version Regards, Nipun > -Original Message- > From: Pavan Nikhilesh Bhagavatula > Sent: Thursday, November 11, 2021 7:51 PM > To: Nipun Gupta ; Ferruh Yigit ; > Thomas Monjalon ; Shijith

RE: [PATCH v2] examples/ptpclient: fix delay request message

2021-11-23 Thread Nipun Gupta
Acked-by: Nipun Gupta > -Original Message- > From: vanshika.shu...@nxp.com > Sent: 22 November 2021 13:01 > To: dev@dpdk.org; tho...@monjalon.net > Cc: Nipun Gupta ; david.march...@redhat.com; > sta...@dpdk.org; Vanshika Shukla > Subject: [PATCH v2] examples/ptpclie

[PATCH 00/17] features and fixes on NXP eth devices

2021-12-06 Thread nipun . gupta
From: Nipun Gupta This series adds few features and important fixes on DPAA, PFE and ENETC devices. Features added: - level 2 support for shaping on DPAA2 - loopback configuration for DPNI devices on DPAA2 - Multiple TXQ's enqueue for ordered queues for performance - VFs support on ENETC

[PATCH 01/17] bus/fslmc: update MC to 10.29

2021-12-06 Thread nipun . gupta
From: Nipun Gupta update MC firmware library version to 10.29 Signed-off-by: Nipun Gupta Signed-off-by: Gagandeep Singh --- drivers/bus/fslmc/mc/fsl_dpmng.h | 2 +- drivers/net/dpaa2/mc/dpdmux.c | 8 ++ drivers/net/dpaa2/mc/dpkg.c | 7 +- drivers/net/dpaa2/mc

[PATCH 02/17] bus/fslmc: use dmb oshst for synchronization before I/O

2021-12-06 Thread nipun . gupta
From: Nipun Gupta Outer Shareable Store (oshst) is sufficient for Data Memory Barrier (dmb) when doing IO on the interface via QBMAN. This will sync L3/DDR with the L1/L2 cached data. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/compat.h | 4 ++-- 1 file changed, 2

[PATCH 03/17] net/dpaa2: warn user in case of high nb desc

2021-12-06 Thread nipun . gupta
From: Rohit Raj Added warning message if application is configuring nb_desc more than supported by PEB memory suggesting user to configure HW descriptors in normal memory rather than in faster PEB memory. Signed-off-by: Rohit Raj --- drivers/net/dpaa2/dpaa2_ethdev.c | 13 + 1 file

[PATCH 04/17] net/dpaa2: fix unregistering interrupt handler

2021-12-06 Thread nipun . gupta
From: Vanshika Shukla This patch fixes code that handles unregistering LSC interrupt handler in dpaa2_dev_stop API. Fixes: c5acbb5ea20e ("net/dpaa2: support link status event") Cc: sta...@dpdk.org Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 7 ++- 1 file changed,

[PATCH 06/17] net/dpaa2: support multiple txqs en-queue for ordered

2021-12-06 Thread nipun . gupta
From: Jun Yang Support the tx enqueue in order queue mode, where 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 | 142 ++

[PATCH 05/17] net/dpaa2: fix timestamping for IEEE1588

2021-12-06 Thread nipun . gupta
From: Vanshika Shukla The current implementation of DPAA2 driver code is such that it records Rx and Tx timestamp for PTP without checking if they are PTP packets or not. Packets for which RTE_MBUF_F_RX_IEEE1588_TMST and RTE_MBUF_F_TX_IEEE1588_TMST is not set, Rx and Tx timestamp should not be re

[PATCH 07/17] net/dpaa2: add support for level 2 in traffic management

2021-12-06 Thread nipun . gupta
From: Gagandeep Singh This patch adds support for level 2 for QoS shaping. Signed-off-by: Gagandeep Singh --- doc/guides/nics/dpaa2.rst | 2 +- drivers/net/dpaa2/dpaa2_ethdev.c| 55 ++- drivers/net/dpaa2/dpaa2_ethdev.h| 6 +- drivers/net/dpaa2/dpaa2_tm.c| 563 +++

[PATCH 08/17] net/dpaa2: secondary process handling for dpni

2021-12-06 Thread nipun . gupta
From: Jun Yang This change uses 'dev->process_private' instead of 'priv->hw' to get dpmcp per process while setting flow distribution, as priv->hw is only valid for primary process. It also initialize rte_dpaa2_bpid_info in secondary process. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/d

[PATCH 09/17] bus/fslmc: add and scan dprc devices

2021-12-06 Thread nipun . gupta
From: Jun Yang In order to get connection endpoint of each objects, scan the dprc object. Signed-off-by: Jun Yang Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_bus.c| 15 ++- drivers/bus/fslmc/fslmc_vfio.c | 18 +++- drivers/bus/fslmc/mc/dprc.c

[PATCH 10/17] net/dpaa2: support recycle loopback port

2021-12-06 Thread nipun . gupta
From: Jun Yang DPAA2 recycle port is used for configuring the device in the loopback mode. Loopback configuraiton can be at dpni level or at serdes level. Signed-off-by: Jun Yang --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 3 +- drivers/net/dpaa2/dpaa2_ethdev.c| 32 +- drivers/net

[PATCH 11/17] net/dpaa: check status before configuring shared MAC

2021-12-06 Thread nipun . gupta
From: Nipun Gupta For shared MAC interface, it is a prerequisite to enable the interface in the kernel, before using it in user-space. This patch makes sure that device is not getting configured in case shared MAC interface is not enabled in the kernel. Signed-off-by: Nipun Gupta --- drivers

[PATCH 12/17] net/dpaa: enable checksum for shared MAC interface

2021-12-06 Thread nipun . gupta
From: Nipun Gupta In case of shared MAC B0V bit in contextA is required to be set to set so that ASPID is 0. Signed-off-by: Brick Yang Signed-off-by: Nipun Gupta --- drivers/net/dpaa/dpaa_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b

[PATCH 13/17] net/enetc: add support for VFs

2021-12-06 Thread nipun . gupta
From: Gagandeep Singh Add virtual function support for enetc devices Signed-off-by: Gagandeep Singh --- drivers/net/enetc/enetc_ethdev.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/net/enetc/enetc_ethdev.c b/drivers/net/enetc/enetc_eth

[PATCH 14/17] net/pfe: disable HW CRC stripping

2021-12-06 Thread nipun . gupta
From: Gagandeep Singh LS1012A MAC PCS block has an erratum that is seen with specific PHY AR803x. The issue is triggered by the (spec-compliant) operation of the AR803x PHY on the LS1012A-FRWY board. Due to this, good FCS packet is reported as error packet by MAC, so for these error packets FCS

[PATCH 15/17] net/pfe: reduce driver initialization time

2021-12-06 Thread nipun . gupta
From: Gagandeep Singh This patch reduces the delay in the device init. Signed-off-by: Gagandeep Singh --- drivers/net/pfe/pfe_hif.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_hif.c b/drivers/net/pfe/pfe_hif.c index c4a7154ba7..eade726b2e 10064

[PATCH 16/17] net/pfe: remove setting unused value

2021-12-06 Thread nipun . gupta
From: Apeksha Gupta remove setting link status where it is not being used Signed-off-by: Apeksha Gupta --- drivers/net/pfe/pfe_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_ethdev.c b/drivers/net/pfe/pfe_ethdev.c index bfcaf51dd9..5a3008cbb5

[PATCH 17/17] net/pfe: fix for 32 bit and PPC compilation

2021-12-06 Thread nipun . gupta
From: Sachin Saxena This patch fixes compilation for 32 bit and power PC compiler. Fixes: 36220514de01 ("net/pfe: add Rx/Tx") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal Signed-off-by: Sachin Saxena --- drivers/net/pfe/pfe_hif.c | 3 ++- drivers/net/pfe/pfe_hif_lib.c | 3 ++- 2 fil

[PATCH v2 00/16] features and fixes on NXP eth devices

2021-12-27 Thread nipun . gupta
From: Nipun Gupta This series adds few features and important fixes on DPAA, PFE and ENETC devices. Features added: - level 2 support for shaping on DPAA2 - loopback configuration for DPNI devices on DPAA2 - Multiple TXQ's enqueue for ordered queues for performance - VFs support on ENETC

[PATCH v2 01/16] bus/fslmc: update MC to 10.29

2021-12-27 Thread nipun . gupta
From: Nipun Gupta update MC firmware library version to 10.29 Signed-off-by: Nipun Gupta Signed-off-by: Gagandeep Singh --- drivers/bus/fslmc/mc/fsl_dpmng.h | 2 +- drivers/net/dpaa2/mc/dpdmux.c | 8 ++ drivers/net/dpaa2/mc/dpkg.c | 7 +- drivers/net/dpaa2/mc

[PATCH v2 02/16] bus/fslmc: use dmb oshst for synchronization before I/O

2021-12-27 Thread nipun . gupta
From: Nipun Gupta Outer Shareable Store (oshst) is sufficient for Data Memory Barrier (dmb) when doing IO on the interface via QBMAN. This will sync L3/DDR with the L1/L2 cached data. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/compat.h | 4 ++-- 1 file changed, 2

[PATCH v2 03/16] net/dpaa2: warn user in case of high nb desc

2021-12-27 Thread nipun . gupta
From: Rohit Raj Added warning message if application is configuring nb_desc more than supported by PEB memory suggesting user to configure HW descriptors in normal memory rather than in faster PEB memory. Signed-off-by: Rohit Raj --- drivers/net/dpaa2/dpaa2_ethdev.c | 13 + 1 file

[PATCH v2 04/16] net/dpaa2: fix unregistering interrupt handler

2021-12-27 Thread nipun . gupta
From: Vanshika Shukla This patch fixes code that handles unregistering LSC interrupt handler in dpaa2_dev_stop API. Fixes: c5acbb5ea20e ("net/dpaa2: support link status event") Cc: sta...@dpdk.org Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 7 ++- 1 file changed,

[PATCH v2 05/16] net/dpaa2: fix timestamping for IEEE1588

2021-12-27 Thread nipun . gupta
From: Vanshika Shukla The current implementation of DPAA2 driver code is such that it records Rx and Tx timestamp for PTP without checking if they are PTP packets or not. Packets for which RTE_MBUF_F_RX_IEEE1588_TMST and RTE_MBUF_F_TX_IEEE1588_TMST is not set, Rx and Tx timestamp should not be re

[PATCH v2 06/16] net/dpaa2: support multiple txqs en-queue for ordered

2021-12-27 Thread nipun . gupta
From: Jun Yang Support the tx enqueue in order queue mode, where 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 | 142 ++

[PATCH v2 08/16] net/dpaa2: secondary process handling for dpni

2021-12-27 Thread nipun . gupta
From: Jun Yang This change uses 'dev->process_private' instead of 'priv->hw' to get dpmcp per process while setting flow distribution, as priv->hw is only valid for primary process. It also initialize rte_dpaa2_bpid_info in secondary process. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/d

[PATCH v2 07/16] net/dpaa2: add support for level 2 in traffic management

2021-12-27 Thread nipun . gupta
From: Gagandeep Singh This patch adds support for level 2 for QoS shaping. Signed-off-by: Gagandeep Singh --- doc/guides/nics/dpaa2.rst | 2 +- drivers/net/dpaa2/dpaa2_ethdev.c| 55 ++- drivers/net/dpaa2/dpaa2_ethdev.h| 6 +- drivers/net/dpaa2/dpaa2_tm.c| 563 +++

[PATCH v2 09/16] bus/fslmc: add and scan dprc devices

2021-12-27 Thread nipun . gupta
From: Jun Yang In order to get connection endpoint of each objects, scan the dprc object. Signed-off-by: Jun Yang Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_bus.c| 15 ++- drivers/bus/fslmc/fslmc_vfio.c | 18 +++- drivers/bus/fslmc/mc/dprc.c

[PATCH v2 10/16] net/dpaa2: support recycle loopback port

2021-12-27 Thread nipun . gupta
From: Jun Yang DPAA2 recycle port is used for configuring the device in the loopback mode. Loopback configuration can be at dpni level or at serdes level. Signed-off-by: Jun Yang --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 3 +- drivers/net/dpaa2/dpaa2_ethdev.c| 32 +- drivers/net

[PATCH v2 11/16] net/dpaa: check status before configuring shared MAC

2021-12-27 Thread nipun . gupta
From: Nipun Gupta For shared MAC interface, it is a prerequisite to enable the interface in the kernel, before using it in user-space. This patch makes sure that device is not getting configured in case shared MAC interface is not enabled in the kernel. Signed-off-by: Nipun Gupta --- drivers

[PATCH v2 12/16] net/dpaa: enable checksum for shared MAC interface

2021-12-27 Thread nipun . gupta
From: Nipun Gupta In case of shared MAC B0V bit in contextA is required to be set to set so that ASPID is 0. Signed-off-by: Brick Yang Signed-off-by: Nipun Gupta --- drivers/net/dpaa/dpaa_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b

[PATCH v2 13/16] net/enetc: add support for VFs

2021-12-27 Thread nipun . gupta
From: Gagandeep Singh Add virtual function support for enetc devices Signed-off-by: Gagandeep Singh --- drivers/net/enetc/enetc_ethdev.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/net/enetc/enetc_ethdev.c b/drivers/net/enetc/enetc_eth

[PATCH v2 14/16] net/pfe: disable HW CRC stripping

2021-12-27 Thread nipun . gupta
From: Gagandeep Singh LS1012A MAC PCS block has an erratum that is seen with specific PHY AR803x. The issue is triggered by the (spec-compliant) operation of the AR803x PHY on the LS1012A-FRWY board. Due to this, good FCS packet is reported as error packet by MAC, so for these error packets FCS

[PATCH v2 15/16] net/pfe: reduce driver initialization time

2021-12-27 Thread nipun . gupta
From: Gagandeep Singh This patch reduces the delay in the device init. Signed-off-by: Gagandeep Singh --- drivers/net/pfe/pfe_hif.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_hif.c b/drivers/net/pfe/pfe_hif.c index c4a7154ba7..eade726b2e 10064

[PATCH v2 16/16] net/pfe: remove setting unused value

2021-12-27 Thread nipun . gupta
From: Apeksha Gupta remove setting link status where it is not being used Signed-off-by: Apeksha Gupta --- drivers/net/pfe/pfe_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_ethdev.c b/drivers/net/pfe/pfe_ethdev.c index bfcaf51dd9..5a3008cbb5

RE: [PATCH v2 00/16] features and fixes on NXP eth devices

2022-01-02 Thread Nipun Gupta
> -Original Message- > From: Stephen Hemminger > Sent: 27 December 2021 23:21 > To: Nipun Gupta > Cc: dev@dpdk.org; tho...@monjalon.net; ferruh.yi...@intel.com; Hemant > Agrawal > Subject: Re: [PATCH v2 00/16] features and fixes on NXP eth devices > > O

RE: [PATCH v2 15/16] net/pfe: reduce driver initialization time

2022-01-02 Thread Nipun Gupta
> -Original Message- > From: Stephen Hemminger > Sent: 27 December 2021 23:28 > To: Nipun Gupta > Cc: dev@dpdk.org; tho...@monjalon.net; ferruh.yi...@intel.com; Hemant > Agrawal ; Gagandeep Singh > Subject: Re: [PATCH v2 15/16] net/pfe: reduce driver initializa

RE: [PATCH v2 06/16] net/dpaa2: support multiple txqs en-queue for ordered

2022-01-02 Thread Nipun Gupta
> -Original Message- > From: Stephen Hemminger > Sent: 27 December 2021 23:32 > To: Nipun Gupta > Cc: dev@dpdk.org; tho...@monjalon.net; ferruh.yi...@intel.com; Hemant > Agrawal ; Jun Yang > Subject: Re: [PATCH v2 06/16] net/dpaa2: support multiple txqs en-queue

RE: [PATCH v2 14/16] net/pfe: disable HW CRC stripping

2022-01-02 Thread Nipun Gupta
> -Original Message- > From: Stephen Hemminger > Sent: 27 December 2021 23:19 > To: Nipun Gupta > Cc: dev@dpdk.org; tho...@monjalon.net; ferruh.yi...@intel.com; Hemant > Agrawal ; Gagandeep Singh > Subject: Re: [PATCH v2 14/16] net/pfe: disable HW CRC strippin

RE: [PATCH v2 06/16] net/dpaa2: support multiple txqs en-queue for ordered

2022-01-03 Thread Nipun Gupta
> -Original Message- > From: Nipun Gupta > Sent: 03 January 2022 11:17 > To: Stephen Hemminger > Cc: dev@dpdk.org; tho...@monjalon.net; ferruh.yi...@intel.com; Hemant > Agrawal ; Jun Yang > Subject: RE: [PATCH v2 06/16] net/dpaa2: support multiple txqs e

[PATCH v3 00/15] features and fixes on NXP eth devices

2022-01-03 Thread nipun . gupta
From: Nipun Gupta This series adds few features and important fixes on DPAA, PFE and ENETC devices. Features added: - level 2 support for shaping on DPAA2 - loopback configuration for DPNI devices on DPAA2 - Multiple TXQ's enqueue for ordered queues for performance - VFs support on ENETC

[PATCH v3 01/15] bus/fslmc: update MC to 10.29

2022-01-03 Thread nipun . gupta
From: Nipun Gupta update MC firmware library version to 10.29 Signed-off-by: Nipun Gupta Signed-off-by: Gagandeep Singh --- drivers/bus/fslmc/mc/fsl_dpmng.h | 2 +- drivers/net/dpaa2/mc/dpdmux.c | 8 ++ drivers/net/dpaa2/mc/dpkg.c | 7 +- drivers/net/dpaa2/mc

[PATCH v3 02/15] bus/fslmc: use dmb oshst for synchronization before I/O

2022-01-03 Thread nipun . gupta
From: Nipun Gupta Outer Shareable Store (oshst) is sufficient for Data Memory Barrier (dmb) when doing IO on the interface via QBMAN. This will sync L3/DDR with the L1/L2 cached data. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/compat.h | 4 ++-- 1 file changed, 2

[PATCH v3 03/15] net/dpaa2: warn user in case of high nb desc

2022-01-03 Thread nipun . gupta
From: Rohit Raj Added warning message if application is configuring nb_desc more than supported by PEB memory suggesting user to configure HW descriptors in normal memory rather than in faster PEB memory. Signed-off-by: Rohit Raj --- drivers/net/dpaa2/dpaa2_ethdev.c | 13 + 1 file

[PATCH v3 04/15] net/dpaa2: fix unregistering interrupt handler

2022-01-03 Thread nipun . gupta
From: Vanshika Shukla This patch fixes code that handles unregistering LSC interrupt handler in dpaa2_dev_stop API. Fixes: c5acbb5ea20e ("net/dpaa2: support link status event") Cc: sta...@dpdk.org Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 7 ++- 1 file changed,

[PATCH v3 05/15] net/dpaa2: fix timestamping for IEEE1588

2022-01-03 Thread nipun . gupta
From: Vanshika Shukla The current implementation of DPAA2 driver code is such that it records Rx and Tx timestamp for PTP without checking if they are PTP packets or not. Packets for which RTE_MBUF_F_RX_IEEE1588_TMST and RTE_MBUF_F_TX_IEEE1588_TMST is not set, Rx and Tx timestamp should not be re

[PATCH v3 06/15] net/dpaa2: support multiple txqs en-queue for ordered

2022-01-03 Thread nipun . gupta
From: Jun Yang Support the tx enqueue in order queue mode, where 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 | 142 ++

[PATCH v3 07/15] net/dpaa2: add support for level 2 in traffic management

2022-01-03 Thread nipun . gupta
From: Gagandeep Singh This patch adds support for level 2 for QoS shaping. Signed-off-by: Gagandeep Singh --- doc/guides/nics/dpaa2.rst | 2 +- drivers/net/dpaa2/dpaa2_ethdev.c| 55 ++- drivers/net/dpaa2/dpaa2_ethdev.h| 6 +- drivers/net/dpaa2/dpaa2_tm.c| 563 +++

[PATCH v3 08/15] net/dpaa2: secondary process handling for dpni

2022-01-03 Thread nipun . gupta
From: Jun Yang This change uses 'dev->process_private' instead of 'priv->hw' to get dpmcp per process while setting flow distribution, as priv->hw is only valid for primary process. It also initialize rte_dpaa2_bpid_info in secondary process. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/d

[PATCH v3 09/15] bus/fslmc: add and scan dprc devices

2022-01-03 Thread nipun . gupta
From: Jun Yang In order to get connection endpoint of each objects, scan the dprc object. Signed-off-by: Jun Yang Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_bus.c| 15 ++- drivers/bus/fslmc/fslmc_vfio.c | 18 +++- drivers/bus/fslmc/mc/dprc.c

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

2022-01-03 Thread nipun . gupta
From: Jun Yang DPAA2 recycle port is used for configuring the device in the loopback mode. Loopback configuration can be at dpni level or at serdes level. Signed-off-by: Jun Yang --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 3 +- drivers/net/dpaa2/dpaa2_ethdev.c| 32 +- drivers/net

[PATCH v3 11/15] net/dpaa: check status before configuring shared MAC

2022-01-03 Thread nipun . gupta
From: Nipun Gupta For shared MAC interface, it is a prerequisite to enable the interface in the kernel, before using it in user-space. This patch makes sure that device is not getting configured in case shared MAC interface is not enabled in the kernel. Signed-off-by: Nipun Gupta --- drivers

[PATCH v3 12/15] net/dpaa: enable checksum for shared MAC interface

2022-01-03 Thread nipun . gupta
From: Nipun Gupta In case of shared MAC B0V bit in contextA is required to be set to set so that ASPID is 0. Signed-off-by: Brick Yang Signed-off-by: Nipun Gupta --- drivers/net/dpaa/dpaa_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b

[PATCH v3 13/15] net/enetc: add support for VFs

2022-01-03 Thread nipun . gupta
From: Gagandeep Singh Add virtual function support for enetc devices Signed-off-by: Gagandeep Singh --- drivers/net/enetc/enetc_ethdev.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/net/enetc/enetc_ethdev.c b/drivers/net/enetc/enetc_eth

[PATCH v3 14/15] net/pfe: reduce driver initialization time

2022-01-03 Thread nipun . gupta
From: Gagandeep Singh This patch reduces the delay in the device init. Signed-off-by: Gagandeep Singh Signed-off-by: Nipun Gupta --- drivers/net/pfe/pfe_hif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_hif.c b/drivers/net/pfe/pfe_hif.c index

[PATCH v3 15/15] net/pfe: remove setting unused value

2022-01-03 Thread nipun . gupta
From: Apeksha Gupta remove setting link status where it is not being used Signed-off-by: Apeksha Gupta --- drivers/net/pfe/pfe_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_ethdev.c b/drivers/net/pfe/pfe_ethdev.c index 047010e15e..e5aaf5dcfd

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

2021-02-23 Thread Nipun Gupta
Has anyone tried using 'dpdk-graph-crypto-perf' on any of the ARM platform? There seems to be some dependencies on tools/utilities orca and plotly which seems missing for ARM. Regards, Nipun

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

2021-02-24 Thread Nipun Gupta
Hi Ciara, Thanks for the info. We will try with Kaleido and plotly v4.9+. Regards, Nipun > -Original Message- > From: Power, Ciara > Sent: Wednesday, February 24, 2021 4:29 PM > To: Nipun Gupta ; dev@dpdk.org > Cc: Vanshika Shukla ; Hemant Agrawal > ; Doherty, De

[PATCH v4 0/4] Support AMD CDX bus, for FPGA based CDX devices. The CDX

2023-05-08 Thread Nipun Gupta
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 cdx bus bus/cdx: add DMA map and unmap support bus/cdx: add support for MSI

[PATCH v4 1/4] bus/cdx: introduce cdx bus

2023-05-08 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta --- MAINTAINERS| 5 + doc/guides/rel_notes/release_23_07.rst | 6 + drivers/bus/cdx/bus_cdx_driver.h | 201 ++ drivers/bus/cdx/cdx.c | 520 + drivers/bus/cdx/cdx_logs.h | 37

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

2023-05-08 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

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

2023-05-08 Thread Nipun Gupta
This change adds 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/bus_cdx_driver.h | 1 + drivers/bus/cdx/cdx.c| 122 +++ 2

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

2023-05-08 Thread Nipun Gupta
pts on the interrupt handle. This would be provided by VFIO (irq.count) for VFIO enabled devices. - rte_intr_irq_count_get: This API returns the total number interrupts which were set. Signed-off-by: Nipun Gupta --- drivers/bus/cdx/bus_cdx_driver.h | 25 drivers/bus

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

2023-05-10 Thread Nipun Gupta
On 4/24/2023 8:52 PM, David Marchand wrote: Hello Anatoly, On Wed, Apr 5, 2023 at 4:17 PM Burakov, Anatoly wrote: Could you please provide some steps to reproduce the hotplug issue you're having? It would be great to have a test case for this patchset to put it in context. I am working o

[PATCH v5 0/5] Support AMD CDX bus

2023-05-25 Thread Nipun Gupta
nal 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 user. Nipun Gupta (5): bus/cdx: introduce AMD

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

2023-05-25 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 | 196 ++ drivers/bus/cdx/cdx.c | 517 + drivers/bus/cdx

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

2023-05-25 Thread Nipun Gupta
-by: Nipun Gupta Acked-by: Ferruh Yigit --- lib/eal/common/eal_common_interrupts.c | 21 + lib/eal/common/eal_interrupts.h| 1 + lib/eal/include/rte_interrupts.h | 32 ++ lib/eal/version.map| 2 ++ 4 files changed, 56

[PATCH v5 2/5] bus/cdx: add DMA map and unmap support

2023-05-25 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 | 40

[PATCH v5 5/5] bus/cdx: support plug unplug and dev iterator

2023-05-25 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 v5 4/5] bus/cdx: add support for MSI

2023-05-25 Thread Nipun Gupta
pts on the interrupt handle. This would be provided by VFIO (irq.count) for VFIO enabled devices. - rte_intr_irq_count_get: This API returns the total number interrupts which were set. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 25 + drivers/bus

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

2023-06-01 Thread Nipun Gupta
Hi David, On 6/1/2023 8:55 PM, David Marchand wrote: On Thu, May 25, 2023 at 12:08 PM Nipun Gupta wrote: Have total number of IRQ count support in interrupt handle. In case of VFIO this IRQ count is returned when VFIO_DEVICE_GET_IRQ_INFO ioctl is invoked. This IRQ_count can used by the

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

2023-06-01 Thread Nipun Gupta
On 6/1/2023 8:30 PM, David Marchand wrote: + +struct rte_cdx_bus rte_cdx_bus = { + .bus = { + .scan = cdx_scan, + .probe = cdx_probe, + .find_device = cdx_find_device, + .parse = cdx_parse, I see neither unplug, nor cleanup op

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

2023-04-04 Thread Nipun Gupta
On 4/4/2023 8:43 PM, Burakov, Anatoly wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. On 2/7/2023 8:56 AM, Gupta, Nipun wrote: [AMD Official Use Only - General] Hi David, I agree that change is n

[PATCH 0/6] add support for CDX bus

2023-04-06 Thread Nipun Gupta
://patches.dpdk.org/project/dpdk/patch/20230124140746.594066-2-nipun.gu...@amd.com/ Changes RFC->v1: - Marked few API's as internal which were not required to be provided to user. Nipun Gupta (6): bus/cdx: introduce cdx bus bus/cdx: add dma map and unmap support bus/cdx: add support for MSI

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

2023-04-06 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta --- MAINTAINERS | 5 + drivers/bus/cdx/cdx.c | 570 ++ drivers/bus/cdx/cdx.h | 54 drivers/bus/cdx/cdx_logs.h| 37 +++ drivers/bus/cdx/cdx_vfio.c| 420 + drivers/bus/cdx

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

2023-04-06 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

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

2023-04-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 --- drivers/bus/cdx/cdx.c | 11 ++ drivers/bus/cdx/cdx_vfio.c | 182 - dr

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

2023-04-06 Thread Nipun Gupta
This change adds 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

[PATCH 5/6] bus: enable cdx bus

2023-04-06 Thread Nipun Gupta
enable the 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 6d2520c543..a78b4283bf 100644 --- a/drivers/bus/meson.build +++ b/drivers/bus/meson.build @@ -3,6

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

2023-04-06 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 | 14 ++ 2 files changed, 31 insertions(+) create mode 100644 config/arm/arm64_cdx_linux_gcc diff --git a/config/arm

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

2023-04-06 Thread Nipun Gupta
On 4/4/2023 8:43 PM, Burakov, Anatoly wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. On 2/7/2023 8:56 AM, Gupta, Nipun wrote: [AMD Official Use Only - General] Hi David, I agree that change is n

Re: [PATCH 0/6] add support for CDX bus

2023-04-07 Thread Nipun Gupta
On 4/7/2023 12:48 PM, David Marchand wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Hello, On Fri, Apr 7, 2023 at 8:02 AM Nipun Gupta wrote: Support AMD CDX bus, for FPGA based CDX devices

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

2023-04-13 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/bus_cdx_driver.h | 25 drivers/bus/cdx/cdx.c | 11 ++ drivers/bus/cdx/cdx_v

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

2023-04-13 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

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

2023-04-13 Thread Nipun Gupta
les. Changes RFC->v1: - Marked few API's as internal which were not required to be provided to user. 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 bus: enable cdx bus conf

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

2023-04-13 Thread Nipun Gupta
This change adds 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/bus_cdx_driver.h | 1 + drivers/bus/cdx/cdx.c| 122 +++ 2

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

2023-04-13 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta --- MAINTAINERS | 5 + drivers/bus/cdx/bus_cdx_driver.h | 201 drivers/bus/cdx/cdx.c| 521 +++ drivers/bus/cdx/cdx_logs.h | 37 +++ drivers/bus/cdx/cdx_vfio.c | 437

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

2023-04-13 Thread Nipun Gupta
enable the 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 6d2520c543..a78b4283bf 100644 --- a/drivers/bus/meson.build +++ b/drivers/bus/meson.build @@ -3,6

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

2023-04-13 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 | 14 ++ 2 files changed, 31 insertions(+) create mode 100644 config/arm/arm64_cdx_linux_gcc diff --git a/config/arm

[PATCH v3 0/5] Support AMD CDX bus, for FPGA based CDX devices. The CDX

2023-04-21 Thread Nipun Gupta
few API's as internal which were not required to be provided to user. Nipun Gupta (5): 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 config/arm: add AMD CDX

[PATCH v3 1/5] bus/cdx: introduce cdx bus

2023-04-21 Thread Nipun Gupta
. Signed-off-by: Nipun Gupta --- MAINTAINERS| 5 + doc/guides/rel_notes/release_23_07.rst | 6 + drivers/bus/cdx/bus_cdx_driver.h | 201 ++ drivers/bus/cdx/cdx.c | 520 + drivers/bus/cdx/cdx_logs.h | 37

[PATCH v3 2/5] bus/cdx: add DMA map and unmap support

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

[PATCH v3 3/5] bus/cdx: add support for MSI

2023-04-21 Thread Nipun Gupta
pts on the interrupt handle. This would be provided by VFIO (irq.count) for VFIO enabled devices. - rte_intr_irq_count_get: This API returns the total number interrupts which were set. Signed-off-by: Nipun Gupta --- drivers/bus/cdx/bus_cdx_driver.h | 25 drivers/bus

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

2023-04-21 Thread Nipun Gupta
This change adds 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/bus_cdx_driver.h | 1 + drivers/bus/cdx/cdx.c| 122 +++ 2

[PATCH v3 5/5] config/arm: add AMD CDX

2023-04-21 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 | 14 ++ 2 files changed, 31 insertions(+) create mode 100644 config/arm/arm64_cdx_linux_gcc diff --git a/config/arm

<    1   2   3   4   5   6   7   8   9   >