[dpdk-dev] [PATCH v6 4/8] bus/fslmc: add macros required by QDMA for FLE and FD

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e081afb

[dpdk-dev] [PATCH v6 6/8] raw/dpaa2_qdma: support configuration APIs

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_qdma/Makefile| 2 + drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 375

[dpdk-dev] [PATCH v6 5/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

2018-05-02 Thread Nipun Gupta
DPAA2 QDMA driver uses MC DPDMAI object. This driver enables the user (app) to perform data DMA without involving CPU in the DMA process Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 8 + config/common_base

[dpdk-dev] [PATCH v6 7/8] raw/dpaa2_qdma: support enq and deq operations

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 333 + drivers/raw/dpaa2_qdma/dpaa2_qdma.h| 21 ++ drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h| 70 + .../raw/dpaa2_qdma

[dpdk-dev] [PATCH v6 8/8] doc: add DPAA2 QDMA rawdev guide

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 1 + doc/guides/index.rst | 1 + doc/guides/rawdevs/dpaa2_qdma.rst | 140 + doc/guides/rawdevs/index.rst | 14 doc/guides

[dpdk-dev] [PATCH v4 0/7] Introduce DPAA2 Command Interface raw driver

2018-05-02 Thread Nipun Gupta
too - Fix up error handling in patch 3 - Merged the two separate doc patches (patch 7) Changes in v4: - Added meson build support Nipun Gupta (7): mempool/dpaa2: add functions exposed to DPDK applications bus/fslmc: expose API to free dpci device bus/fslmc: keep Tx queues information for

[dpdk-dev] [PATCH v4 2/7] bus/fslmc: expose API to free dpci device

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 70fb719..d433714 100644 --- a/drivers/bus

[dpdk-dev] [PATCH v4 1/7] mempool/dpaa2: add functions exposed to DPDK applications

2018-05-02 Thread Nipun Gupta
There are two API's which are required by NXP specific Command Interface Application (AIOP CMDIF). This patch exposes these two API's. Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1

[dpdk-dev] [PATCH v4 4/7] raw/dpaa2_cmdif: introduce DPAA2 command interface driver

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 4 + config/common_base | 5 + config/common_linuxapp | 1 + drivers/raw/Makefile | 1 + drivers/raw/dpaa2_cmdif

[dpdk-dev] [PATCH v4 5/7] raw/dpaa2_cmdif: add attribute get functionality

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index e3e2b64..bdd7c16 100644 --- a/drivers/raw/dpaa2_cmdif

[dpdk-dev] [PATCH v4 3/7] bus/fslmc: keep Tx queues information for DPCI devices too

2018-05-02 Thread Nipun Gupta
The DPCI devices have oth Tx and Rx queues. Event devices use DPCI Rx queues only, but CMDIF (AIOP) uses both Tx and Rx queues. This patch enables Tx queues configuration too. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 86

[dpdk-dev] [PATCH v4 6/7] raw/dpaa2_cmdif: support enqueue dequeue operations

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_cmdif/Makefile | 2 + drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 136 ++ drivers/raw

[dpdk-dev] [PATCH v4 7/7] doc: add DPAA2 CMDIF rawdev guide

2018-05-02 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Marko Kovacevic --- MAINTAINERS| 1 + doc/guides/rawdevs/dpaa2_cmdif.rst | 144 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rel_notes/release_18_05.rst | 11 +++ 4 files

[dpdk-dev] [PATCH v7 0/8] Introduce DPAA2 QDMA raw driver

2018-05-03 Thread Nipun Gupta
uild Changes in v7: - Fix x86 shared build Nipun Gupta (8): raw: support meson build bus/fslmc: support MC DPDMAI object bus/fslmc: support scanning and probing of QDMA devices bus/fslmc: add macros required by QDMA for FLE and FD raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

[dpdk-dev] [PATCH v7 1/8] raw: support meson build

2018-05-03 Thread Nipun Gupta
Signed-off-by: Shreyansh Jain Signed-off-by: Nipun Gupta --- drivers/meson.build | 3 ++- drivers/raw/meson.build | 7 +++ drivers/raw/skeleton_rawdev/meson.build | 8 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 drivers

[dpdk-dev] [PATCH v7 2/8] bus/fslmc: support MC DPDMAI object

2018-05-03 Thread Nipun Gupta
This patch adds the DPDMAI (Data Path DMA Interface) object support in MC driver. Signed-off-by: Cristian Sovaiala Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/Makefile | 9 +- drivers/bus/fslmc/mc/dpdmai.c | 429

[dpdk-dev] [PATCH v7 3/8] bus/fslmc: support scanning and probing of QDMA devices

2018-05-03 Thread Nipun Gupta
'dpdmai' devices detected on fsl-mc bus are represented by DPAA2 QDMA devices in DPDK. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 2 ++ drivers/bus/fslmc/fslmc_vfio.c | 1 + drivers/bus/fslmc/rte_fslmc.h | 2 ++ 3 files changed, 5

[dpdk-dev] [PATCH v7 4/8] bus/fslmc: add macros required by QDMA for FLE and FD

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e081afb

[dpdk-dev] [PATCH v7 5/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

2018-05-03 Thread Nipun Gupta
DPAA2 QDMA driver uses MC DPDMAI object. This driver enables the user (app) to perform data DMA without involving CPU in the DMA process Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 8 + config/common_base

[dpdk-dev] [PATCH v7 6/8] raw/dpaa2_qdma: support configuration APIs

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_qdma/Makefile| 2 + drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 375

[dpdk-dev] [PATCH v7 7/8] raw/dpaa2_qdma: support enq and deq operations

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 333 + drivers/raw/dpaa2_qdma/dpaa2_qdma.h| 21 ++ drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h| 70 + .../raw/dpaa2_qdma

[dpdk-dev] [PATCH v7 8/8] doc: add DPAA2 QDMA rawdev guide

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 1 + doc/guides/index.rst | 1 + doc/guides/rawdevs/dpaa2_qdma.rst | 140 + doc/guides/rawdevs/index.rst | 14 doc/guides

Re: [dpdk-dev] [PATCH v7 0/8] Introduce DPAA2 QDMA raw driver

2018-05-03 Thread Nipun Gupta
Please ignore this series. It has some issues. I will resend. Thanks, Nipun > -Original Message- > From: Nipun Gupta > Sent: Thursday, May 3, 2018 9:22 PM > To: tho...@monjalon.net; Hemant Agrawal ; > Shreyansh Jain > Cc: dev@dpdk.org; Nipun Gupta > Subject: [PA

[dpdk-dev] [PATCH RESEND v7 1/8] raw: support meson build

2018-05-03 Thread Nipun Gupta
Signed-off-by: Shreyansh Jain Signed-off-by: Nipun Gupta --- drivers/meson.build | 3 ++- drivers/raw/meson.build | 7 +++ drivers/raw/skeleton_rawdev/meson.build | 8 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 drivers

[dpdk-dev] [PATCH RESEND v7 0/8] Introduce DPAA2 QDMA raw driver

2018-05-03 Thread Nipun Gupta
uild Changes in v7: - Fix x86 shared build Nipun Gupta (8): raw: support meson build bus/fslmc: support MC DPDMAI object bus/fslmc: support scanning and probing of QDMA devices bus/fslmc: add macros required by QDMA for FLE and FD raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

[dpdk-dev] [PATCH RESEND v7 2/8] bus/fslmc: support MC DPDMAI object

2018-05-03 Thread Nipun Gupta
This patch adds the DPDMAI (Data Path DMA Interface) object support in MC driver. Signed-off-by: Cristian Sovaiala Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/Makefile | 9 +- drivers/bus/fslmc/mc/dpdmai.c | 429

[dpdk-dev] [PATCH RESEND v7 3/8] bus/fslmc: support scanning and probing of QDMA devices

2018-05-03 Thread Nipun Gupta
'dpdmai' devices detected on fsl-mc bus are represented by DPAA2 QDMA devices in DPDK. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 2 ++ drivers/bus/fslmc/fslmc_vfio.c | 1 + drivers/bus/fslmc/rte_fslmc.h | 2 ++ 3 files changed, 5

[dpdk-dev] [PATCH RESEND v7 5/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

2018-05-03 Thread Nipun Gupta
DPAA2 QDMA driver uses MC DPDMAI object. This driver enables the user (app) to perform data DMA without involving CPU in the DMA process Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 8 + config/common_base

[dpdk-dev] [PATCH RESEND v7 4/8] bus/fslmc: add macros required by QDMA for FLE and FD

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e081afb

[dpdk-dev] [PATCH RESEND v7 6/8] raw/dpaa2_qdma: support configuration APIs

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_qdma/Makefile| 2 + drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 375

[dpdk-dev] [PATCH RESEND v7 7/8] raw/dpaa2_qdma: support enq and deq operations

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 333 + drivers/raw/dpaa2_qdma/dpaa2_qdma.h| 21 ++ drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h| 70 + .../raw/dpaa2_qdma

[dpdk-dev] [PATCH RESEND v7 8/8] doc: add DPAA2 QDMA rawdev guide

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 1 + doc/guides/index.rst | 1 + doc/guides/rawdevs/dpaa2_qdma.rst | 140 + doc/guides/rawdevs/index.rst | 14 doc/guides

[dpdk-dev] [PATCH v5 0/7] Introduce DPAA2 Command Interface raw driver

2018-05-03 Thread Nipun Gupta
too - Fix up error handling in patch 3 - Merged the two separate doc patches (patch 7) Changes in v4: - Added meson build support Changes in v5: - Fixed shared build for x86 Nipun Gupta (7): mempool/dpaa2: add functions exposed to DPDK applications bus/fslmc: expose API to free dpci

[dpdk-dev] [PATCH v5 1/7] mempool/dpaa2: add functions exposed to DPDK applications

2018-05-03 Thread Nipun Gupta
There are two API's which are required by NXP specific Command Interface Application (AIOP CMDIF). This patch exposes these two API's. Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1

[dpdk-dev] [PATCH v5 2/7] bus/fslmc: expose API to free dpci device

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 70fb719..d433714 100644 --- a/drivers/bus

[dpdk-dev] [PATCH v5 3/7] bus/fslmc: keep Tx queues information for DPCI devices too

2018-05-03 Thread Nipun Gupta
The DPCI devices have oth Tx and Rx queues. Event devices use DPCI Rx queues only, but CMDIF (AIOP) uses both Tx and Rx queues. This patch enables Tx queues configuration too. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 86

[dpdk-dev] [PATCH v5 4/7] raw/dpaa2_cmdif: introduce DPAA2 command interface driver

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 4 + config/common_base | 5 + config/common_linuxapp | 1 + drivers/raw/Makefile | 1 + drivers/raw/dpaa2_cmdif

[dpdk-dev] [PATCH v5 5/7] raw/dpaa2_cmdif: add attribute get functionality

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index e3e2b64..bdd7c16 100644 --- a/drivers/raw/dpaa2_cmdif

[dpdk-dev] [PATCH v5 7/7] doc: add DPAA2 CMDIF rawdev guide

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Marko Kovacevic --- MAINTAINERS| 1 + doc/guides/rawdevs/dpaa2_cmdif.rst | 144 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rel_notes/release_18_05.rst | 11 +++ 4 files

[dpdk-dev] [PATCH v5 6/7] raw/dpaa2_cmdif: support enqueue dequeue operations

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_cmdif/Makefile | 2 + drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 136 ++ drivers/raw

Re: [dpdk-dev] [PATCH v5 0/7] Introduce DPAA2 Command Interface raw driver

2018-05-04 Thread Nipun Gupta
There is an intermediate patch compilation break. Will fix this and resend. Apologies for this and I will take care of this from next time. Thanks, Nipun > -Original Message- > From: Nipun Gupta > Sent: Thursday, May 3, 2018 10:04 PM > To: tho...@monjalon.net; He

[dpdk-dev] [PATCH v6 0/7] Introduce DPAA2 Command Interface raw driver

2018-05-04 Thread Nipun Gupta
too - Fix up error handling in patch 3 - Merged the two separate doc patches (patch 7) Changes in v4: - Added meson build support Changes in v5: - Fixed shared build for x86 Changes in v6: - Fixed intermediate shared build break (patch 4) Nipun Gupta (7): mempool/dpaa2: add functions

[dpdk-dev] [PATCH v6 1/7] mempool/dpaa2: add functions exposed to DPDK applications

2018-05-04 Thread Nipun Gupta
There are two API's which are required by NXP specific Command Interface Application (AIOP CMDIF). This patch exposes these two API's. Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1

[dpdk-dev] [PATCH v6 4/7] raw/dpaa2_cmdif: introduce DPAA2 command interface driver

2018-05-04 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 4 + config/common_base | 5 + config/common_linuxapp | 1 + drivers/raw/Makefile | 1 + drivers/raw/dpaa2_cmdif

[dpdk-dev] [PATCH v6 5/7] raw/dpaa2_cmdif: add attribute get functionality

2018-05-04 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 789fe36..c16bb12 100644 --- a/drivers/raw

[dpdk-dev] [PATCH v6 2/7] bus/fslmc: expose API to free dpci device

2018-05-04 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 70fb719..d433714 100644 --- a/drivers/bus

[dpdk-dev] [PATCH v6 6/7] raw/dpaa2_cmdif: support enqueue dequeue operations

2018-05-04 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_cmdif/Makefile | 2 + drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 137 ++ drivers/raw

[dpdk-dev] [PATCH v6 3/7] bus/fslmc: keep Tx queues information for DPCI devices too

2018-05-04 Thread Nipun Gupta
The DPCI devices have oth Tx and Rx queues. Event devices use DPCI Rx queues only, but CMDIF (AIOP) uses both Tx and Rx queues. This patch enables Tx queues configuration too. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 86

[dpdk-dev] [PATCH v6 7/7] doc: add DPAA2 CMDIF rawdev guide

2018-05-04 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Marko Kovacevic --- MAINTAINERS| 1 + doc/guides/rawdevs/dpaa2_cmdif.rst | 144 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rel_notes/release_18_05.rst | 11 +++ 4 files

Re: [dpdk-dev] [PATCH v8 0/3] generic spinlock optimization and test case enhancements

2019-03-11 Thread Nipun Gupta
> -Original Message- > From: Gavin Hu [mailto:gavin...@arm.com] > Sent: Friday, March 8, 2019 1:27 PM > To: dev@dpdk.org > Cc: n...@arm.com; tho...@monjalon.net; jer...@marvell.com; Hemant > Agrawal ; Nipun Gupta > ; honnappa.nagaraha...@arm.com; > gavin...@arm.com

Re: [dpdk-dev] [PATCH v3 1/1] ring: enforce reading the tail before reading ring slots

2019-03-13 Thread Nipun Gupta
> -Original Message- > From: Gavin Hu [mailto:gavin...@arm.com] > Sent: Tuesday, March 12, 2019 10:29 PM > To: dev@dpdk.org > Cc: n...@arm.com; gavin hu ; tho...@monjalon.net; > konstantin.anan...@intel.com; jer...@marvell.com; Hemant Agrawal > ; Nipun Gupta

[dpdk-dev] [PATCH v2 3/9] bus/fslmc: keep Tx queues information for DPCI devices too

2018-04-07 Thread Nipun Gupta
The DPCI devices have oth Tx and Rx queues. Event devices use DPCI Rx queues only, but CMDIF (AIOP) uses both Tx and Rx queues. This patch enables Tx queues configuration too. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 57 +--- drivers

[dpdk-dev] [PATCH v2 4/9] bus/fslmc: add preprocessors to get flc and frc from fd

2018-04-07 Thread Nipun Gupta
This patch also fixes the typecasting in iova/virt conversion macros Fixes: df0011c92312 ("bus/fslmc: add physical-virtual address translation helpers") Cc: sta...@dpdk.org Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 9 ++--- 1 file changed, 6 insert

[dpdk-dev] [PATCH v2 5/9] raw/dpaa2_cmdif: introduce DPAA2 command interface driver

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 8 ++ config/common_base | 1 + config/common_linuxapp | 1 + drivers/raw/Makefile | 3 + drivers/raw/dpaa2_cmdif

[dpdk-dev] [PATCH v2 7/9] raw/dpaa2_cmdif: support enqueue dequeue operations

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_cmdif/Makefile | 2 + drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 136 ++ drivers/raw

[dpdk-dev] [PATCH v2 6/9] raw/dpaa2_cmdif: add attribute get functionality

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 0d98d36..9044489 100644 --- a/drivers/raw/dpaa2_cmdif

Re: [dpdk-dev] [PATCH v2 0/9] Introduce DPAA2 Command Interface raw driver

2018-04-07 Thread Nipun Gupta
Forgot to mention - This patch series is rebased on top of series https://dpdk.org/dev/patchwork/patch/37246/ > -Original Message- > From: Nipun Gupta > Sent: Saturday, April 07, 2018 20:04 > To: tho...@monjalon.net; Hemant Agrawal ; > Shreyansh Jain > Cc: dev@dpd

[dpdk-dev] [PATCH v2 9/9] doc: add dpaa2 command interface rawdev to release notes

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/guides/rel_notes/release_18_05.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/release_18_05.rst b/doc/guides/rel_notes/release_18_05.rst index e5fac1c..0aebb18 100644 --- a/doc/guides/rel_notes/release_18_05.rst +++ b/doc

[dpdk-dev] [PATCH 1/8] bus/fslmc: support MC DPDMAI object

2018-04-07 Thread Nipun Gupta
This patch adds the DPDMAI (Data Path DMA Interface) object support in MC driver. Signed-off-by: Cristian Sovaiala Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 3 +- drivers/bus/fslmc/mc/dpdmai.c | 429 drivers/bus

[dpdk-dev] [PATCH v2 8/9] doc: add DPAA2 CMDIF rawdev guide

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 1 + doc/guides/rawdevs/dpaa2_cmdif.rst | 132 + 2 files changed, 133 insertions(+) create mode 100644 doc/guides/rawdevs/dpaa2_cmdif.rst diff --git a/MAINTAINERS b/MAINTAINERS index

[dpdk-dev] [PATCH 0/8] Introduce DPAA2 QDMA raw driver

2018-04-07 Thread Nipun Gupta
/patch/35337/ Patches 1-3: Makes necessary changes in the DPAA2 bus Patches 4-6: Add the DPAA2 QDMA driver Patches 7-8: Update the respective documentation Nipun Gupta (8): bus/fslmc: support MC DPDMAI object bus/fslmc: support scanning and probing of QDMA devices bus/fslmc: add macros

[dpdk-dev] [PATCH 2/8] bus/fslmc: support scanning and probing of QDMA devices

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_bus.c | 2 ++ drivers/bus/fslmc/fslmc_vfio.c | 1 + drivers/bus/fslmc/rte_fslmc.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index d6806df..cd27630 100644 --- a

[dpdk-dev] [PATCH 4/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

2018-04-07 Thread Nipun Gupta
DPAA2 QDMA driver uses MC DPDMAI object. This driver enables the user (app) to perform data DMA without involving CPU in the DMA process Signed-off-by: Nipun Gupta --- MAINTAINERS| 5 + config/common_base | 1 + config

[dpdk-dev] [PATCH 7/8] doc: add DPAA2 QDMA rawdev guide

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS | 1 + doc/guides/rawdevs/dpaa2_qdma.rst | 140 ++ 2 files changed, 141 insertions(+) create mode 100644 doc/guides/rawdevs/dpaa2_qdma.rst diff --git a/MAINTAINERS b/MAINTAINERS index fccf5bb

[dpdk-dev] [PATCH 5/8] raw/dpaa2_qdma: support configuration APIs

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_qdma/Makefile| 2 + drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 375

[dpdk-dev] [PATCH 6/8] raw/dpaa2_qdma: support enq and deq operations

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 332 + drivers/raw/dpaa2_qdma/dpaa2_qdma.h| 21 ++ drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h| 70 + .../raw/dpaa2_qdma/rte_pmd_dpaa2_qdma_version.map | 4

[dpdk-dev] [PATCH 3/8] bus/fslmc: add macros required by QDMA for FLE and FD

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 1ef9502..b7b98d1 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b

[dpdk-dev] [PATCH 8/8] doc: add dpaa2 qdma rawdev to release notes

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/guides/rel_notes/release_18_05.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/guides/rel_notes/release_18_05.rst b/doc/guides/rel_notes/release_18_05.rst index 0aebb18..f2de969 100644 --- a/doc/guides/rel_notes/release_18_05.rst +++ b/doc

[dpdk-dev] [PATCH v2 1/9] mempool/dpaa2: add functions exposed to DPDK applications

2018-04-07 Thread Nipun Gupta
There are two API's which are required by NXP specific Command Interface Application (AIOP CMDIF). This patch exposes these two API's. Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1

[dpdk-dev] [PATCH v2 0/9] Introduce DPAA2 Command Interface raw driver

2018-04-07 Thread Nipun Gupta
the respective documentation Changes in v2: - Move CMDIF compilation to common_linuxapp - Support physical addressing mode Nipun Gupta (9): mempool/dpaa2: add functions exposed to DPDK applications bus/fslmc: expose API to free dpci device bus/fslmc: keep Tx queues information for DPCI

[dpdk-dev] [PATCH v2 2/9] bus/fslmc: expose API to free dpci device

2018-04-07 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index f519651..3811792 100644 --- a/drivers/bus/fslmc

[dpdk-dev] [PATCH 0/6 v2] support atomic queues in dpaa2 ethernet with eventdev

2018-01-12 Thread Nipun Gupta
performance enhancement for eventdev Patch 5,6 - support atomic queues in DPAA2 ethernet driver [1] https://dpdk.org/dev/patchwork/patch/31997/ Changes in v2: Rebase on top of net-next branch (because of dependency on DPAA2 series [1]) Nipun Gupta (6): event/dpaa2: replace static with dynamic

[dpdk-dev] [PATCH 1/6 v2] event/dpaa2: replace static with dynamic logging

2018-01-12 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 83 --- drivers/event/dpaa2/dpaa2_eventdev.h | 12 - drivers/event/dpaa2/dpaa2_eventdev_logs.h | 37 ++ drivers/event/dpaa2/dpaa2_hw_dpcon.c | 1 + 4 files changed

[dpdk-dev] [PATCH 2/6 v2] bus/fslmc: introduce API to consume dqrr using index

2018-01-12 Thread Nipun Gupta
A new API qbman_swp_dqrr_idx_consume is defined which takes input as DQRR index to consume corresponding DQRR entry. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 7 +++ drivers/bus/fslmc/qbman/qbman_portal.c | 7 +++ drivers/bus/fslmc

[dpdk-dev] [PATCH 3/6 v2] event/dpaa2: use dqrr index to cosume the DQRR entry

2018-01-12 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 83b572f..37e3e1c 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b

[dpdk-dev] [PATCH 5/6 v2] bus/fslmc: add flag to configure DCA in QBMAN multi Tx

2018-01-12 Thread Nipun Gupta
performance impact. This patch introduces a flag parameter in the QBMAN multi-tx API, so that DCA configuration (and later on ORP/ODP for ordered queues) can be passed using flags and be updated in the EQCR using this flag. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include

[dpdk-dev] [PATCH 4/6 v2] event/dpaa2: have separate structure to hold dqrr entries

2018-01-12 Thread Nipun Gupta
This patch provides cleaner approach to store the DQRR entries, which are yet to be consumed in case of atomic queues. Also, this patch changes the storage of the DQRR entry index into the mbuf->seqn instead of ev->opaque Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc

[dpdk-dev] [PATCH 6/6 v2] net/dpaa2: support atomic queues

2018-01-12 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 7 +++ drivers/net/dpaa2/dpaa2_ethdev.h | 5 + drivers/net/dpaa2/dpaa2_rxtx.c | 43 +--- 4 files changed, 53 insertions(+), 3 deletions

[dpdk-dev] [PATCH 00/12 v3] event/dpaa: Support for eventdev

2018-01-16 Thread Nipun Gupta
Event device support for atomic and parallel queues. These patches are based on dpdk-event-next (commit ID fb79a5525fb9) rebased on top of dpdk-net-next, as there is dependency on both the trees for this patchset. on dpdk-event-next this series depends on applied patch: https://dpdk.org/de

[dpdk-dev] [PATCH 01/12 v3] config: enabling compilation of DPAA eventdev PMD

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- config/common_base | 3 +++ config/defconfig_arm64-dpaa-linuxapp-gcc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config/common_base b/config/common_base index 3ddb6f0..9603723

[dpdk-dev] [PATCH 02/12 v3] bus/dpaa: add event dequeue and consumption support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori To receive events from given event port, corresponding function needs to be added which receives events from portal. Also added function to consume received events based on entry index. Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/bus/dpaa/base/q

[dpdk-dev] [PATCH 03/12 v3] bus/dpaa: add dpaa eventdev dynamic log support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 5 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + drivers/bus/dpaa/rte_dpaa_logs.h | 16 3 files changed, 22 insertions(+) diff -

[dpdk-dev] [PATCH 04/12 v3] net/dpaa: ethdev Rx queue configurations with eventdev

2018-01-16 Thread Nipun Gupta
Kumar Kori Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/Makefile | 2 + drivers/net/dpaa/dpaa_ethdev.c| 115 -- drivers/net/dpaa/dpaa_ethdev.h| 29 drivers/net/dpaa/dpaa_rxtx.c

[dpdk-dev] [PATCH 05/12 v3] event/dpaa: add eventdev PMD

2018-01-16 Thread Nipun Gupta
/dpaa_eventdev.c create mode 100644 drivers/event/dpaa/dpaa_eventdev.h create mode 100644 drivers/event/dpaa/rte_pmd_dpaa_event_version.map diff --git a/MAINTAINERS b/MAINTAINERS index dbfd3f7..fff842e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -704,6 +704,11 @@ M: Nipun Gupta F: drivers/event

[dpdk-dev] [PATCH 07/12 v3] event/dpaa: add event port config get/set support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 105 + 1 file changed, 105 insertions(+) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index f1d

[dpdk-dev] [PATCH 06/12 v3] event/dpaa: add event queue config get/set support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 47 ++ 1 file changed, 47 insertions(+) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index 0bd7

[dpdk-dev] [PATCH 08/12 v3] event/dpaa: add dequeue timeout conversion support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index 82362d5..b4b7aed 100644 --- a/drivers/event/

[dpdk-dev] [PATCH 09/12 v3] event/dpaa: add eth rx adapter queue config support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 117 + 1 file changed, 117 insertions(+) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index b4b

[dpdk-dev] [PATCH 10/12 v3] event/dpaa: add eventdev enqueue/dequeue support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 114 + 1 file changed, 114 insertions(+) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index 0d9

[dpdk-dev] [PATCH 12/12 v3] doc: add DPAA eventdev guide

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- MAINTAINERS| 1 + doc/guides/eventdevs/dpaa.rst | 140 + doc/guides/eventdevs/index.rst | 1 + 3 files changed, 142 insertions(+) create mode 10

[dpdk-dev] [PATCH 11/12 v3] config: add eventdev library to application

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- mk/rte.app.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 7dfab67..7d09a4c 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -199,6 +199,7 @@ _LDLIBS-$(CONFIG_RTE_LIB

Re: [dpdk-dev] [PATCH 08/12 v3] event/dpaa: add dequeue timeout conversion support

2018-01-16 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Tuesday, January 16, 2018 17:21 > To: Nipun Gupta > Cc: dev@dpdk.org; Sunil Kumar Kori ; Hemant Agrawal > > Subject: Re: [PATCH 08/12 v3] event/dpaa: add dequeue timeout

[dpdk-dev] [PATCH 00/10 v4] event/dpaa: Support for eventdev

2018-01-16 Thread Nipun Gupta
Event device support for atomic and parallel queues. These patches are based on dpdk-event-next (commit ID fb79a5525fb9) rebased on top of dpdk-net-next, as there is dependency on both the trees for this patchset. on dpdk-event-next this series depends on applied patch: https://dpdk.org/de

[dpdk-dev] [PATCH 01/10 v4] config: enabling compilation of DPAA eventdev PMD

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- config/common_base | 3 +++ config/defconfig_arm64-dpaa-linuxapp-gcc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config/common_base b/config/common_base index 3ddb6f0..9603723

[dpdk-dev] [PATCH 03/10 v4] bus/dpaa: add dpaa eventdev dynamic log support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 5 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + drivers/bus/dpaa/rte_dpaa_logs.h | 16 3 files changed, 22 insertions(+) diff -

[dpdk-dev] [PATCH 02/10 v4] bus/dpaa: add event dequeue and consumption support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori To receive events from given event port, corresponding function needs to be added which receives events from portal. Also added function to consume received events based on entry index. Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/bus/dpaa/base/q

[dpdk-dev] [PATCH 04/10 v4] net/dpaa: ethdev Rx queue configurations with eventdev

2018-01-16 Thread Nipun Gupta
Kumar Kori Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/Makefile | 2 + drivers/net/dpaa/dpaa_ethdev.c| 115 -- drivers/net/dpaa/dpaa_ethdev.h| 29 drivers/net/dpaa/dpaa_rxtx.c

[dpdk-dev] [PATCH 05/10 v4] event/dpaa: add eventdev PMD

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- MAINTAINERS | 5 + drivers/event/Makefile| 1 + drivers/event/dpaa/Makefile | 37

[dpdk-dev] [PATCH 06/10 v4] event/dpaa: add event queue config get/set support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 47 ++ 1 file changed, 47 insertions(+) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index ba9b

[dpdk-dev] [PATCH 07/10 v4] event/dpaa: add event port config get/set support

2018-01-16 Thread Nipun Gupta
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 105 + 1 file changed, 105 insertions(+) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index e75

<    1   2   3   4   5   6   7   8   9   >