Re: [dpdk-dev] [PATCH 3/3 v4] app/testpmd: support hardware offload to drop error packets

2020-10-31 Thread Nipun Gupta
> -Original Message- > From: Dharmik Thakkar > Sent: Thursday, October 29, 2020 10:52 PM > To: Nipun Gupta > Cc: dev ; tho...@monjalon.net; Ferruh Yigit > ; arybche...@solarflare.com; Hemant Agrawal > ; Sachin Saxena ; Rohit > Raj ; Jerin Jacob ; Stephen > H

Re: [dpdk-dev] [PATCH v2 1/9] event/dpaa2: remove dead code

2020-10-31 Thread Nipun Gupta
Acked-by: Nipun Gupta > -Original Message- > From: David Marchand > Sent: Wednesday, October 28, 2020 5:50 PM > To: dev@dpdk.org > Cc: Hemant Agrawal ; Nipun Gupta > > Subject: [PATCH v2 1/9] event/dpaa2: remove dead code > > This code has never b

Re: [dpdk-dev] [PATCH v4 1/6] eventdev: introduce event driven programming model

2017-02-02 Thread Nipun Gupta
Hi, I had a few queries/comments regarding the eventdev patches. Please see inline. > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Wednesday, December 21, 2016 14:55 > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; bruce.richard...@inte

Re: [dpdk-dev] [PATCH v4 3/6] eventdev: implement the northbound APIs

2017-02-02 Thread Nipun Gupta
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Wednesday, December 21, 2016 14:55 > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; bruce.richard...@intel.com; Hemant > Agrawal ; gage.e...@intel.com; > harry.van.haa...@intel.com; Jerin Ja

Re: [dpdk-dev] [PATCH v4 4/6] eventdev: implement PMD registration functions

2017-02-02 Thread Nipun Gupta
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Wednesday, December 21, 2016 14:55 > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; bruce.richard...@intel.com; Hemant > Agrawal ; gage.e...@intel.com; > harry.van.haa...@intel.com; Jerin Ja

Re: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound driver interface

2017-02-02 Thread Nipun Gupta
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Wednesday, December 21, 2016 14:55 > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; bruce.richard...@intel.com; Hemant > Agrawal ; gage.e...@intel.com; > harry.van.haa...@intel.com; Jerin Ja

Re: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound driver interface

2017-02-02 Thread Nipun Gupta
> -Original Message- > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, February 02, 2017 17:04 > To: Nipun Gupta > Cc: Jerin Jacob ; dev@dpdk.org; > thomas.monja...@6wind.com; Hemant Agrawal ; > gage.e...@intel.com; harry.van.haa...@in

Re: [dpdk-dev] [PATCH v4 2/6] eventdev: define southbound driver interface

2017-02-02 Thread Nipun Gupta
> -Original Message- > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, February 02, 2017 19:29 > To: Nipun Gupta > Cc: Jerin Jacob ; dev@dpdk.org; > thomas.monja...@6wind.com; Hemant Agrawal ; > gage.e...@intel.com; harry.van.haa...@in

Re: [dpdk-dev] [PATCH v4 1/6] eventdev: introduce event driven programming model

2017-02-02 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Thursday, February 02, 2017 19:39 > To: Nipun Gupta > Cc: dev@dpdk.org; thomas.monja...@6wind.com; > bruce.richard...@intel.com; Hemant Agrawal ; > gage.e...@intel.com; harry

Re: [dpdk-dev] [PATCH v4 3/6] eventdev: implement the northbound APIs

2017-02-02 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Thursday, February 02, 2017 20:02 > To: Nipun Gupta > Cc: dev@dpdk.org; thomas.monja...@6wind.com; > bruce.richard...@intel.com; Hemant Agrawal ; > gage.e...@intel.com; harry

[dpdk-dev] [PATCH] eventdev: update event port link and unlink callbacks

2017-02-06 Thread Nipun Gupta
Added a pointer to the rte_eventdev type in the event port link and unlink callbacks. This device shall be used by some of the event drivers to fetch queue related information. Also, update the skeleton eventdev driver with corresponding changes. Signed-off-by: Nipun Gupta --- drivers/event

Re: [dpdk-dev] [PATCH] eventdev: limit port link operation to configured queues

2017-02-07 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Monday, February 06, 2017 11:00 > To: dev@dpdk.org > Cc: bruce.richard...@intel.com; Hemant Agrawal > ; gage.e...@intel.com; > harry.van.haa...@intel.com; Nipun Gupta ; Jer

Re: [dpdk-dev] [PATCH v2 15/15] app/test: add unit tests for SW eventdev driver

2017-02-08 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, February 08, 2017 15:53 > To: Harry van Haaren > Cc: dev@dpdk.org; Bruce Richardson ; David > Hunt ; Nipun Gupta ; Hemant > Agrawal ; gage.e...@intel.com > Subj

[dpdk-dev] [PATCH] eventdev: amend comment for timeout_ticks in rte_event_dequeue_burst()

2017-02-10 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- lib/librte_eventdev/rte_eventdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h index c2f9310..49a4739 100644 --- a/lib/librte_eventdev/rte_eventdev.h +++ b/lib

[dpdk-dev] [PATCH] eventdev: amend comments for nb_events_limit and new_event_threshold

2017-02-10 Thread Nipun Gupta
Updated the comments on 'nb_events_limit' of 'struct rte_event_dev_config' and 'new_event_threshold' of 'struct rte_event_port_conf' for open system configuration. Signed-off-by: Nipun Gupta --- lib/librte_eventdev/rte_eventdev.h | 12 +++- 1 fi

Re: [dpdk-dev] [PATCH 00/21 v4] next-eventdev: NXP DPAA2 eventdev PMD

2017-06-30 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Thursday, June 29, 2017 16:33 > To: Nipun Gupta > Cc: dev@dpdk.org; Hemant Agrawal ; > harry.van.haa...@intel.com; bruce.richard...@intel.com; > gage.e...@intel.com; Shreyans

[dpdk-dev] [PATCH 01/21 v5] drivers: add bus dependency for event

2017-06-30 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/Makefile b/drivers/Makefile index a04a01f..7fef66d 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -39,5 +39,6 @@ DEPDIRS-net := bus mempool DIRS-$(CONFIG

[dpdk-dev] [PATCH 00/21 v5] next-eventdev: NXP DPAA2 eventdev PMD

2017-06-30 Thread Nipun Gupta
only atomic and ordered queues Fix checkpatch errors Hemant Agrawal (3): drivers: add bus dependency for event bus/fslmc: generic framework for mc object creation bus/fslmc: export qbman dqrr funcs for eventdev usages Nipun Gupta (18): event/dpaa2: add basic build infrastructure bus/

[dpdk-dev] [PATCH 02/21 v5] event/dpaa2: add basic build infrastructure

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Jerin Jacob --- MAINTAINERS| 4 ++ config/defconfig_arm64-dpaa2-linuxapp-gcc | 6 ++ drivers/event/Makefile | 2 + drivers/event/dpaa2/Makefile | 52

[dpdk-dev] [PATCH 03/21 v5] bus/fslmc: generic framework for mc object creation

2017-06-30 Thread Nipun Gupta
From: Hemant Agrawal There are muliple help mc object, which are not an independent device, but they are required for dpaa2 based devices. This framework allows registration and handling of all such mc devices. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc

[dpdk-dev] [PATCH 04/21 v5] bus/fslmc: integrating dpio and dpbp to object framework

2017-06-30 Thread Nipun Gupta
This patch removes the existing static call for dpio and dpbp create and add them to object registration framework. This patch also changes the vfio mc object processing to use the framework. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c

[dpdk-dev] [PATCH 06/21 v5] bus/fslmc: export qbman dqrr funcs for eventdev usages

2017-06-30 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 8 1 file changed, 8 insertions(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 783c3e5..01a7939 100644 --- a/drivers/b

[dpdk-dev] [PATCH 05/21 v5] bus/fslmc: adding basic dpcon support

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 3 +- drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/mc/dpcon.c| 230 +++ drivers/bus/fslmc/mc/fsl_dpcon.h| 238

[dpdk-dev] [PATCH 08/21 v5] bus/fslmc: adding basic dpci support

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpci.c | 307 + drivers/bus/fslmc/mc/fsl_dpci.h | 404 drivers/bus/fslmc/mc/fsl_dpci_cmd.h | 147

[dpdk-dev] [PATCH 07/21 v5] event/dpaa2: register dpcon as dpaa2 device for bus scan

2017-06-30 Thread Nipun Gupta
Registering dpcon as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/Makefile | 8 ++ drivers/event/dpaa2/dpaa2_eventdev.h | 18 + drivers/event/dpaa2/dpaa2_hw_dpcon.c | 139

[dpdk-dev] [PATCH 09/21 v5] bus/fslmc: register dpci as dpaa2 device for bus scan

2017-06-30 Thread Nipun Gupta
Registering dpci as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 179

[dpdk-dev] [PATCH 11/21 v5] event/dpaa2: add initialization of event device

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 157 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 23 + 2 files changed, 176 insertions(+), 4 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2

[dpdk-dev] [PATCH 10/21 v5] bus/fslmc: adding cpu support in stashing config

2017-06-30 Thread Nipun Gupta
Stashing can also be configured by other drivers (for instance event driver) passing cpu_id as an argument. This change facilitates the same. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 14 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 4

[dpdk-dev] [PATCH 12/21 v5] bus/fslmc: add support for static dequeue from portal

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/mc/dpio.c | 44 + drivers/bus/fslmc/mc/fsl_dpio.h | 30 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 1 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 2 ++ 4 files

[dpdk-dev] [PATCH 13/21 v5] event/dpaa2: add configuration functions

2017-06-30 Thread Nipun Gupta
This patch adds all the configuration API's for DPAA2 eventdev including device config, start, stop & port and queue related API's Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 283 ++- drivers/event/dpaa2/dpaa2_eventdev.

[dpdk-dev] [PATCH 14/21 v5] bus/fslmc: support enqueue with multiple enqueue descriptors

2017-06-30 Thread Nipun Gupta
This patch adds the QBMAN API which support multiple enqueue descriptors. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 14 + drivers/bus/fslmc/qbman/qbman_portal.c | 70 ++ drivers/bus/fslmc/rte_bus_fslmc_version.map

[dpdk-dev] [PATCH 16/21 v5] bus/fslmc: change func argument to const to avoid warning

2017-06-30 Thread Nipun Gupta
qbman_get_dqrr_idx() API is required with constant dqrr entry in the eventdev driver. Also, this routine is not updating the dqrr. So, this patch updates its input argument to a const type. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 2 +- drivers/bus

[dpdk-dev] [PATCH 18/21 v5] bus/fslmc: add interrupt enabling routine

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 34 ++ drivers/bus/fslmc/fslmc_vfio.h | 3 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 6ebf779..d8e3add 100644 --- a

[dpdk-dev] [PATCH 15/21 v5] bus/fslmc: add callback per queue to enable

2017-06-30 Thread Nipun Gupta
Dequeue from event device needs to process the event on the basis of the hardware queue from which it is dequeued. A callback is added into dpaa2_queue structure, to enable event dequeue functionality to call that processing routine. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal

[dpdk-dev] [PATCH 17/21 v5] event/dpaa2: add enqueue and dequeue functionality

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 170 +-- 1 file changed, 163 insertions(+), 7 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index c00db7a..a7f8516 100644 --- a/drivers

[dpdk-dev] [PATCH 19/21 v5] bus/fslmc: enable portal interrupt handling

2017-06-30 Thread Nipun Gupta
Eventdev requires portal interrupts to handle timeout in the event dequeue. This patch provides mechanism to enable the portal interrupts. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 108 - drivers/bus/fslmc/portal/dpaa2_hw_pvt.h

[dpdk-dev] [PATCH 20/21 v5] event/dpaa2: handle timeout using interrupts in dequeue

2017-06-30 Thread Nipun Gupta
This patch adds support for interrupt handling on the event port. These interrupts facilitates managing of timeout ticks in the event dequeue functions. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 37 +--- 1 file changed, 34 insertions

[dpdk-dev] [PATCH 21/21 v5] doc: add NXP DPAA2 EVENTDEV details

2017-06-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 1 + doc/guides/eventdevs/dpaa2.rst | 175 + doc/guides/eventdevs/index.rst | 1 + 3 files changed, 177 insertions(+) create mode 100644 doc/guides/eventdevs/dpaa2.rst diff --git a

[dpdk-dev] [PATCH] event/dpaa2: advertise the burst mode capability

2017-07-19 Thread Nipun Gupta
Burst mode capability flag was introduced in 73e6b8c9 for event drivers. DPAA2 event driver supports burst mode so this patch adds this capability flag in DPAA2 event driver Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues

2017-07-24 Thread Nipun Gupta
@intel.com; Hemant Agrawal > ; Nipun Gupta ; > narender.vang...@intel.com; Nikhil Rao ; Abhinandan > Gujjar > Subject: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues > > Eventdev-based networking applications require a component to dequeue > packets from NIC Rx queu

Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues

2017-07-24 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Monday, July 24, 2017 15:54 > To: Nipun Gupta > Cc: Nikhil Rao ; gage.e...@intel.com; dev@dpdk.org; > tho...@monjalon.net; bruce.richard...@intel.com; > harry.van.haa...@inte

Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues

2017-07-24 Thread Nipun Gupta
> -Original Message- > From: Van Haaren, Harry [mailto:harry.van.haa...@intel.com] > Sent: Monday, July 24, 2017 16:03 > To: Nipun Gupta ; Rao, Nikhil ; > jerin.ja...@caviumnetworks.com > Cc: Eads, Gage ; dev@dpdk.org; > tho...@monjalon.net; Richardson, Bruce ; >

Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues

2017-07-30 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Saturday, July 29, 2017 20:43 > To: Rao, Nikhil > Cc: gage.e...@intel.com; dev@dpdk.org; tho...@monjalon.net; > bruce.richard...@intel.com; harry.van.haa...@intel.com; Hemant Agraw

[dpdk-dev] [PATCH v2] eventdev: amend timeout criteria comment for burst dequeue

2017-02-10 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- Changes for v2: - Fix errors reported by check-git-log.sh lib/librte_eventdev/rte_eventdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h index c2f9310..49a4739 100644

[dpdk-dev] [PATCH v2] eventdev: amend comments for events limit and threshold

2017-02-10 Thread Nipun Gupta
Updated the comments on 'nb_events_limit' of 'struct rte_event_dev_config' and 'new_event_threshold' of 'struct rte_event_port_conf' for open system configuration. Signed-off-by: Nipun Gupta --- Changes for v2: - Fix errors reported by check-git-log.sh

[dpdk-dev] [PATCH v3] eventdev: amend timeout criteria comment for burst dequeue

2017-02-10 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Harry van Haaren --- Changes for v2: - Fix errors reported by check-git-log.sh Changes for v3: - Corrected comment's language lib/librte_eventdev/rte_eventdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eve

Re: [dpdk-dev] [PATCH v2] eventdev: amend comments for events limit and threshold

2017-02-11 Thread Nipun Gupta
> -Original Message- > From: Van Haaren, Harry [mailto:harry.van.haa...@intel.com] > Sent: Friday, February 10, 2017 16:02 > To: Nipun Gupta ; dev@dpdk.org > Cc: Hemant Agrawal ; > jerin.ja...@caviumnetworks.com; Richardson, Bruce > ; Eads, Gage > Subject: RE: [P

[dpdk-dev] [PATCH v3] eventdev: amend comments for events limit and threshold

2017-02-13 Thread Nipun Gupta
Updated the comments on 'nb_events_limit' of 'struct rte_event_dev_config' and 'new_event_threshold' of 'struct rte_event_port_conf'. Signed-off-by: Nipun Gupta --- Changes for v2: - Fix errors reported by check-git-log.sh Changes for v3: - Updated nb

[dpdk-dev] [PATCH] eventdev: event device to contain rte device holder

2017-02-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta rte_device is a generic device which is available to the applications and EAL. This patch replaces rte_pci_device in 'struct rte_eventdev' and in 'struct rte_event_dev_info' with common rte_device. --- drivers/event/skeleton/skeleton_ev

Re: [dpdk-dev] [PATCH] eventdev: event device to contain rte device holder

2017-02-19 Thread Nipun Gupta
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Saturday, February 18, 2017 1:00 > To: Nipun Gupta > Cc: dev@dpdk.org; Hemant Agrawal ; > jerin.ja...@caviumnetworks.com; bruce.richard...@intel.com; >

[dpdk-dev] [PATCH v2] eventdev: event device to contain rte device holder

2017-03-03 Thread Nipun Gupta
rte_device is a generic device which is available to the applications and EAL. This patch replaces rte_pci_device in 'struct rte_eventdev' and in 'struct rte_event_dev_info' with common rte_device. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- dr

Re: [dpdk-dev] [PATCH v3] eventdev: amend timeout criteria comment for burst dequeue

2017-03-07 Thread Nipun Gupta
Thanks Jerin. Patchwork still shows this patch in new state. Does this matter or shall I move it to accepted state? Regards, Nipun > -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Monday, March 06, 2017 18:52 > To: Nipun Gupta > C

Re: [dpdk-dev] [PATCH 10/20] event/dpaa2: add initialization of event device

2017-06-01 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, May 31, 2017 20:40 > To: Nipun Gupta > Cc: dev@dpdk.org; Hemant Agrawal ; > harry.van.haa...@intel.com; bruce.richard...@intel.com; > gage.e...@intel.com; Shreyans

Re: [dpdk-dev] [PATCH 12/20] event/dpaa2: add configuration functions

2017-06-01 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, May 31, 2017 20:59 > To: Nipun Gupta > Cc: dev@dpdk.org; Hemant Agrawal ; > harry.van.haa...@intel.com; bruce.richard...@intel.com; > gage.e...@intel.com; Shreyans

Re: [dpdk-dev] [PATCH 19/20] event/dpaa2: handle timeout using interrupts in dequeue

2017-06-01 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, May 31, 2017 21:19 > To: Nipun Gupta > Cc: dev@dpdk.org; Hemant Agrawal ; > harry.van.haa...@intel.com; bruce.richard...@intel.com; > gage.e...@intel.com; Shreyans

Re: [dpdk-dev] [PATCH 20/20] doc: add NXP DPAA2 EVENTDEV details

2017-06-01 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, May 31, 2017 21:28 > To: Nipun Gupta > Cc: dev@dpdk.org; Hemant Agrawal ; > harry.van.haa...@intel.com; bruce.richard...@intel.com; > gage.e...@intel.com; Shreyans

[dpdk-dev] [PATCH 00/20 v2] next-eventdev: NXP DPAA2 eventdev PMD

2017-06-15 Thread Nipun Gupta
DPAA2 - Documentation of DPAA2 eventdev PMD Changes in v2: Rebase to latest dpdk-next-eventdev Update to support only atomic and ordered queues Fix checkpatch errors Hemant Agrawal (2): bus/fslmc: generic framework for mc object creation bus/fslmc: export qbman dqrr funcs for eventdev usages Nipun

[dpdk-dev] [PATCH 02/20 v2] bus/fslmc: generic framework for mc object creation

2017-06-15 Thread Nipun Gupta
From: Hemant Agrawal There are muliple help mc object, which are not an independent device, but they are required for dpaa2 based devices. This framework allows registration and handling of all such mc devices. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc

[dpdk-dev] [PATCH 01/20 v2] event/dpaa2: add basic build infrastructure

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Jerin Jacob --- MAINTAINERS| 4 ++ config/defconfig_arm64-dpaa2-linuxapp-gcc | 6 ++ drivers/event/Makefile | 2 + drivers/event/dpaa2/Makefile | 56

[dpdk-dev] [PATCH 04/20 v2] bus/fslmc: adding basic dpcon support

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 3 +- drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/mc/dpcon.c| 230 +++ drivers/bus/fslmc/mc/fsl_dpcon.h| 238

[dpdk-dev] [PATCH 03/20 v2] bus/fslmc: integrating dpio and dpbp to object framework

2017-06-15 Thread Nipun Gupta
This patch removes the existing static call for dpio and dpbp create and add them to object registration framework. This patch also changes the vfio mc object processing to use the framework. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c

[dpdk-dev] [PATCH 05/20 v2] bus/fslmc: export qbman dqrr funcs for eventdev usages

2017-06-15 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 8 1 file changed, 8 insertions(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 92a7342..008aaa0 100644 --- a/drivers/b

[dpdk-dev] [PATCH 06/20 v2] event/dpaa2: register dpcon as dpaa2 device for bus scan

2017-06-15 Thread Nipun Gupta
Registering dpcon as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/Makefile | 8 ++ drivers/event/dpaa2/dpaa2_eventdev.h | 18 + drivers/event/dpaa2/dpaa2_hw_dpcon.c | 139

[dpdk-dev] [PATCH 07/20 v2] bus/fslmc: adding basic dpci support

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpci.c | 307 + drivers/bus/fslmc/mc/fsl_dpci.h | 404 drivers/bus/fslmc/mc/fsl_dpci_cmd.h | 147

[dpdk-dev] [PATCH 08/20 v2] bus/fslmc: register dpci as dpaa2 device for bus scan

2017-06-15 Thread Nipun Gupta
Registering dpci as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 179

[dpdk-dev] [PATCH 11/20 v2] bus/fslmc: add support for static dequeue from portal

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/mc/dpio.c | 44 + drivers/bus/fslmc/mc/fsl_dpio.h | 30 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 1 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 2 ++ 4 files

[dpdk-dev] [PATCH 09/20 v2] bus/fslmc: adding cpu support in stashing config

2017-06-15 Thread Nipun Gupta
Stashing can also be configured by other drivers (for instance event driver) passing cpu_id as an argument. This change facilitates the same. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 14 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 4

[dpdk-dev] [PATCH 10/20 v2] event/dpaa2: add initialization of event device

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 157 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 22 + 2 files changed, 175 insertions(+), 4 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2

[dpdk-dev] [PATCH 12/20 v2] event/dpaa2: add configuration functions

2017-06-15 Thread Nipun Gupta
This patch adds all the configuration API's for DPAA2 eventdev including device config, start, stop & port and queue related API's Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 283 ++- drivers/event/dpaa2/dpaa2_eventdev.

[dpdk-dev] [PATCH 14/20 v2] bus/fslmc: add callback per queue to enable

2017-06-15 Thread Nipun Gupta
Dequeue from event device needs to process the event on the basis of the hardware queue from which it is dequeued. A callback is added into dpaa2_queue structure, to enable event dequeue functionality to call that processing routine. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal

[dpdk-dev] [PATCH 15/20 v2] bus/fslmc: change func argument to const to avoid warning

2017-06-15 Thread Nipun Gupta
qbman_get_dqrr_idx() API is required with constant dqrr entry in the eventdev driver. Also, this routine is not updating the dqrr. So, this patch updates its input argument to a const type. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 2 +- drivers/bus

[dpdk-dev] [PATCH 13/20 v2] bus/fslmc: support enqueue with multiple enqueue descriptors

2017-06-15 Thread Nipun Gupta
This patch adds the QBMAN API which support multiple enqueue descriptors. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 14 + drivers/bus/fslmc/qbman/qbman_portal.c | 70 ++ drivers/bus/fslmc/rte_bus_fslmc_version.map

[dpdk-dev] [PATCH 16/20 v2] event/dpaa2: add enqueue and dequeue functionality

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 170 +-- 1 file changed, 163 insertions(+), 7 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index c00db7a..a7f8516 100644 --- a/drivers

[dpdk-dev] [PATCH 18/20 v2] bus/fslmc: enable portal interrupt handling

2017-06-15 Thread Nipun Gupta
Eventdev requires portal interrupts to handle timeout in the event dequeue. This patch provides mechanism to enable the portal interrupts. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 108 - drivers/bus/fslmc/portal/dpaa2_hw_pvt.h

[dpdk-dev] [PATCH 17/20 v2] fslmc/bus: add interrupt enabling routine

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 34 ++ drivers/bus/fslmc/fslmc_vfio.h | 3 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 07a9278..88cac20 100644 --- a

[dpdk-dev] [PATCH 19/20 v2] event/dpaa2: handle timeout using interrupts in dequeue

2017-06-15 Thread Nipun Gupta
This patch adds support for interrupt handling on the event port. These interrupts facilitates managing of timeout ticks in the event dequeue functions. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 36 +--- 1 file changed, 33 insertions

[dpdk-dev] [PATCH 20/20 v2] doc: add NXP DPAA2 EVENTDEV details

2017-06-15 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 1 + doc/guides/eventdevs/dpaa2.rst | 175 + 2 files changed, 176 insertions(+) create mode 100644 doc/guides/eventdevs/dpaa2.rst diff --git a/MAINTAINERS b/MAINTAINERS index fe1a25b

Re: [dpdk-dev] [PATCH 00/20 v2] next-eventdev: NXP DPAA2 eventdev PMD

2017-06-28 Thread Nipun Gupta
Hi Jerin, Is there anything pending for this patch series to be merged? Do you want me to rebase it on the dpdk main repository as dpdk-next-eventdev branch is not currently in sync with main repo? Regards, Nipun > -Original Message- > From: Nipun Gupta [mailto:nipun.gu...@n

[dpdk-dev] [PATCH 01/21 v3] drivers: add bus dependency for event

2017-06-28 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/Makefile b/drivers/Makefile index a04a01f..7fef66d 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -39,5 +39,6 @@ DEPDIRS-net := bus mempool DIRS-$(CONFIG

[dpdk-dev] [PATCH 00/21 v3] next-eventdev: NXP DPAA2 eventdev PMD

2017-06-28 Thread Nipun Gupta
al (3): drivers: add bus dependency for event bus/fslmc: generic framework for mc object creation bus/fslmc: export qbman dqrr funcs for eventdev usages Nipun Gupta (18): event/dpaa2: add basic build infrastructure bus/fslmc: integrating dpio and dpbp to object framework bus/fslmc: adding

[dpdk-dev] [PATCH 03/21 v3] bus/fslmc: generic framework for mc object creation

2017-06-28 Thread Nipun Gupta
From: Hemant Agrawal There are muliple help mc object, which are not an independent device, but they are required for dpaa2 based devices. This framework allows registration and handling of all such mc devices. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc

[dpdk-dev] [PATCH 02/21 v3] event/dpaa2: add basic build infrastructure

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Jerin Jacob --- MAINTAINERS| 4 ++ config/defconfig_arm64-dpaa2-linuxapp-gcc | 6 ++ drivers/event/Makefile | 2 + drivers/event/dpaa2/Makefile | 52

[dpdk-dev] [PATCH 04/21 v3] bus/fslmc: integrating dpio and dpbp to object framework

2017-06-28 Thread Nipun Gupta
This patch removes the existing static call for dpio and dpbp create and add them to object registration framework. This patch also changes the vfio mc object processing to use the framework. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c

[dpdk-dev] [PATCH 05/21 v3] bus/fslmc: adding basic dpcon support

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 3 +- drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/mc/dpcon.c| 230 +++ drivers/bus/fslmc/mc/fsl_dpcon.h| 238

[dpdk-dev] [PATCH 06/21 v3] bus/fslmc: export qbman dqrr funcs for eventdev usages

2017-06-28 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 8 1 file changed, 8 insertions(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 783c3e5..01a7939 100644 --- a/drivers/b

[dpdk-dev] [PATCH 07/21 v3] event/dpaa2: register dpcon as dpaa2 device for bus scan

2017-06-28 Thread Nipun Gupta
Registering dpcon as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/Makefile | 8 ++ drivers/event/dpaa2/dpaa2_eventdev.h | 18 + drivers/event/dpaa2/dpaa2_hw_dpcon.c | 139

[dpdk-dev] [PATCH 08/21 v3] bus/fslmc: adding basic dpci support

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpci.c | 307 + drivers/bus/fslmc/mc/fsl_dpci.h | 404 drivers/bus/fslmc/mc/fsl_dpci_cmd.h | 147

[dpdk-dev] [PATCH 09/21 v3] bus/fslmc: register dpci as dpaa2 device for bus scan

2017-06-28 Thread Nipun Gupta
Registering dpci as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 179

[dpdk-dev] [PATCH 10/21 v3] bus/fslmc: adding cpu support in stashing config

2017-06-28 Thread Nipun Gupta
Stashing can also be configured by other drivers (for instance event driver) passing cpu_id as an argument. This change facilitates the same. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 14 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 4

[dpdk-dev] [PATCH 11/21 v3] event/dpaa2: add initialization of event device

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 157 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 23 + 2 files changed, 176 insertions(+), 4 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2

[dpdk-dev] [PATCH 12/21 v3] bus/fslmc: add support for static dequeue from portal

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/mc/dpio.c | 44 + drivers/bus/fslmc/mc/fsl_dpio.h | 30 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 1 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 2 ++ 4 files

[dpdk-dev] [PATCH 13/21 v3] event/dpaa2: add configuration functions

2017-06-28 Thread Nipun Gupta
This patch adds all the configuration API's for DPAA2 eventdev including device config, start, stop & port and queue related API's Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 283 ++- drivers/event/dpaa2/dpaa2_eventdev.

[dpdk-dev] [PATCH 14/21 v3] bus/fslmc: support enqueue with multiple enqueue descriptors

2017-06-28 Thread Nipun Gupta
This patch adds the QBMAN API which support multiple enqueue descriptors. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 14 + drivers/bus/fslmc/qbman/qbman_portal.c | 70 ++ drivers/bus/fslmc/rte_bus_fslmc_version.map

[dpdk-dev] [PATCH 15/21 v3] bus/fslmc: add callback per queue to enable

2017-06-28 Thread Nipun Gupta
Dequeue from event device needs to process the event on the basis of the hardware queue from which it is dequeued. A callback is added into dpaa2_queue structure, to enable event dequeue functionality to call that processing routine. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal

[dpdk-dev] [PATCH 17/21 v3] event/dpaa2: add enqueue and dequeue functionality

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 170 +-- 1 file changed, 163 insertions(+), 7 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index c00db7a..a7f8516 100644 --- a/drivers

[dpdk-dev] [PATCH 16/21 v3] bus/fslmc: change func argument to const to avoid warning

2017-06-28 Thread Nipun Gupta
qbman_get_dqrr_idx() API is required with constant dqrr entry in the eventdev driver. Also, this routine is not updating the dqrr. So, this patch updates its input argument to a const type. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 2 +- drivers/bus

[dpdk-dev] [PATCH 18/21 v3] fslmc/bus: add interrupt enabling routine

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 34 ++ drivers/bus/fslmc/fslmc_vfio.h | 3 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 6ebf779..d8e3add 100644 --- a

[dpdk-dev] [PATCH 19/21 v3] bus/fslmc: enable portal interrupt handling

2017-06-28 Thread Nipun Gupta
Eventdev requires portal interrupts to handle timeout in the event dequeue. This patch provides mechanism to enable the portal interrupts. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 108 - drivers/bus/fslmc/portal/dpaa2_hw_pvt.h

[dpdk-dev] [PATCH 20/21 v3] event/dpaa2: handle timeout using interrupts in dequeue

2017-06-28 Thread Nipun Gupta
This patch adds support for interrupt handling on the event port. These interrupts facilitates managing of timeout ticks in the event dequeue functions. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 37 +--- 1 file changed, 34 insertions

[dpdk-dev] [PATCH 21/21 v3] doc: add NXP DPAA2 EVENTDEV details

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 1 + doc/guides/eventdevs/dpaa2.rst | 175 + 2 files changed, 176 insertions(+) create mode 100644 doc/guides/eventdevs/dpaa2.rst diff --git a/MAINTAINERS b/MAINTAINERS index fe1a25b

<    1   2   3   4   5   6   7   8   9   >