Re: [dpdk-dev] [PATCH v2] build: avoid --as-needed as it causes overlinking

2019-09-09 Thread Christian Ehrhardt
On Wed, Sep 4, 2019 at 11:18 AM Bruce Richardson wrote: > > On Wed, Sep 04, 2019 at 11:13:34AM +0200, Christian Ehrhardt wrote: > > On Mon, Sep 2, 2019 at 9:09 AM Christian Ehrhardt > > wrote: > > > > > > On Thu, Aug 29, 2019 at 6:02 PM Luca Boccassi wrote: > > > > > > > > On Thu, 2019-08-29 at

Re: [dpdk-dev] [PATCH 6/6] doc: add documentation for OCTEON TX2 crypto asym support

2019-09-09 Thread Thomas Monjalon
10/09/2019 06:13, Jerin Jacob Kollanukkaran: > From: Anoob Joseph > > Adding documentation for asymmetric features supported by > > crypto_octeontx2 PMD. > > > > Signed-off-by: Anoob Joseph > > Signed-off-by: Kanaka Durga Kotamarthy > > Signed-off-by: Sunila Sahu > > --- > > doc/guides/crypto

Re: [dpdk-dev] [PATCH 0/2] add lock-free mode for l3fwd

2019-09-09 Thread Ruifeng Wang (Arm Technology China)
> -Original Message- > From: Honnappa Nagarahalli > Sent: Tuesday, September 10, 2019 06:45 > To: Ruifeng Wang (Arm Technology China) ; > Ananyev, Konstantin ; Kantecki, Tomasz > > Cc: dev@dpdk.org; Gavin Hu (Arm Technology China) ; > Honnappa Nagarahalli ; nd > ; nd > Subject: RE: [dp

Re: [dpdk-dev] [PATCH 2/2] net/virtio: on demand cleanup when doing in order xmit

2019-09-09 Thread Tiwei Bie
On Tue, Aug 27, 2019 at 06:24:07PM +0800, Marvin Liu wrote: > Check whether freed descriptors are enough before enqueue operation. > If more space is needed, will try to cleanup used ring on demand. It > can give more chances to cleanup used ring, thus help RFC2544 perf. > > Signed-off-by: Marvin

Re: [dpdk-dev] [PATCH 6/6] doc: add documentation for OCTEON TX2 crypto asym support

2019-09-09 Thread Anoob Joseph
Hi Jerin, Please see inline. Thanks, Anoob > -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Tuesday, September 10, 2019 9:43 AM > To: Anoob Joseph ; Akhil Goyal > ; Pablo de Lara ; > Thomas Monjalon > Cc: Anoob Joseph ; Narayana Prasad Raju Athreya > ; Fiona Trahe ; Kanak

Re: [dpdk-dev] [PATCH] ethdev: port kernel definitions for module EEPROM

2019-09-09 Thread Slava Ovsiienko
> -Original Message- > From: dev On Behalf Of Dekel Peled > Sent: Monday, September 9, 2019 14:10 > To: Thomas Monjalon ; ferruh.yi...@intel.com; > arybche...@solarflare.com; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH] ethdev: port kernel definitions for modul

Re: [dpdk-dev] [PATCH] net/mlx5: support reading module EEPROM data

2019-09-09 Thread Slava Ovsiienko
> -Original Message- > From: Dekel Peled > Sent: Monday, September 9, 2019 14:05 > To: Matan Azrad ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org > Subject: [PATCH] net/mlx5: support reading module EEPROM data > > This patch implements ethdev operations get_module_info

Re: [dpdk-dev] [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header

2019-09-09 Thread Slava Ovsiienko
> -Original Message- > From: Moti Haimovsky > Sent: Monday, September 9, 2019 18:57 > To: Slava Ovsiienko ; Raslan Darawsheh > > Cc: dev@dpdk.org > Subject: [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header > > VLAN actions support is implemented in librte_ethdev, and in te

Re: [dpdk-dev] [PATCH 1/2] net/virtio: update stats when in order xmit done

2019-09-09 Thread Tiwei Bie
On Tue, Aug 27, 2019 at 06:24:06PM +0800, Marvin Liu wrote: > When doing xmit in-order enqueue, packets are buffered and then flushed > into avail ring. It has possibility that no free room in avail ring, > thus some buffered packets can't be transmitted. So move stats update > just after successfu

Re: [dpdk-dev] [PATCH v2 5/5] test/event: enable dpaa2 self test

2019-09-09 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Hemant Agrawal > Sent: Saturday, September 7, 2019 12:12 PM > To: dev@dpdk.org > Cc: Jerin Jacob Kollanukkaran ; Hemant Agrawal > > Subject: [EXT] [PATCH v2 5/5] test/event: enable dpaa2 self test > > Signed-off-by: Hemant Agrawal Please fix http://mails.d

Re: [dpdk-dev] [PATCH v2 3/5] event/dpaa2: add destroy support

2019-09-09 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Hemant Agrawal > Sent: Saturday, September 7, 2019 12:12 PM > To: dev@dpdk.org > Cc: Jerin Jacob Kollanukkaran ; Hemant Agrawal > > Subject: [EXT] [PATCH v2 3/5] event/dpaa2: add destroy support > > Signed-off-by: Hemant Agrawal Please fix http://mails.dpdk

Re: [dpdk-dev] [PATCH v3 38/54] examples/vhost: check status of getting ethdev info

2019-09-09 Thread Tiwei Bie
On Fri, Sep 06, 2019 at 08:30:50AM +0100, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > rte_eth_dev_info_get() return value was changed from void to > int, so this patch modify rte_eth_dev_info_get() usage across > examples/vhost according to its new return type. > > Signed-off-by: Ivan Ilch

Re: [dpdk-dev] [RFC v2 1/3] ethdev: add the API for getting trace information

2019-09-09 Thread Wang, Haiyue
Thanks Ferruh, Bruce. > -Original Message- > From: Yigit, Ferruh > Sent: Monday, September 9, 2019 21:18 > To: Richardson, Bruce > Cc: Wang, Haiyue ; Ray Kinsella ; > dev@dpdk.org; Sun, Chenmin > > Subject: Re: [dpdk-dev] [RFC v2 1/3] ethdev: add the API for getting trace > information

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-09 Thread Zhang, Qi Z
> -Original Message- > From: Ye, Xiaolong > Sent: Tuesday, September 10, 2019 12:13 AM > To: Yigit, Ferruh ; Loftus, Ciara > ; Ye, Xiaolong ; Zhang, Qi Z > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/af_xdp: fix Tx halt when no recv packets > > The kernel only consumes T

Re: [dpdk-dev] [PATCH 6/6] doc: add documentation for OCTEON TX2 crypto asym support

2019-09-09 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Anoob Joseph > Sent: Monday, September 9, 2019 8:57 PM > To: Akhil Goyal ; Pablo de Lara > ; Thomas Monjalon > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; Fiona Trahe ; Kanaka > Durga Kotamarthy ; Shally Verma > ; Sunila

Re: [dpdk-dev] [PATCH v3 1/2] virtio: one way barrier for packed vring desc avail flags

2019-09-09 Thread Wang, Yinan
Hi Joyce, I just test performance impact of your patch set with code base commit id: d03d8622db48918d14bfe805641b1766ecc40088, after applying your v3 patch set , seven paths of vhost/virtio pvp test shows performance drop as below: PVP vhost/virtio 1c1q test  before apply patch

Re: [dpdk-dev] [PATCH 0/2] add lock-free mode for l3fwd

2019-09-09 Thread Honnappa Nagarahalli
> > > > Hi, > > > > > > > > Lock-free mode is supported by hash library and LPM library. > > > Now we add an option for l3fwd example to enable the lock-free mode. > > > Necessary preparation steps are added to use lock-free LPM mode. > > > > Can I ask about the purpose of these changes? > > Righ

Re: [dpdk-dev] [PATCH v2 2/6] lib/ring: add template to support different element sizes

2019-09-09 Thread Honnappa Nagarahalli
> -Original Message- > From: Bruce Richardson > Sent: Monday, September 9, 2019 4:01 AM > To: Stephen Hemminger > Cc: Honnappa Nagarahalli ; > olivier.m...@6wind.com; yipeng1.w...@intel.com; > sameh.gobr...@intel.com; pablo.de.lara.gua...@intel.com; dev@dpdk.org; > pbhagavat...@marvell.

Re: [dpdk-dev] [PATCH] maintainers: update for Mellanox mlx5 PMD

2019-09-09 Thread Thomas Monjalon
> From: Yongseok Koh > > Matan thankfully accepted to replace myself as maintainer for mlx5 PMD. > > Good luck! > > > > Signed-off-by: Yongseok Koh > Acked-by: Matan Azrad Applied, thanks

Re: [dpdk-dev] [PATCH] maintainers: update stable maintainers

2019-09-09 Thread Thomas Monjalon
05/09/2019 18:23, Thomas Monjalon: > 05/09/2019 18:21, Luca Boccassi: > > On Thu, 2019-09-05 at 16:49 +0100, Kevin Traynor wrote: > > > Yuanhan is no longer maintaining DPDK stable. > > > > > > Add myself as a stable maintainer. > > > > > > Signed-off-by: Kevin Traynor > > > > Acked-by: Luca Bo

Re: [dpdk-dev] [PATCH] Change email in maintainers file

2019-09-09 Thread Thomas Monjalon
19/08/2019 14:28, Aaron Conole: > Michael Santana writes: > > > Change email address for Michael Santana to personal email in the > > MAINTAINERS file > > > > Signed-off-by: Michael Santana > > Signed-off-by: Michael Santana > > --- > > > > NOTE: My internship at Red Hat is ending soon so I wil

Re: [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-09 Thread Thomas Monjalon
Adding i40e maintainers and few more. 07/09/2019 01:11, Mike DeVico: > Hello, > > I am having an issue getting the DCB feature to work with an Intel > X710 Quad SFP+ NIC. > > Here’s my setup: > > 1. DPDK 18.08 built with the following I40E configs: > > CONFIG_RTE_LIBRTE_I40E_PMD=y > CONFI

[dpdk-dev] [PATCH 8/9] build: add additional common files support

2019-09-09 Thread Pallavi Kadam
Support for additional common files in meson build to expand Windows EAL and to support the lcore parsing feature on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/meson.build | 8 +

[dpdk-dev] [PATCH 7/9] eal: add function to detect process type

2019-09-09 Thread Pallavi Kadam
Adding a function to detect process type and include header files to contain suitable function declarations. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/eal.c| 51

[dpdk-dev] [PATCH 9/9] eal: add minimum viable code to support parsing

2019-09-09 Thread Pallavi Kadam
Adding specific logic for eal.c to support parsing on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/eal.c | 119 +-- 1 file changed, 112 insertions(+), 7 de

[dpdk-dev] [PATCH 6/9] eal: getopt implementation for windows

2019-09-09 Thread Pallavi Kadam
Adding getopt_long.c and getopt.c files to support parsing option on Windows. The original contribution is under MIT license. Signed-off-by: Antara Ganesh Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/getopt.c | 132 +

[dpdk-dev] [PATCH 4/9] eal: dirent.h implementation for windows

2019-09-09 Thread Pallavi Kadam
Adding dirent.h on Windows to support common code. The original contribution is under MIT license. Signed-off-by: Antara Ganesh Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/include/dirent.h | 666 1 f

[dpdk-dev] [PATCH 5/9] eal: add additional function overrides in windows header files

2019-09-09 Thread Pallavi Kadam
Adding additional function definitions for pthread, cpuset implementation, asprintf implementation, in order to support common code. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/common/include/rte_lcore.h

[dpdk-dev] [PATCH 3/9] eal: add windows compatible header files

2019-09-09 Thread Pallavi Kadam
Adding dlfcn.h on Windows to support common code. Adding eal_filesystem.h to support functions and path defines for files and directories on Windows. Adding getopt.h to support parsing options on Windows. Adding rte_vect.h as Windows fails to compile: \common\include\arch\x86\rte_vect.h. Signed

[dpdk-dev] [PATCH 2/9] eal: syslog implementation for windows

2019-09-09 Thread Pallavi Kadam
Adding syslog.h on Windows for supporting common code. This implementation has BSD-3-Clause licensing. Signed-off-by: Antara Ganesh Kolar Signed-off-by: Pallavi Kadam Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/include/syslog.h | 213

[dpdk-dev] [PATCH 1/9] eal: eal stub to support parsing feature on windows

2019-09-09 Thread Pallavi Kadam
Adding initial stub to support command line parsing for lcore mask option on Windows. Signed-off-by: Pallavi Kadam Signed-off-by: Antara Ganesh Kolar Reviewed-by: Ranjit Menon Reviewed-by: Keith Wiles --- lib/librte_eal/windows/eal/eal.c| 29 ++--- lib/librte_eal/w

[dpdk-dev] [PATCH 0/9] Windows patchset with additional EAL functionalities

2019-09-09 Thread Pallavi Kadam
This patchset includes additional functionalities for Windows EAL to support command-line parsing feature and EAL common code on Windows. This patchset can be applied to windpdk-next-dev branch in the draft repo. Pallavi Kadam (9): eal: eal stub to support parsing feature on windows eal: sysl

Re: [dpdk-dev] [PATCH v3 02/54] ethdev: change rte_eth_dev_info_get() return value to int

2019-09-09 Thread Ferruh Yigit
On 9/6/2019 8:30 AM, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Change rte_eth_dev_info_get() return value from void to int and return > negative errno values in case of error conditions. > Modify rte_eth_dev_info_get() usage across the ethdev according > to new return type. > > Signed-of

Re: [dpdk-dev] [PATCH 0/6] add asymmetric support in crypto_octeontx2 PMD

2019-09-09 Thread Shally Verma
> -Original Message- > From: Anoob Joseph > Sent: Monday, September 9, 2019 8:57 PM > To: Akhil Goyal ; Pablo de Lara > ; Thomas Monjalon > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; Fiona Trahe ; Kanaka > Durga Kotamarthy ; Shally Verma > ; Sun

[dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-09 Thread Xiaolong Ye
The kernel only consumes Tx packets if we have some Rx traffic on specified queue or we have called send(). So we need to issue a send() even when the allocation fails so that kernel will start to consume packets again. Commit 45bba02c95b0 ("net/af_xdp: support need wakeup feature") breaks above r

[dpdk-dev] [PATCH v5 6/7] net/mlx5: supp modify VLAN ID on new VLAN header

2019-09-09 Thread Moti Haimovsky
This commit adds support for modifying the VLAN ID (VID) field in an about-to-be-pushed VLAN header. This feature can only modify the VID field of a new VLAN header yet to be pushed. It does not support modifying an existing or already pushed VLAN headers. Signed-off-by: Moti Haimovsky --- v4: -

[dpdk-dev] [PATCH v5 4/7] net/mlx5: support push flow action on VLAN header

2019-09-09 Thread Moti Haimovsky
This commit adds support for RTE_FLOW_ACTION_TYPE_OF_PUSH_VLAN using direct verbs flow rules. If present in the flow, The VLAN default values are taken from the VLAN item configuration. In this commit only the VLAN TPID value can be set since VLAN modification actions are not supported yet. Signed

[dpdk-dev] [PATCH v5 5/7] net/mlx5: support modify VLAN priority on VLAN hdr

2019-09-09 Thread Moti Haimovsky
This commit adds support for modifying the VLAN priority (PCP) field in about-to-be-pushed VLAN header. This feature can only modify the PCP field of a new VLAN header yet to be pushed. It does not support modifying an existing or already pushed VLAN headers. Signed-off-by: Moti Haimovsky --- v4:

[dpdk-dev] [PATCH v5 7/7] net/mlx5: supp modify VLAN ID on existing VLAN hdr

2019-09-09 Thread Moti Haimovsky
This commit adds support for modifying the VID of the outermost VLAN header already present in the packet. Signed-off-by: Moti Haimovsky --- doc/guides/nics/mlx5.rst| 20 - drivers/net/mlx5/mlx5_flow.h| 3 +- drivers/net/mlx5/mlx5_flow_dv.c | 89 +

[dpdk-dev] [PATCH v5 1/7] net/mlx5: support for an action search in a list

2019-09-09 Thread Moti Haimovsky
This commit adds a helper routine that supports searching for a specific action in a list of actions. Signed-off-by: Moti Haimovsky --- drivers/net/mlx5/mlx5_flow.c | 23 +++ drivers/net/mlx5/mlx5_flow.h | 3 +++ 2 files changed, 26 insertions(+) diff --git a/drivers/net/ml

[dpdk-dev] [PATCH v5 2/7] net/mlx5: add VLAN push/pop DR commands to glue

2019-09-09 Thread Moti Haimovsky
This commit adds the mlx5dv VLAN push and pop commands to mlx5_glue interface. Signed-off-by: Moti Haimovsky --- drivers/net/mlx5/Makefile| 5 + drivers/net/mlx5/meson.build | 2 ++ drivers/net/mlx5/mlx5_glue.c | 29 + drivers/net/mlx5/mlx5_glue.h | 6 +

[dpdk-dev] [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header

2019-09-09 Thread Moti Haimovsky
VLAN actions support is implemented in librte_ethdev, and in test-pmd application, based on [1] Generic flow API. These actions conform to the VLAN actions defined in [2] the OpenFlow Switch Specification. rte_flow defines the following VLAN actions: 1. OF_POP_VLAN Pop the outer-most VLAN hea

[dpdk-dev] [PATCH v5 3/7] net/mlx5: support pop flow action on VLAN header

2019-09-09 Thread Moti Haimovsky
This commit adds support for RTE_FLOW_ACTION_TYPE_OF_POP_VLAN via direct verbs flow rules. Signed-off-by: Moti Haimovsky --- doc/guides/nics/mlx5.rst | 10 + doc/guides/rel_notes/release_19_11.rst | 6 +++ drivers/net/mlx5/mlx5.c| 9 drivers/net/mlx5/mlx5

Re: [dpdk-dev] [PATCH 0/8] add asym support in crypto_octeontx PMD

2019-09-09 Thread Shally Verma
> -Original Message- > From: Anoob Joseph > Sent: Monday, September 9, 2019 6:58 PM > To: Akhil Goyal ; Pablo de Lara > ; Thomas Monjalon > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; Fiona Trahe ; Kanaka > Durga Kotamarthy ; Shally Verma > ; Sun

[dpdk-dev] [PATCH 6/6] doc: add documentation for OCTEON TX2 crypto asym support

2019-09-09 Thread Anoob Joseph
Adding documentation for asymmetric features supported by crypto_octeontx2 PMD. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- doc/guides/cryptodevs/features/octeontx2.ini | 9 + doc/guides/cryptodevs/octeontx2.rst | 13 +

[dpdk-dev] [PATCH 4/6] crypto/octeontx2: add asymmetric in enqueue/dequeue ops

2019-09-09 Thread Anoob Joseph
From: Sunila Sahu This patch adds asymmetric support in enqueue/dequeue ops. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 176 +- drivers/crypto/octeontx2/otx2_cryptod

[dpdk-dev] [PATCH 5/6] app/test: register octeontx2 PMD to asym testsuite

2019-09-09 Thread Anoob Joseph
From: Sunila Sahu This patch updates asymmetric crypto unit-test application to validate asymmetric crypto operation supported by octeontx2 PMD. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- app/test/test_cryptodev_asym.c | 18 +

[dpdk-dev] [PATCH 3/6] crypto/octeontx2: add asymmetric session operations

2019-09-09 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy This patch adds asymmetric session setup and free routines. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev.c | 3 +- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 6

[dpdk-dev] [PATCH 2/6] crypto/octeontx2: allocate memory for asymmetric operation

2019-09-09 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy This patch determines metabuf length needed to perform asymmetric crypto operation. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 37 +++

[dpdk-dev] [PATCH 1/6] crypto/octeontx2: add RSA and modexp asym capabilities

2019-09-09 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Adding RSA and modexp capabilities supported by octeontx2 crypto PMD Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev.c | 3 +- .../crypto/octeontx2/otx2_cryptodev

[dpdk-dev] [PATCH 0/6] add asymmetric support in crypto_octeontx2 PMD

2019-09-09 Thread Anoob Joseph
This series adds asymmetric crypto support in 'crypto_octeontx2' PMD. Features supported: RSA & modular exponentiation This series has dependency on the follwing, 1. http://patches.dpdk.org/project/dpdk/list/?series=6176 2. http://patches.dpdk.org/project/dpdk/list/?series=6337 Anoob Joseph (1):

Re: [dpdk-dev] [PATCH 4/7] test/rcu: use size_t instead of int

2019-09-09 Thread Ruifeng Wang (Arm Technology China)
> -Original Message- > From: dev On Behalf Of Honnappa Nagarahalli > Sent: Monday, September 9, 2019 06:50 > To: Honnappa Nagarahalli ; > konstantin.anan...@intel.com > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH 4/7] test/rcu: use size_t instead of int > > Variables

Re: [dpdk-dev] [PATCH v1] net/ice: enable advanced RSS

2019-09-09 Thread Ferruh Yigit
On 9/9/2019 7:34 AM, Su, Simei wrote: > > >> -Original Message- >> From: Ye, Xiaolong >> Sent: Sunday, September 8, 2019 5:26 PM >> To: Su, Simei >> Cc: Zhang, Qi Z ; dev@dpdk.org >> Subject: Re: [PATCH v1] net/ice: enable advanced RSS >> >> On 09/08, Simei Su wrote: >>> This patch suppo

[dpdk-dev] [PATCH v1] net/ice: enable advanced RSS

2019-09-09 Thread Simei Su
This patch supports the following features: (1)inner header hash for tunnel packets, including comms package. (2)symmetric hash by rte_flow RSS action. (3)input set change by rte_flow RSS action. This patch depends on the following patches on patchwork: (1)https://patchwork.dpdk.org/patch/

[dpdk-dev] [PATCH v2] net/ice: enable advanced RSS

2019-09-09 Thread Simei Su
This patch supports the following features: (1)inner header hash for tunnel packets, including comms package. (2)symmetric hash by rte_flow RSS action. (3)input set change by rte_flow RSS action. Signed-off-by: Simei Su --- This patch depends on the following patches on patchwork: (1)http

[dpdk-dev] [PATCH] test/compress: unit tests refactoring

2019-09-09 Thread Artur Trybula
Core engine refactoring (test_deflate_comp_decomp function). Smaller specialized functions created. Signed-off-by: Artur Trybula --- This patch depends on "test/compress: unit test for stateless overflow recovery": http://patches.dpdk.org/patch/58834/ app/test/test_compressdev.c | 833 +

Re: [dpdk-dev] [PATCH] app/compress-perf: fix memory deallocation issue

2019-09-09 Thread Trybula, ArturX
This patch fixes the memory deallocation issue which happened after unsuccessful allocation (e.g. due to the out of memory) and produced the segmentation fault. Fixes: 424dd6c8c1 ("app/compress-perf: add weak functions for multicore test") Signed-off-by: Adam Dybkowski Acked-by: Artur Trybula

Re: [dpdk-dev] [PATCH] app/compress-perf: fix floating point exception

2019-09-09 Thread Trybula, ArturX
This patch fixes the floating point exception that happened when the number of cores to be used during the benchmark was zero. After the fix such situation is detected, the error message is printed and the benchmark application exits. Fixes: 424dd6c8c1a8 ("app/compress-perf: add weak functions f

Re: [dpdk-dev] [PATCH] test/compress: return -ENOTSUP on capability get error

2019-09-09 Thread Trybula, ArturX
This patch fixes the return value of the test_deflate_comp_decomp function on capabilities retrieval error to be -ENOTSUP. It also fixes passing of the test_deflate_comp_decomp function's return value to the upper level (as the test suite function return value). Signed-off-by: Adam Dybkowski A

Re: [dpdk-dev] [PATCH] examples/ioat: create sample app on ioat driver usage

2019-09-09 Thread Bruce Richardson
On Mon, Sep 09, 2019 at 09:12:32AM -0400, Aaron Conole wrote: > Marcin Baran writes: > > > From: Pawel Modrak > > > > A new sample app demonstrating use of driver for CBDMA. > > The app receives packets, performs software or hardware > > copy, changes packets' MAC addresses (if enabled) and > >

[dpdk-dev] [PATCH] lib/rcu: fix possible spurious thread unregister

2019-09-09 Thread Ruifeng Wang
Thread unregister returns success while unregister not been performed. This is due to incorrect thread registration status check. Fix this issue by correcting bitmap check. Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism") Cc: sta...@dpdk.org Signed-off-by: Ruifeng Wang Revi

Re: [dpdk-dev] [PATCH v4] net/i40e: validate all messages from VF

2019-09-09 Thread Ye Xiaolong
Hi, alvinx Could you add some changelog to your patch, it would be easier for reviewers/readers to know what changes you've made compared to last version. Thanks, Xiaolong On 09/09, alvinx.zh...@intel.com wrote: >From: Alvin Zhang > >If VF driver in VM continuous sending invalid messages by m

[dpdk-dev] [PATCH 8/8] doc: update octeontx asymmetric features

2019-09-09 Thread Anoob Joseph
From: Sunila Sahu Update documentation with supported asymmetric features for octeontx Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- doc/guides/cryptodevs/features/octeontx.ini | 6 +- doc/guides/cryptodevs/octeontx.rst | 25 +

[dpdk-dev] [PATCH 7/8] app/test: register octeontx PMD to asym testsuite

2019-09-09 Thread Anoob Joseph
From: Sunila Sahu Updated asymmetric crypto unit-test application to test asymmetric crypto operations in octeontx PMD Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- app/test/test_cryptodev_asym.c | 31 +++ 1 file

[dpdk-dev] [PATCH 3/8] crypto/octeontx: add asymmetric session operations

2019-09-09 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add asymmetric session setup and free functions Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_mcode_defines.h | 9 ++ drivers/common/cpt/cpt_ucode_asym.h | 169

[dpdk-dev] [PATCH 5/8] crypto/octeontx: add asymmetric op enqueue function

2019-09-09 Thread Anoob Joseph
From: Sunila Sahu Add asymmetric crypto op enqueue routine Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_common.h | 1 + drivers/common/cpt/cpt_mcode_defines.h | 20 ++ drivers/common/cpt/cpt_ucode

[dpdk-dev] [PATCH 4/8] common/cpt: add helper functions for asymmetric crypto

2019-09-09 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add helper functions to get meta len for asymmetric operations Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_pmd_ops_helper.c | 15 +++ drivers/common/cpt/cpt_pmd_ops_he

[dpdk-dev] [PATCH 2/8] crypto/octeontx: add RSA and modexp asym capabilities

2019-09-09 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add RSA and modexp capabilities supported by octeontx crypto PMD Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- .../crypto/octeontx/otx_cryptodev_capabilities.c | 47 -- .../crypto/octeontx

[dpdk-dev] [PATCH 6/8] crypto/octeontx: add asymmetric op dequeue function

2019-09-09 Thread Anoob Joseph
From: Sunila Sahu Add asymmetric crypto op dequeue routine Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx/otx_cryptodev_ops.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/

[dpdk-dev] [PATCH 1/8] crypto/octeontx: add device type mailbox routine

2019-09-09 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add mailbox communication to query symmetric or asymmetric device type Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_common.h | 3 --- drivers/crypto/octeontx/otx_crypt

[dpdk-dev] [PATCH 0/8] add asym support in crypto_octeontx PMD

2019-09-09 Thread Anoob Joseph
This series adds asymmetric crypto support in 'crypto_octeontx' PMD. Features supported: RSA & modular exponentiation Kanaka Durga Kotamarthy (4): crypto/octeontx: add device type mailbox routine crypto/octeontx: add RSA and modexp asym capabilities crypto/octeontx: add asymmetric session o

Re: [dpdk-dev] [RFC v2 1/3] ethdev: add the API for getting trace information

2019-09-09 Thread Ferruh Yigit
On 9/9/2019 1:50 PM, Ferruh Yigit wrote: > On 9/9/2019 1:40 PM, Bruce Richardson wrote: >> On Mon, Sep 09, 2019 at 12:23:36PM +0100, Ferruh Yigit wrote: >>> On 9/7/2019 3:42 AM, Wang, Haiyue wrote: > -Original Message- > From: Yigit, Ferruh > Sent: Friday, September 6, 2019 22:2

[dpdk-dev] [PATCH] net/mlx5: skip table zero to improve insertion rate

2019-09-09 Thread Dekel Peled
E-switch tables one and above provide higher insertion rate than table zero, as well as enhanced functionality. This patch adds a mechanism to utilize these advantages, by creating a default rule on port start, which directs all packets from e-switch table zero to table one. Other flow rules, requ

Re: [dpdk-dev] [PATCH] examples/ioat: create sample app on ioat driver usage

2019-09-09 Thread Aaron Conole
Marcin Baran writes: > From: Pawel Modrak > > A new sample app demonstrating use of driver for CBDMA. > The app receives packets, performs software or hardware > copy, changes packets' MAC addresses (if enabled) and > forwards them. The patch includes sample application > as well as it's guide.

Re: [dpdk-dev] [PATCH v2 4/5] event/dpaa2: add selftest cases

2019-09-09 Thread Aaron Conole
Hemant Agrawal writes: > This patch add support for testing dpaa2 eventdev self test > for basic sanity for parallel and atomic queues. > > Signed-off-by: Hemant Agrawal > --- > drivers/event/dpaa2/Makefile | 1 + > drivers/event/dpaa2/dpaa2_eventdev.c | 1 + > dri

Re: [dpdk-dev] [PATCH v2 0/6] lib/ring: templates to support custom element size

2019-09-09 Thread Aaron Conole
Honnappa Nagarahalli writes: > The current rte_ring hard-codes the type of the ring element to 'void *', > hence the size of the element is hard-coded to 32b/64b. Since the ring > element type is not an input to rte_ring APIs, it results in couple > of issues: > > 1) If an application requires to

Re: [dpdk-dev] [PATCH 2/7] net/failsafe: check code of allmulticast mode switch

2019-09-09 Thread Gaëtan Rivet
On Mon, Sep 09, 2019 at 01:13:04PM +0100, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable() return > value was changed from void to int, so this patch modify usage > of these functions across net/failsafe according to new return type. >

Re: [dpdk-dev] [RFC v2 1/3] ethdev: add the API for getting trace information

2019-09-09 Thread Ferruh Yigit
On 9/9/2019 1:40 PM, Bruce Richardson wrote: > On Mon, Sep 09, 2019 at 12:23:36PM +0100, Ferruh Yigit wrote: >> On 9/7/2019 3:42 AM, Wang, Haiyue wrote: -Original Message- From: Yigit, Ferruh Sent: Friday, September 6, 2019 22:22 To: Ray Kinsella ; Wang, Haiyue Cc:

Re: [dpdk-dev] [PATCH v2 02/13] net/failsafe: check code of promiscuous mode switch

2019-09-09 Thread Gaëtan Rivet
Hi, On Mon, Sep 09, 2019 at 12:58:39PM +0100, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return > value was changed from void to int, so this patch modify usage > of these functions across net/failsafe according to new return type

Re: [dpdk-dev] [PATCH 00/10] security: add software synchronous crypto process

2019-09-09 Thread Aaron Conole
Fan Zhang writes: > This RFC patch adds a way to rte_security to process symmetric crypto > workload in bulk synchronously for SW crypto devices. > > Originally both SW and HW crypto PMDs works under rte_cryptodev to > process the crypto workload asynchronously. This way provides uniformity > to

Re: [dpdk-dev] [RFC v2 1/3] ethdev: add the API for getting trace information

2019-09-09 Thread Bruce Richardson
On Mon, Sep 09, 2019 at 12:23:36PM +0100, Ferruh Yigit wrote: > On 9/7/2019 3:42 AM, Wang, Haiyue wrote: > >> -Original Message- > >> From: Yigit, Ferruh > >> Sent: Friday, September 6, 2019 22:22 > >> To: Ray Kinsella ; Wang, Haiyue > >> Cc: dev@dpdk.org > >> Subject: Re: [dpdk-dev] [RFC

[dpdk-dev] [PATCH 4/7] ethdev: change allmulticast callbacks to return status

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko Enabling/disabling of allmulticast mode is not always successful and it should be taken into account to be able to handle it properly. When correct return status is unclear from driver code, -EAGAIN is used. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 7/7] examples/ipv4_multicast: check allmulticast enable status

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable() return value was changed from void to int, so this patch modify usage of these functions across examples/ipv4_multicast according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --

[dpdk-dev] [PATCH 3/7] net/bonding: check code of allmulticast mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable() return value was changed from void to int, so this patch modify usage of these functions across net/bonding according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- drivers/n

[dpdk-dev] [PATCH 0/7] ethdev: change allmulticast controls to return status

2019-09-09 Thread Andrew Rybchenko
It is the fourth patch series to get rid of void returning functions in ethdev in accordance with deprecation notice [1]. It should be applied on top of [2] and [3]. Merge conflicts with [4] are trivial (release notes only). Functions which return void are bad since they do not provide explicit i

[dpdk-dev] [PATCH 5/7] ethdev: do nothing if all-multicast mode is applied again

2019-09-09 Thread Andrew Rybchenko
Since driver callbacks return status code now, there is no necessity to enable or disable all-multicast mode once again if it is already successfully enabled or disabled. Configuration restore at startup tries to ensure that configured all-multicast mode is applied and start will return error if i

[dpdk-dev] [PATCH 1/7] ethdev: change allmulticast mode controllers to return errors

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko Change rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable() return value from void to int and return negative errno values in case of error conditions. Modify usage of these functions across the ethdev according to new return type. Signed-off-by: Ivan Ilchenko Signed

[dpdk-dev] [PATCH 6/7] app/testpmd: check code of allmulticast mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable() return value was changed from void to int, so this patch modify usage of these functions across app/test-pmd according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test

[dpdk-dev] [PATCH 2/7] net/failsafe: check code of allmulticast mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable() return value was changed from void to int, so this patch modify usage of these functions across net/failsafe according to new return type. Try to keep all-multicast mode consistent across all active devices in the c

[dpdk-dev] [PATCH v2 13/13] examples: take promiscuous mode switch result into account

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across examples according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/bbdev

[dpdk-dev] [PATCH v2 12/13] test/bonding: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across test/bonding according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test/t

[dpdk-dev] [PATCH v2 09/13] app/pdump: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across app/pdump according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/pdump/mai

[dpdk-dev] [PATCH v2 04/13] ethdev: change promiscuous callbacks to return status

2019-09-09 Thread Andrew Rybchenko
Enabling/disabling of promiscuous mode is not always successful and it should be taken into account to be able to handle it properly. When correct return status is unclear from driver code, -EAGAIN is used. Signed-off-by: Andrew Rybchenko --- app/test/virtual_pmd.c| 12 -

[dpdk-dev] [PATCH v2 11/13] kni: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so modify usage of these functions across lib/librte_kni according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test/test_kni.c

[dpdk-dev] [PATCH v2 08/13] app/eventdev: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across app/eventdev according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test-e

[dpdk-dev] [PATCH v2 10/13] app/test: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across app/test/test_event_eth_rx_adapter.c and app/test/test_event_eth_tx_adapter.c according to new return type. Signed-off-by

[dpdk-dev] [PATCH v2 07/13] app/testpmd: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across app/testpmd according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test-pm

[dpdk-dev] [PATCH v2 02/13] net/failsafe: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across net/failsafe according to new return type. Try to keep promiscuous mode consistent across all active devices in the case

[dpdk-dev] [PATCH v2 06/13] app/pipeline: check code of promiscuous mode switch

2019-09-09 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return value was changed from void to int, so this patch modify usage of these functions across app/pipeline according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test-p

[dpdk-dev] [PATCH v2 05/13] ethdev: do nothing if promiscuous mode is applied again

2019-09-09 Thread Andrew Rybchenko
Since driver callbacks return status code now, there is no necessity to enable or disable promiscuous mode once again if it is already successfully enabled or disabled. Configuration restore at startup tries to ensure that configured promiscuous mode is applied and start will return error if it fa

  1   2   >