[dpdk-dev] next technical board meeting, 2017-04-27 at 3pm UTC.

2017-04-26 Thread Hemant Agrawal
agenda. Hemant 1) Discuss the scope of cmdline and cfgfile libraries in DPDK and see if we allow more libs like that (Keith proposed a CLI lib), or we do not do more, or do we target to replace them by better external equivalents? It was partially discussed in last meeting. Some rough

[dpdk-dev] Minutes of tech-board meeting 2017-04-27

2017-05-02 Thread Hemant Agrawal
eekly meeting. Member attendees: - Bruce Richardson - Hemant Agrawal - Jan Blunck - Jerin Jacob - Olivier Matz - Stephen Hemminger - Thomas Monjalon - Yuanhan Liu 1.Scope of cmdline and cfgfile libraries in DPDK - - DPDK will continue to keep one ve

[dpdk-dev] [RFC PATCH 2/5] kni: add support for promisc mode set

2017-05-03 Thread Hemant Agrawal
message to userspace on promisc mode change Signed-off-by: Hemant Agrawal --- .../linuxapp/eal/include/exec-env/rte_kni_common.h | 2 ++ lib/librte_eal/linuxapp/kni/kni_net.c| 20 lib/librte_kni/rte_kni.c | 5 + lib

[dpdk-dev] [RFC PATCH 1/5] kni: change and configure mac address

2017-05-03 Thread Hemant Agrawal
This patch adds following: 1. option to configure the mac address during create 2. inform usespace, if mac address is being changed in linux Signed-off-by: Hemant Agrawal --- .../linuxapp/eal/include/exec-env/rte_kni_common.h| 3 +++ lib/librte_eal/linuxapp/kni/kni_misc.c

[dpdk-dev] [RFC PATCH 4/5] kni: add support to get gso_size info

2017-05-03 Thread Hemant Agrawal
Inform userspace about gso size info Signed-off-by: Hemant Agrawal --- lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h | 3 ++- lib/librte_eal/linuxapp/kni/kni_net.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal

[dpdk-dev] [RFC PATCH 3/5] kni: init and change request for mtu

2017-05-03 Thread Hemant Agrawal
1. Configure initial mtu. 2. Message to userspace for mtu change Signed-off-by: Hemant Agrawal --- lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h | 1 + lib/librte_eal/linuxapp/kni/kni_misc.c| 2 ++ lib/librte_kni/rte_kni.c

[dpdk-dev] [RFC PATCH 5/5] kni: support multiple userspace process working with kni module

2017-05-03 Thread Hemant Agrawal
in case of multiple application using the same KNI module, protect that one application will only clean it's own devices. Signed-off-by: Hemant Agrawal --- lib/librte_eal/linuxapp/kni/kni_dev.h | 1 + lib/librte_eal/linuxapp/kni/kni_misc.c | 21 +++-- 2 files change

[dpdk-dev] [PATCH] doc: notice for changes in kni structures

2017-05-03 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index a3e7c72..0c1ef2c 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides

Re: [dpdk-dev] [PATCH] doc: notice for changes in kni structures

2017-05-08 Thread Hemant Agrawal
On 5/4/2017 10:20 PM, Ferruh Yigit wrote: On 5/3/2017 12:31 PM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst

Re: [dpdk-dev] [RFC PATCH 5/5] kni: support multiple userspace process working with kni module

2017-05-08 Thread Hemant Agrawal
On 5/5/2017 6:38 PM, Ferruh Yigit wrote: On 5/3/2017 12:21 PM, Hemant Agrawal wrote: in case of multiple application using the same KNI module, protect that one application will only clean it's own devices. Idea looks OK, but there is already a check in the module that prevents /de

Re: [dpdk-dev] [RFC PATCH 1/5] kni: change and configure mac address

2017-05-08 Thread Hemant Agrawal
On 5/5/2017 4:58 PM, Ferruh Yigit wrote: On 5/3/2017 12:21 PM, Hemant Agrawal wrote: This patch adds following: 1. option to configure the mac address during create 2. inform usespace, if mac address is being changed in linux Signed-off-by: Hemant Agrawal --- .../linuxapp/eal/include/exec

Re: [dpdk-dev] [PATCH] doc: notice for changes in kni structures

2017-05-08 Thread Hemant Agrawal
On 5/3/2017 9:20 PM, Stephen Hemminger wrote: On Wed, 3 May 2017 17:01:31 +0530 Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides

Re: [dpdk-dev] [PATCH] doc: announce crypto structures rework

2017-05-08 Thread Hemant Agrawal
: Hemant Agrawal

Re: [dpdk-dev] [PATCH] doc: announce public crypto PMD names removal

2017-05-08 Thread Hemant Agrawal
CRYPTODEV_NAME_KASUMI_PMD CRYPTODEV_NAME_ZUC_PMD CRYPTODEV_NAME_ARMV8_PMD CRYPTODEV_NAME_SCHEDULER_PMD CRYPTODEV_NAME_DPAA2_SEC_PMD Signed-off-by: Slawomir Mrozowicz Acked-by: Jerin Jacob Acked-by: Fiona Trahe Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 4/4] net/dpaa2: support parallel recv mode

2017-05-15 Thread Hemant Agrawal
On 5/12/2017 7:18 PM, Ferruh Yigit wrote: On 4/19/2017 2:09 PM, Hemant Agrawal wrote: Typically when the PMD issues a RX command to DPAA2 hardware, the hw writes the available descriptors into the given memory. The RX function then processes the frames and prepare them as mbufs. This patch

Re: [dpdk-dev] [PATCH v3 6/6] config: add clang support for armv8a linuxapp

2017-05-15 Thread Hemant Agrawal
-by: Jianbo Liu Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v3 0/6] Add clang compilation support for armv8a linuxapp

2017-05-15 Thread Hemant Agrawal
| 4 -- lib/librte_hash/rte_hash_crc.h | 2 +- 10 files changed, 100 insertions(+), 31 deletions(-) create mode 100644 config/common_armv8a_linuxapp create mode 100644 config/defconfig_arm64-armv8a-linuxapp-clang Series Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v2 00/20] NXP DPAA2 PMD functional enhancements

2017-05-15 Thread Hemant Agrawal
This patchset adds following features to DPAA2 PMD: 1. improved error handling 2. parallel RX DQ requests to improve performance 3. Support for various ethdev operations 4. enable jumbo frames Hemant Agrawal (20): mk: change to cortex-a72 net/dpaa2: remove port level buffer layout definition

[dpdk-dev] [PATCH v2 01/20] mk: change to cortex-a72

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +- mk/machine/dpaa2/rte.vars.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/defconfig_arm64-dpaa2-linuxapp-gcc b/config/defconfig_arm64-dpaa2-linuxapp-gcc index

[dpdk-dev] [PATCH v2 03/20] net/dpaa2: stop using software annotation

2017-05-15 Thread Hemant Agrawal
The DPAA2 driver is not using the DPAA2 frame descriptor software annotation area. This patch reduces the PTA length to zero and adjust the RX Buffer Layout accordingly. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- drivers/net/dpaa2/base/dpaa2_hw_dpni.c

[dpdk-dev] [PATCH v2 02/20] net/dpaa2: remove port level buffer layout definition

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 25 - 1 file changed, 25 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 4576442..f4c73de 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers

[dpdk-dev] [PATCH v2 04/20] net/dpaa2: improve the error handling in dev init

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 69 +++- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 007eda7..698fb84 100644 --- a/drivers/net

[dpdk-dev] [PATCH v2 05/20] bus/fslmc: support for parallel Rx DQ requests

2017-05-15 Thread Hemant Agrawal
DPAA2 hardware support the option to configure multiple memories for Rx recv buffer (DPAA2-DQRR). Each Rx request executing is called as 'DQ' request. This patch adds routines to get information w.r.t each DQ request. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2

[dpdk-dev] [PATCH v2 07/20] bus/fslmc: export qbman results in map file

2017-05-15 Thread 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 2db0fce..6e7b94d 100644 --- a/drivers/bus/fslmc

[dpdk-dev] [PATCH v2 08/20] net/dpaa2: add support for congestion notification

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5 +- drivers/net/dpaa2/dpaa2_ethdev.c| 62 ++- drivers/net/dpaa2/dpaa2_ethdev.h| 14 drivers/net/dpaa2/dpaa2_rxtx.c | 4 + drivers/net/dpaa2/mc/dpni.c | 47

[dpdk-dev] [PATCH v2 06/20] net/dpaa2: support parallel Rx mode

2017-05-15 Thread Hemant Agrawal
start processing the output of the first request. This help in controlling the cpu cycles wasted during the wait for the hardware to write the descriptors. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 +- drivers/net/dpaa2/dpaa2_ethdev.h | 3 +- drivers/net/dpaa2

[dpdk-dev] [PATCH v2 09/20] net/dpaa2: add support for tail drop on queue

2017-05-15 Thread Hemant Agrawal
This will help in limiting the size of queues and avoid them growing practicaly infinite. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c| 19 + drivers/net/dpaa2/dpaa2_ethdev.h| 8 drivers/net/dpaa2/mc/dpni.c | 50 ++ drivers

[dpdk-dev] [PATCH v2 06/20] net/dpaa2: support parallel Rx mode

2017-05-15 Thread Hemant Agrawal
start processing the output of the first request. This help in controlling the cpu cycles wasted during the wait for the hardware to write the descriptors. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 +- drivers/net/dpaa2/dpaa2_ethdev.h | 3 +- drivers/net/dpaa2

[dpdk-dev] [PATCH v2 11/20] net/dpaa2: add support for MAC address filtering

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 81 - drivers/net/dpaa2/mc/dpni.c | 76 ++ drivers/net/dpaa2/mc/fsl_dpni.h | 45

[dpdk-dev] [PATCH v2 10/20] bus/fslmc: update TAILQ usages in dpaa2 objects

2017-05-15 Thread Hemant Agrawal
This patch updates the usages of malloc and TAILQ in dpbp and dpio objects. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 28 +--- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 32 2 files changed, 21

[dpdk-dev] [PATCH v2 12/20] net/dpaa2: add support for multicast promiscuous mode

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 61 +++-- drivers/net/dpaa2/mc/dpni.c | 41 + drivers/net/dpaa2/mc/fsl_dpni.h | 27 drivers/net

[dpdk-dev] [PATCH v2 13/20] net/dpaa2: add support for VLAN filter and offload

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 2 ++ drivers/net/dpaa2/dpaa2_ethdev.c| 55 +++ drivers/net/dpaa2/mc/dpni.c | 66 + drivers/net/dpaa2/mc/fsl_dpni.h | 54

[dpdk-dev] [PATCH v2 14/20] net/dpaa2: add support for VLAN strip

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 0670ae3..d7e18ad 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c

[dpdk-dev] [PATCH v2 16/20] net/dpaa2: add support for flow control

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 142 drivers/net/dpaa2/mc/dpni.c | 18 + drivers/net/dpaa2/mc/fsl_dpni.h | 24 ++ drivers/net/dpaa2/mc/fsl_dpni_cmd.h

[dpdk-dev] [PATCH v2 17/20] net/dpaa2: configure jumbo frames

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 19 +++ 2 files changed, 20 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index 720c35b..48422f0 100644 --- a

[dpdk-dev] [PATCH v2 15/20] net/dpaa2: add link status config support

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 118 +++ drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- drivers/net/dpaa2/dpaa2_rxtx.c | 25 + 3 files changed, 144 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2

[dpdk-dev] [PATCH v2 18/20] bus/fslmc: add support to detect soc version

2017-05-15 Thread Hemant Agrawal
This is required to configure the stashing destination based on the cluster size. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpmng.c| 81 +++ drivers/bus/fslmc/mc/fsl_dpmng.h| 99

[dpdk-dev] [PATCH v2 20/20] bus/fslmc: reducing the debug log messages

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 13 +++-- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 11 +-- 3 files changed, 5 insertions(+), 21 deletions(-) diff --git a/drivers/bus/fslmc

[dpdk-dev] [PATCH v2 19/20] net/dpaa2: add support for Firmware Version get

2017-05-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 31a2358..d64ec48 100644 --- a/drivers/net/dpaa2

Re: [dpdk-dev] [PATCH v2 01/20] mk: change to cortex-a72

2017-05-16 Thread Hemant Agrawal
On 5/15/2017 10:19 PM, Ferruh Yigit wrote: On 5/15/2017 1:37 PM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +- mk/machine/dpaa2/rte.vars.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config

Re: [dpdk-dev] [PATCH] eventdev: define the default value for dequeue timeout

2017-05-18 Thread Hemant Agrawal
On 5/18/2017 2:18 PM, Jerin Jacob wrote: Defining the value 0 as default value for dequeue timeout will help the application reduce the configuration setup if the application is interested only in default timeout value. Signed-off-by: Jerin Jacob --- This patch will fix following error found in

[dpdk-dev] [PATCH v3 00/20] NXP DPAA2 PMD functional enhancements

2017-05-22 Thread Hemant Agrawal
Hemant Agrawal (20): mk: change to cortex-a72 net/dpaa2: remove port level buffer layout definition net/dpaa2: stop using software annotation net/dpaa2: improve the error handling in dev init bus/fslmc: support for parallel Rx DQ requests net/dpaa2: support parallel Rx in eth pmd bus

[dpdk-dev] [PATCH v3 02/20] net/dpaa2: remove port level buffer layout definition

2017-05-22 Thread Hemant Agrawal
This code in device init is not required, as the buffer layout setting is also being programmed during queue configuration. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 25 - 1 file changed, 25 deletions(-) diff --git a/drivers/net/dpaa2

[dpdk-dev] [PATCH v3 04/20] net/dpaa2: improve the error handling in dev init

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 69 +++- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 007eda7..698fb84 100644 --- a/drivers/net

[dpdk-dev] [PATCH v3 03/20] net/dpaa2: stop using software annotation

2017-05-22 Thread Hemant Agrawal
The DPAA2 driver is not using the DPAA2 frame descriptor software annotation area. This patch reduces the PTA length to zero and adjust the RX Buffer Layout accordingly. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- drivers/net/dpaa2/base/dpaa2_hw_dpni.c

[dpdk-dev] [PATCH v3 05/20] bus/fslmc: support for parallel Rx DQ requests

2017-05-22 Thread Hemant Agrawal
DPAA2 hardware support the option to configure multiple memories for Rx recv buffer (DPAA2-DQRR). Each Rx request executing is called as 'DQ' request. This patch adds routines to get information w.r.t each DQ request. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2

[dpdk-dev] [PATCH v3 01/20] mk: change to cortex-a72

2017-05-22 Thread Hemant Agrawal
DPAA2 devices now support cortex-a72. They no longer support a57. Also, fp and simd is no more required to be stated explicitly for standard a72 core. Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +- mk/machine/dpaa2/rte.vars.mk | 2 +- 2 files

[dpdk-dev] [PATCH v3 07/20] bus/fslmc: export qbman results in map file

2017-05-22 Thread Hemant Agrawal
In order to check the congestion state of Egress FQs, this qbman function will be used by the dpaa2 ethernet PMD. Signed-off-by: Hemant Agrawal --- 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

[dpdk-dev] [PATCH v3 08/20] net/dpaa2: add support for congestion notification

2017-05-22 Thread Hemant Agrawal
In case of HW egress FQ is congested, skip further transmission of frames. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5 +- drivers/net/dpaa2/dpaa2_ethdev.c| 62 ++- drivers/net/dpaa2/dpaa2_ethdev.h| 14 drivers/net/dpaa2

[dpdk-dev] [PATCH v3 09/20] net/dpaa2: add support for tail drop on queue

2017-05-22 Thread Hemant Agrawal
This will help in limiting the size of queues and avoid them growing practically infinite. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c| 19 + drivers/net/dpaa2/dpaa2_ethdev.h| 8 drivers/net/dpaa2/mc/dpni.c | 50

[dpdk-dev] [PATCH v3 06/20] net/dpaa2: support parallel Rx in eth pmd

2017-05-22 Thread Hemant Agrawal
start processing the output of the first request. This help in controlling the cpu cycles wasted during the wait for the hardware to write the descriptors. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 +- drivers/net/dpaa2/dpaa2_ethdev.h | 3 +- drivers/net/dpaa2

[dpdk-dev] [PATCH v3 13/20] net/dpaa2: add support for VLAN filter and offload

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 2 ++ drivers/net/dpaa2/dpaa2_ethdev.c| 55 +++ drivers/net/dpaa2/mc/dpni.c | 66 + drivers/net/dpaa2/mc/fsl_dpni.h | 54

[dpdk-dev] [PATCH v3 12/20] net/dpaa2: add support for multicast promiscuous mode

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 61 +++-- drivers/net/dpaa2/mc/dpni.c | 41 + drivers/net/dpaa2/mc/fsl_dpni.h | 27 drivers/net

[dpdk-dev] [PATCH v3 11/20] net/dpaa2: add support for MAC address filtering

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 81 - drivers/net/dpaa2/mc/dpni.c | 76 ++ drivers/net/dpaa2/mc/fsl_dpni.h | 45

[dpdk-dev] [PATCH v3 14/20] net/dpaa2: add support for VLAN strip

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 0670ae3..d7e18ad 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c

[dpdk-dev] [PATCH v3 10/20] bus/fslmc: update TAILQ usages in dpaa2 objects

2017-05-22 Thread Hemant Agrawal
This patch updates the usages of malloc and TAILQ in dpbp and dpio objects. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 28 +--- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 32 2 files changed, 21

[dpdk-dev] [PATCH v3 15/20] net/dpaa2: add link status config support

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 118 +++ drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- drivers/net/dpaa2/dpaa2_rxtx.c | 25 + 3 files changed, 144 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2

[dpdk-dev] [PATCH v3 19/20] net/dpaa2: add support for Firmware Version get

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index efd6064..4de1e0c 100644 --- a/drivers/net/dpaa2

[dpdk-dev] [PATCH v3 16/20] net/dpaa2: add support for flow control

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 142 drivers/net/dpaa2/mc/dpni.c | 18 + drivers/net/dpaa2/mc/fsl_dpni.h | 24 ++ drivers/net/dpaa2/mc/fsl_dpni_cmd.h

[dpdk-dev] [PATCH v3 17/20] net/dpaa2: configure jumbo frames

2017-05-22 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 20 2 files changed, 21 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index 720c35b..48422f0 100644 --- a

[dpdk-dev] [PATCH v3 18/20] bus/fslmc: add support to detect soc version

2017-05-22 Thread Hemant Agrawal
This is required to configure the stashing destination based on the cluster size. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpmng.c| 81 +++ drivers/bus/fslmc/mc/fsl_dpmng.h| 99

[dpdk-dev] [PATCH v3 20/20] bus/fslmc: reducing the debug log messages

2017-05-22 Thread Hemant Agrawal
Reducing the amount of logging and making the err statement as a single line statements. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 43 +--- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c

[dpdk-dev] Next Stable Release?

2017-05-23 Thread Hemant Agrawal
Which is the next DPDK LTS release? Is 17.05 a DPDK LTS release? Do we need to send a copy to sta...@dpdk.org for any fixes on 17.05? Regards, Hemant

[dpdk-dev] [PATCH 2/2] mempool/dpaa2: improving the alloc/free logging

2017-05-23 Thread Hemant Agrawal
Debug logs are helpful for better debugging. Alloc was having the logs, but logs were not present in free routines. This patch add support for debug mode logs in free routine. Also, changing the log category to DRV instead of TX. Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa2

[dpdk-dev] [PATCH 1/2] mempool/dpaa2: fix the return value for alloc fail

2017-05-23 Thread Hemant Agrawal
mpool") CC: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c index 5a5d6aa..60dd1c0 100644 --- a/d

Re: [dpdk-dev] [PATCH v4 2/2] ethdev: add traffic management API

2017-05-24 Thread Hemant Agrawal
from Hemant [6] - Capability API: Reworked the port, level and node capability API data structure to remove confusion due to "summary across all nodes" approach, which made it unclear whether a particular capability is supported by all nodes or by at

[dpdk-dev] [PATCH v4 00/20] NXP DPAA2 PMD functional enhancements

2017-05-25 Thread Hemant Agrawal
next-net * added additional comments in logs * fixed issue with shared compilation v2: * rebased on next-net * added additional functional patches Hemant Agrawal (20): mk: change to cortex-a72 net/dpaa2: remove port level buffer layout definition net/dpaa2: stop using software annotation

[dpdk-dev] [PATCH v4 01/20] mk: change to cortex-a72

2017-05-25 Thread Hemant Agrawal
DPAA2 devices now support cortex-a72. They no longer support a57. Also, fp and simd is no more required to be stated explicitly for standard a72 core. Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +- mk/machine/dpaa2/rte.vars.mk | 2 +- 2 files

[dpdk-dev] [PATCH v4 02/20] net/dpaa2: remove port level buffer layout definition

2017-05-25 Thread Hemant Agrawal
This code in device init is not required, as the buffer layout setting is also being programmed during queue configuration. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 25 - 1 file changed, 25 deletions(-) diff --git a/drivers/net/dpaa2

[dpdk-dev] [PATCH v4 04/20] net/dpaa2: improve the error handling in dev init

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 69 +++- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 007eda7..698fb84 100644 --- a/drivers/net

[dpdk-dev] [PATCH v4 03/20] net/dpaa2: stop using software annotation

2017-05-25 Thread Hemant Agrawal
The DPAA2 driver is not using the DPAA2 frame descriptor software annotation area. This patch reduces the PTA length to zero and adjust the RX Buffer Layout accordingly. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- drivers/net/dpaa2/base/dpaa2_hw_dpni.c

[dpdk-dev] [PATCH v4 08/20] net/dpaa2: add support for congestion notification

2017-05-25 Thread Hemant Agrawal
In case of HW egress FQ is congested, skip further transmission of frames. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5 +- drivers/net/dpaa2/dpaa2_ethdev.c| 62 ++- drivers/net/dpaa2/dpaa2_ethdev.h| 14 drivers/net/dpaa2

[dpdk-dev] [PATCH v4 05/20] bus/fslmc: support for parallel Rx DQ requests

2017-05-25 Thread Hemant Agrawal
DPAA2 hardware support the option to configure multiple memories for Rx recv buffer (DPAA2-DQRR). Each Rx request executing is called as 'DQ' request. This patch adds routines to get information w.r.t each DQ request. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2

[dpdk-dev] [PATCH v4 07/20] bus/fslmc: export qbman results in map file

2017-05-25 Thread Hemant Agrawal
In order to check the congestion state of Egress FQs, this qbman function will be used by the dpaa2 ethernet PMD. Signed-off-by: Hemant Agrawal --- 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

[dpdk-dev] [PATCH v4 09/20] net/dpaa2: add support for tail drop on queue

2017-05-25 Thread Hemant Agrawal
This will help in limiting the size of queues and avoid them growing practically infinite. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c| 19 + drivers/net/dpaa2/dpaa2_ethdev.h| 8 drivers/net/dpaa2/mc/dpni.c | 50

[dpdk-dev] [PATCH v4 11/20] net/dpaa2: add support for MAC address filtering

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 81 - drivers/net/dpaa2/mc/dpni.c | 76 ++ drivers/net/dpaa2/mc/fsl_dpni.h | 45

[dpdk-dev] [PATCH v4 10/20] bus/fslmc: update TAILQ usages in dpaa2 objects

2017-05-25 Thread Hemant Agrawal
This patch updates the usages of malloc and TAILQ in dpbp and dpio objects. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 28 +--- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 32 2 files changed, 21

[dpdk-dev] [PATCH v4 06/20] net/dpaa2: support parallel Rx in eth pmd

2017-05-25 Thread Hemant Agrawal
start processing the output of the first request. This help in controlling the cpu cycles wasted during the wait for the hardware to write the descriptors. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 +- drivers/net/dpaa2/dpaa2_ethdev.h | 3 +- drivers/net/dpaa2

[dpdk-dev] [PATCH v4 17/20] net/dpaa2: configure jumbo frames

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 20 2 files changed, 21 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index 720c35b..48422f0 100644 --- a

[dpdk-dev] [PATCH v4 14/20] net/dpaa2: add support for VLAN strip

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 0670ae3..d7e18ad 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c

[dpdk-dev] [PATCH v4 16/20] net/dpaa2: add support for flow control

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 142 drivers/net/dpaa2/mc/dpni.c | 18 + drivers/net/dpaa2/mc/fsl_dpni.h | 24 ++ drivers/net/dpaa2/mc/fsl_dpni_cmd.h

[dpdk-dev] [PATCH v4 18/20] bus/fslmc: add support to detect soc version

2017-05-25 Thread Hemant Agrawal
This is required to configure the stashing destination based on the cluster size. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpmng.c| 81 +++ drivers/bus/fslmc/mc/fsl_dpmng.h| 99

[dpdk-dev] [PATCH v4 12/20] net/dpaa2: add support for multicast promiscuous mode

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 61 +++-- drivers/net/dpaa2/mc/dpni.c | 41 + drivers/net/dpaa2/mc/fsl_dpni.h | 27 drivers/net

[dpdk-dev] [PATCH v4 13/20] net/dpaa2: add support for VLAN filter and offload

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 2 ++ drivers/net/dpaa2/dpaa2_ethdev.c| 55 +++ drivers/net/dpaa2/mc/dpni.c | 66 + drivers/net/dpaa2/mc/fsl_dpni.h | 54

[dpdk-dev] [PATCH v4 19/20] net/dpaa2: add support for Firmware Version get

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 36 +++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index

[dpdk-dev] [PATCH v4 15/20] net/dpaa2: add link status config support

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 118 +++ drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- drivers/net/dpaa2/dpaa2_rxtx.c | 25 + 3 files changed, 144 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2

[dpdk-dev] [PATCH v4 20/20] bus/fslmc: reducing the debug log messages

2017-05-25 Thread Hemant Agrawal
Reducing the amount of logging and making the err statement as a single line statements. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 43 +--- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c

Re: [dpdk-dev] [PATCH v3 00/20] NXP DPAA2 PMD functional enhancements

2017-05-26 Thread Hemant Agrawal
On 5/24/2017 5:19 PM, Ferruh Yigit wrote: On 5/22/2017 10:39 AM, Hemant Agrawal wrote: This patchset adds following features to DPAA2 PMD: 1. improved error handling 2. parallel RX DQ requests to improve performance 3. Support for various ethdev operations 4. enable jumbo frames --- v2

Re: [dpdk-dev] [PATCH 0/2] prevent out of bounds read with checksum

2018-12-18 Thread Hemant Agrawal
or parameter length checking, as the data does not > come from an untrusted source. Perhaps maintainers, Hemant and Shreyansh, > can confirm? In DPAA, we are using software based checksum calculation for self generated packets largely. They are mostly trust worthy unless someone is deliberatel

Re: [dpdk-dev] [PATCH 1/2] net: fix underflow for checksum of invalid IPv4 packets

2018-12-18 Thread Hemant Agrawal
Acked-by: Hemant Agrawal mailto:hemant.agra...@nxp.com>>

Re: [dpdk-dev] [PATCH 1/2] net: fix underflow for checksum of invalid IPv4 packets

2018-12-18 Thread Hemant Agrawal
After fixing my mail client issues. Acked-by: Hemant Agrawal <mailto:hemant.agra...@nxp.com> On 18-Dec-18 6:45 PM, Hemant Agrawal wrote: Acked-by: Hemant Agrawal mailto:hemant.agra...@nxp.com><mailto:hemant.agra...@nxp.com><mailto:hemant.agra...@nxp.com>>

[dpdk-dev] [PATCH 0/4] NXP DPAA fixes and enhancements

2018-12-26 Thread Hemant Agrawal
Few fixes and minor enhancements in NXP DPAA driver Hemant Agrawal (4): bus/dpaa: fix the logical to physical core affine logic net/dpaa: fix the secondary process net/dpaa: update supported ptypes net/dpaa: update RSS offload types drivers/bus/dpaa/dpaa_bus.c| 41

[dpdk-dev] [PATCH 1/4] bus/dpaa: fix the logical to physical core affine logic

2018-12-26 Thread Hemant Agrawal
a Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 41 +++-- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index 203f60dc1..1f9e3ca11 100644 --- a/driver

[dpdk-dev] [PATCH 4/4] net/dpaa: update RSS offload types

2018-12-26 Thread Hemant Agrawal
Validated and tested additional offload flags for RSS configuration. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h index 2fc723171

[dpdk-dev] [PATCH 3/4] net/dpaa: update supported ptypes

2018-12-26 Thread Hemant Agrawal
Validated and tested additional packet type for the DPAA platform. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 5448a2ca7

[dpdk-dev] [PATCH 2/4] net/dpaa: fix the secondary process

2018-12-26 Thread Hemant Agrawal
In order to support I/O from secondary process, the burst APIs and OPS APIs shall be mapped/plugged. This patch fixes the code to remap the ops and burst apis. Fixes: ff9e112d7870 ("net/dpaa: add NXP DPAA PMD driver skeleton") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- d

[dpdk-dev] [PATCH 04/20] net/dpaa2: fix bad check for not-null

2018-12-26 Thread Hemant Agrawal
The check !dpaa2->cscn is not correct to check non-null value. Fixes: 5d9a1e4d23fe ("net/dpaa2: enhance queue memory cleanup") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --

[dpdk-dev] [PATCH 00/20] NXP DPAA2 fixes and enhancements

2018-12-26 Thread Hemant Agrawal
mbuf Hemant Agrawal (8): bus/fslmc: fix to use correct physical core for logical core net/dpaa2: fix bad check for not-null bus/fslmc: fix to convert error msg to warning net/dpaa2: fix device init for secondary process bus/fslmc: upgrade to latest qbman library bus/fslmc: add dynamic

[dpdk-dev] [PATCH 02/20] bus/fslmc: fix the ring mode to use correct cache settings

2018-12-26 Thread Hemant Agrawal
From: Youri Querry The code was incorrectly using the cache inhibited access. It shall use cached enabled access for better performance. Fixes: 293c0ca94c36 ("bus/fslmc: support memory backed portals with QBMAN 5.0") Cc: sta...@dpdk.org Signed-off-by: Youri Querry --- drivers/bus/fslmc/qbman/

[dpdk-dev] [PATCH 03/20] bus/fslmc: fix to use correct physical core for logical core

2018-12-26 Thread Hemant Agrawal
Existing code is using the lcore id as the physical core id. Add code to get the right physical id. Also, dpaa2 can not support one lcore mapping to multiple cpus, print err on such cases. Fixes: ce9efbf5bb09 ("bus/fslmc: support dynamic logging") Cc: sta...@dpdk.org Signed-off-

<    8   9   10   11   12   13   14   15   16   17   >