[dpdk-dev] [Bug 176] secondary process cannot execute iommu

2018-12-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=176 Bug ID: 176 Summary: secondary process cannot execute iommu Product: DPDK Version: 18.11 Hardware: All OS: All Status: CONFIRMED Severity: normal Priori

Re: [dpdk-dev] [PATCH v2 1/2] doc: add guide for debug and troubleshoot

2018-12-27 Thread Varghese, Vipin
Hi All, This is humble reminder if there are any suggestion or comments for v3 patch shared. Links: https://patches.dpdk.org/patch/48334/ https://patches.dpdk.org/patch/48335/ thanks Vipin Varghese

Re: [dpdk-dev] [PATCH v3 3/3] doc: update ISA-L guide to reflect checksum support

2018-12-27 Thread Varghese, Vipin
Hi Lee, A humble suggestion being shared for document update, Based on DPDK 19.02-rc1 release both code and associated document update is to be in single patch file. Note: I am not fully sure how this is applicable to 'isal.ini and isal.rst'. It will be good to have a check. Thanks Vipin Vargh

Re: [dpdk-dev] [EXT] [PATCH v3 6/6] spinlock: ticket based to improve fairness

2018-12-27 Thread Jerin Jacob Kollanukkaran
On Thu, 2018-12-27 at 15:41 -0800, Stephen Hemminger wrote: > On Thu, 27 Dec 2018 12:08:26 + > Jerin Jacob Kollanukkaran wrote: > > > On Thu, 2018-12-27 at 10:05 +, Gavin Hu (Arm Technology China) > > wrote: > > > > -Original Message- > > > > From: Jerin Jacob Kollanukkaran > > >

Re: [dpdk-dev] [EXT] [PATCH v3 6/6] spinlock: ticket based to improve fairness

2018-12-27 Thread Stephen Hemminger
On Thu, 27 Dec 2018 12:08:26 + Jerin Jacob Kollanukkaran wrote: > On Thu, 2018-12-27 at 10:05 +, Gavin Hu (Arm Technology China) > wrote: > > > -Original Message- > > > From: Jerin Jacob Kollanukkaran > > > Sent: Thursday, December 27, 2018 2:58 PM > > > To: Gavin Hu (Arm Technol

[dpdk-dev] [PATCH v2 2/3] net/mlx5: add devx functions to glue

2018-12-27 Thread Mordechay Haimovsky
This patch adds glue functions for operations: - dv_open_device. - devx object create, destroy, query and modify. - devx general command The new operations depend on HAVE_IBV_DEVX_OBJ. Signed-off-by: Moti Haimovsky --- v2: * Modifications according to review inputs. see message Id: 154574

[dpdk-dev] [PATCH v2 3/3] net/mlx5: support flow counters using devx

2018-12-27 Thread Mordechay Haimovsky
This commit adds counters support when creating flows via direct verbs. The implementation uses devx interface in order to create query and delete the counters. This support requires MLNX_OFED_LINUX-4.5-0.1.0.1 installation. Signed-off-by: Moti Haimovsky --- v2: * Modifications according to revir

[dpdk-dev] [PATCH v2 1/3] net/mlx5: fix shared counter allocation logic

2018-12-27 Thread Mordechay Haimovsky
This commit fixes the logic for searching and allocating a shared counter in mlx5_flow_verbs. Now only the shared counters in the counters list are checked for a match and not all the counters as before. Fixes: 84c406e74524 ("net/mlx5: add flow translate function") Cc: sta...@dpdk.org Signed-off-

[dpdk-dev] [PATCH v2 0/3] support flow counters using devx

2018-12-27 Thread Mordechay Haimovsky
This series of commits add support for creating, allocating, querying and destroying flow counters in mlx5 PMD using the devx interface. Moti Haimovsky (3): net/mlx5: fix shared counter allocation logic net/mlx5: add devx functions to glue net/mlx5: support flow counters using devx drivers

Re: [dpdk-dev] [Bug 175] DPDK on Azure using `intel-go/nff-go` fails using `hv_netvsc` driver

2018-12-27 Thread Stephen Hemminger
On Tue, 25 Dec 2018 13:40:32 + bugzi...@dpdk.org wrote: > https://bugs.dpdk.org/show_bug.cgi?id=175 > > Bug ID: 175 >Summary: DPDK on Azure using `intel-go/nff-go` fails using > `hv_netvsc` driver >Product: DPDK >Version: 18.

[dpdk-dev] [PATCH] doc: fix a typo in testpmd user guide

2018-12-27 Thread Rami Rosen
This patch fixes a typo in testpmd user guide. Fixes: aac6f11f5864 ("app/testpmd: add ethernet peer command") Cc: sta...@dpdk.org Signed-off-by: Rami Rosen --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_

Re: [dpdk-dev] [PATCH v3] net/mlx5: support modify header using Direct Verbs

2018-12-27 Thread Shahaf Shuler
Thursday, December 27, 2018 1:10 PM, Dekel Peled: > Subject: [dpdk-dev] [PATCH v3] net/mlx5: support modify header using Direct > Verbs > > This patch implements the set of actions to support offload of packet header > modifications to MLX5 NIC. > > Implementation is based on RFC [1]. > > [1] >

[dpdk-dev] [PATCH v6] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Add a ring walk routine for debugging and other uses. This routine walks the list of rings and allows the called function to stop, remove ring from list or continue. Signed-off-by: Keith Wiles --- V6 Remove warning V5 Fixup checkpatch warning on commit message V4 Add TAILQ_FOREACH_SAFE and

[dpdk-dev] [PATCH v5] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Add a ring walk routine for debugging and other uses. This routine walks the list of rings and allows the called function to stop, remove ring from list or continue. Signed-off-by: Keith Wiles --- V6 Remove warning V5 Fixup checkpatch warning on commit message V4 Add TAILQ_FOREACH_SAFE and

[dpdk-dev] [PATCH v6] eal:add tailq walk routine

2018-12-27 Thread Keith Wiles
Add the tailq walk routine for debugging and other uses. This routine will hold the read lock while walking the list. Signed-off-by: Keith Wiles --- V6 Remove warning V5 Fixup checkpatch warnings. V4 Change function to have a return value. to be used to stop walking or continue walking. V

[dpdk-dev] [PATCH v5] eal:add tailq walk routine

2018-12-27 Thread Keith Wiles
Add the tailq walk routine for debugging and other uses. This routine will hold the read lock while walking the list. Signed-off-by: Keith Wiles --- V5 Fixup checkpatch warnings. V4 Change function to have a return value. to be used to stop walking or continue walking. V3 Fix checkpatch w

[dpdk-dev] [PATCH v5] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Add a ring walk routine for debugging and other uses. This routine walks the list of rings and allows the called function to stop, remove ring from list or continue. Signed-off-by: Keith Wiles --- V5 Fixup checkpatch warning on commit message V4 Add TAILQ_FOREACH_SAFE and have function being

[dpdk-dev] [PATCH v4] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Signed-off-by: Keith Wiles --- V4 Add TAILQ_FOREACH_SAFE and have function being called return a value to be used to stop walking, free tailq_entry or continue walking. V3 Fix checkpatch warnings adding a commit message. Must be using a different checkpatch then on my Ubuntu 18.04 system

[dpdk-dev] [PATCH v4] eal:add tailq walk routine

2018-12-27 Thread Keith Wiles
Signed-off-by: Keith Wiles --- V4 Change function to have a return value. to be used to stop walking or continue walking. V3 Fix checkpatch warnings adding a commit message. Must be using a different checkpatch then on my Ubuntu 18.04 system V2 Fix checkpatch warnings. lib/librte_eal/

Re: [dpdk-dev] [PATCH v3 3/3] ring:add ring walk routine

2018-12-27 Thread Wiles, Keith
> On Dec 27, 2018, at 9:17 AM, Olivier Matz wrote: > > Hi, > > On Thu, Dec 27, 2018 at 02:52:51PM +, Wiles, Keith wrote: >> >> >>> On Dec 27, 2018, at 8:47 AM, Wiles, Keith wrote: >>> >>> >>> On Dec 27, 2018, at 4:02 AM, Olivier Matz wrote: Hi, On Sun, Dec

[dpdk-dev] [PATCH 2/5] net/mlx5: add tunnel inner items validation on E-Switch

2018-12-27 Thread Viacheslav Ovsiienko
This patch updates the validation routine for the E-Switch Flows. The inner/outer item flags are added and set correctly, the validation routine will accept and check the inner items which follow the tunnel item (like VNI). Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net

[dpdk-dev] [PATCH 5/5] net/mlx5: add ethernet type support for tunnels on E-Switch

2018-12-27 Thread Viacheslav Ovsiienko
This patch add support for inner and outer ethernet types for the E-Switch Flows with tunnels. Inner and outer ethernet type match can be specified with ethernet items, vlan items, or implicitly deduced from IP address items. The tcm_info field in Netlink message tcm structure is filled always with

[dpdk-dev] [PATCH 4/5] net/mlx5: add ethernet type validation on E-Switch

2018-12-27 Thread Viacheslav Ovsiienko
This patch updates the validation routine for the E-Switch Flows. The ethernet type field can be specified within inner and outer tunnel ethernet items, by vlan item or implicitly deduced from IP address items. The validation routine checks all these items and their combinations for mutual compatib

[dpdk-dev] [PATCH 0/5] net/mlx5: add inner tunnel items support on E-Switch

2018-12-27 Thread Viacheslav Ovsiienko
The generic Flow rule for tunnels looks like: flow create \ \ \ Current design supports only L2 addresses as inner pattern items. This patchset adds support for L3 (IPv4/IPv6) addresses and L4 (TCP/UDP) ports items as inner tunn

[dpdk-dev] [PATCH 3/5] net/mlx5: add tunnel inner items support on E-Switch

2018-12-27 Thread Viacheslav Ovsiienko
This patch updates the translation routine for the E-Switch Flows. Inner tunnel pattern items are translated into Netlink message, support for tunnel inner IP addresses (v4 or v6), IP protocol, and TCP and UDP ports is added. We are going to support Flows matching with outer tunnel items and not c

[dpdk-dev] [PATCH 1/5] net/mlx5: remove checks for outer tunnel items on E-Switch

2018-12-27 Thread Viacheslav Ovsiienko
This patch removes unnecessary outer tunnel parameters check in the validation routine for the E-Switch Flows. IPv4/IPv6 may have any spec and mask, and transferred to tc without changes, all checks are performed by kernel. We are going to support Flows matching with outer tunnel items and not con

Re: [dpdk-dev] [PATCH v3 3/3] ring:add ring walk routine

2018-12-27 Thread Olivier Matz
Hi, On Thu, Dec 27, 2018 at 02:52:51PM +, Wiles, Keith wrote: > > > > On Dec 27, 2018, at 8:47 AM, Wiles, Keith wrote: > > > > > > > >> On Dec 27, 2018, at 4:02 AM, Olivier Matz wrote: > >> > >> Hi, > >> > >> On Sun, Dec 16, 2018 at 11:27:21AM -0600, Keith Wiles wrote: > >>> Add a rin

Re: [dpdk-dev] [PATCH v3 3/3] ring:add ring walk routine

2018-12-27 Thread Wiles, Keith
> On Dec 27, 2018, at 8:47 AM, Wiles, Keith wrote: > > > >> On Dec 27, 2018, at 4:02 AM, Olivier Matz wrote: >> >> Hi, >> >> On Sun, Dec 16, 2018 at 11:27:21AM -0600, Keith Wiles wrote: >>> Add a ring walk routine for debugging and DFS. >>> >>> Signed-off-by: Keith Wiles >>> --- >>> V3 >

Re: [dpdk-dev] [PATCH v3 3/3] ring:add ring walk routine

2018-12-27 Thread Wiles, Keith
> On Dec 27, 2018, at 4:02 AM, Olivier Matz wrote: > > Hi, > > On Sun, Dec 16, 2018 at 11:27:21AM -0600, Keith Wiles wrote: >> Add a ring walk routine for debugging and DFS. >> >> Signed-off-by: Keith Wiles >> --- >> V3 >> Fix checkpatch warnings adding a commit message. >> Must be usin

Re: [dpdk-dev] [EXT] [PATCH v3] devtools: fix wrong headline lowercase for arm

2018-12-27 Thread Jerin Jacob Kollanukkaran
On Fri, 2018-12-21 at 14:02 +0800, Gavin Hu wrote: > External Email > > --- > --- > Change to the new wording according to Arm corp: > https://mails.dpdk.org/archives/dev/2018-October/115174.html > otherwise, "Wrong headline lowercase

Re: [dpdk-dev] [EXT] [PATCH v1] test/ring: ring perf test case enhancement

2018-12-27 Thread Jerin Jacob Kollanukkaran
On Thu, 2018-12-20 at 19:33 +0800, Gavin Hu wrote: > External Email > > --- > --- > From: Joyce Kong > > Run ring perf test on all available cores to really verify MPMC > operations. > The old way of running on a pair of cores is no

Re: [dpdk-dev] [EXT] [PATCH v3 6/6] spinlock: ticket based to improve fairness

2018-12-27 Thread Jerin Jacob Kollanukkaran
On Thu, 2018-12-27 at 10:05 +, Gavin Hu (Arm Technology China) wrote: > > -Original Message- > > From: Jerin Jacob Kollanukkaran > > Sent: Thursday, December 27, 2018 2:58 PM > > To: Gavin Hu (Arm Technology China) ; > > dev@dpdk.org > > Cc: david.march...@redhat.com; chao...@linux.vn

[dpdk-dev] [PATCH v3] net/mlx5: support modify header using Direct Verbs

2018-12-27 Thread Dekel Peled
This patch implements the set of actions to support offload of packet header modifications to MLX5 NIC. Implementation is based on RFC [1]. [1] http://mails.dpdk.org/archives/dev/2018-November/119971.html Signed-off-by: Dekel Peled --- v3: Apply code review comments: * update LIB_GLUE_VERS

Re: [dpdk-dev] [PATCH v4 6/9] examples/ipsec-secgw: make app to use ipsec library

2018-12-27 Thread Ananyev, Konstantin
> diff --git a/examples/ipsec-secgw/meson.build > b/examples/ipsec-secgw/meson.build > index 77d8b298f..31f68fee2 100644 > --- a/examples/ipsec-secgw/meson.build > +++ b/examples/ipsec-secgw/meson.build > @@ -6,7 +6,7 @@ > # To

Re: [dpdk-dev] [PATCH v7 0/9] app/proc-info: improve debug of proc-info tool

2018-12-27 Thread Varghese, Vipin
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, December 27, 2018 3:03 PM > To: Varghese, Vipin > Cc: Pattan, Reshma ; dev@dpdk.org; Ananyev, > Konstantin ; step...@networkplumber.org; > Mcnamara, John ; Byrne, Stephen1 > ; Patel, Amol > Subject: Re: [dpdk-dev] [PATCH v

[dpdk-dev] [PATCH v2] compress/qat: fix return correct status on qat overflow

2018-12-27 Thread Tomasz Jozwiak
This patch fixes correct status in case of overflow on QAT is detected. In that case RTE_COMP_OP_STATUS_OUT_OF_SPACE_TERMINATED value is set in rte_comp_op.status field instead of RTE_COMP_OP_STATUS_ERROR Fixes: 32842f2a6d7d ("compress/qat: create FW request and process response") Cc: sta...@dpdk.

[dpdk-dev] [PATCH v2] compress/qat: fix return correct status on qat overflow

2018-12-27 Thread Tomasz Jozwiak
v2 changes: - Fixed wrong condition Tomasz Jozwiak (1): compress/qat: fix return correct status on qat overflow drivers/compress/qat/qat_comp.c | 35 --- 1 file changed, 24 insertions(+), 11 deletions(-) -- 2.7.4

Re: [dpdk-dev] [PATCH v4 03/10] net: add ESP trailer structure definition

2018-12-27 Thread Olivier Matz
Hi, On Wed, Dec 19, 2018 at 09:32:09AM +, Akhil Goyal wrote: > > > On 12/14/2018 9:53 PM, Konstantin Ananyev wrote: > > Signed-off-by: Konstantin Ananyev > > Acked-by: Mohammad Abdul Awal > > Acked-by: Declan Doherty > > --- > > lib/librte_net/rte_esp.h | 10 +- > > 1 file chan

Re: [dpdk-dev] [PATCH v2] net/virtio: add platform memory ordering feature support

2018-12-27 Thread Shahaf Shuler
Hi Ilya, Wednesday, December 26, 2018 6:37 PM, Ilya Maximets: > Subject: [dpdk-dev] [PATCH v2] net/virtio: add platform memory ordering > feature support > > VIRTIO_F_ORDER_PLATFORM is required to use proper memory barriers in > case of HW vhost implementations like vDPA. > > DMA barriers (rte_

Re: [dpdk-dev] [EXT] [PATCH v3 6/6] spinlock: ticket based to improve fairness

2018-12-27 Thread Gavin Hu (Arm Technology China)
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Thursday, December 27, 2018 2:58 PM > To: Gavin Hu (Arm Technology China) ; dev@dpdk.org > Cc: david.march...@redhat.com; chao...@linux.vnet.ibm.com; nd > ; bruce.richard...@intel.com; tho...@monjalon.net; Joyce > Kong (Arm T

Re: [dpdk-dev] [PATCH v3 3/3] ring:add ring walk routine

2018-12-27 Thread Olivier Matz
Hi, On Sun, Dec 16, 2018 at 11:27:21AM -0600, Keith Wiles wrote: > Add a ring walk routine for debugging and DFS. > > Signed-off-by: Keith Wiles > --- > V3 >Fix checkpatch warnings adding a commit message. >Must be using a different checkpatch then on my Ubuntu 18.04 system > V2 >Fi

Re: [dpdk-dev] [RFC 00/14] prefix network structures

2018-12-27 Thread Olivier Matz
Hi, On Fri, Dec 21, 2018 at 03:14:29PM +, Ferruh Yigit wrote: > On 12/21/2018 2:38 PM, Wiles, Keith wrote: > > > > > >> On Dec 20, 2018, at 5:48 PM, Stephen Hemminger > >> wrote: > >> > >> On Thu, 20 Dec 2018 21:59:37 + > >> Ferruh Yigit wrote: > >> > >>> On 10/24/2018 9:18 AM, olivie

Re: [dpdk-dev] [PATCH v7 0/9] app/proc-info: improve debug of proc-info tool

2018-12-27 Thread Thomas Monjalon
27/12/2018 03:46, Varghese, Vipin: > snipped > > > > > > Small nits > > > > > > 9th patch in this set is doc. So above info need to be corrected. > > > > > > if you are addressing my earlier comment of separating out > > > > > > mempool element iteration changes in to separate new patch 9/10 > > >

Re: [dpdk-dev] [EXT] [PATCH v3 5/6] spinlock: reimplement with atomic one-way barrier builtins

2018-12-27 Thread Gavin Hu (Arm Technology China)
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Thursday, December 27, 2018 3:42 PM > To: Gavin Hu (Arm Technology China) ; dev@dpdk.org > Cc: david.march...@redhat.com; chao...@linux.vnet.ibm.com; nd > ; bruce.richard...@intel.com; tho...@monjalon.net; > hemant.agra...@nx

Re: [dpdk-dev] [PATCH v1 3/3] net/mlx5: support flow counters using devx

2018-12-27 Thread Shahaf Shuler
Tuesday, December 25, 2018 4:39 PM, Mordechay Haimovsky: > Subject: [dpdk-dev] [PATCH v1 3/3] net/mlx5: support flow counters using devx > > This commit adds counters support when creating flows via direct verbs. The > implementation uses devx interface in order to create query and delete the > co

Re: [dpdk-dev] [PATCH v1 1/3] net/mlx5: modify shared counter allocation logic

2018-12-27 Thread Shahaf Shuler
Tuesday, December 25, 2018 4:39 PM, Mordechay Haimovsky: > Subject: [dpdk-dev] [PATCH v1 1/3] net/mlx5: modify shared counter allocation > logic > > This commit modifies the logic for searching an allocating a shared counter in > mlx5_flow_verbs. Need to explain - why you change it? I assume it i

Re: [dpdk-dev] [PATCH v1 2/3] net/mlx5: add devx functions to glue

2018-12-27 Thread Shahaf Shuler
Tuesday, December 25, 2018 4:39 PM, Mordechay Haimovsky: > Subject: [dpdk-dev] [PATCH v1 2/3] net/mlx5: add devx functions to glue > > This patch adds glue functions for operations: > - dv_open_device. > - devx object create, destroy, query and modify. > - devx general command > The new oper