[dpdk-dev] [PATCH] net/cxgbe: fix copyright year in license

2018-06-14 Thread Rahul Lakkireddy
Fixes: 22d9597f6b59 ("net/cxgbe: query firmware for filter resources") Fixes: 10eee6a8fae7 ("net/cxgbe: parse and validate flows") Signed-off-by: Rahul Lakkireddy --- drivers/net/cxgbe/cxgbe_filter.c | 2 +- drivers/net/cxgbe/cxgbe_filter.h | 2 +- drivers/net/cxgbe/cxgbe_flow.c | 2 +- driver

[dpdk-dev] Mellanox Roadmap for 18.08

2018-06-14 Thread Olga Shern
Hello all, Mellanox Roadmap for 18.08 is the following: Generic Flow API: * Adding actions for VLAN push/pop for flow API, implementation in mlx5 PMD enabling full HW offload. * Extending encapsulation API for MPLS tunnel type offload with ConnectX-5. * Extend flow pa

Re: [dpdk-dev] [PATCH] memory: fix alignment in eal_get_virtual_area()

2018-06-14 Thread Burakov, Anatoly
On 13-Jun-18 8:08 PM, Dariusz Stojaczyk wrote: Although the alignment mechanism works as intended, the `no_align` bool flag was set incorrectly. We were aligning buffers that didn't need extra alignment, and weren't aligning ones that really needed it. Fixes: b7cc54187ea4 ("mem: move virtual are

[dpdk-dev] [PATCH v2] net/ixgbe: fix mask bits register set error for FDIR

2018-06-14 Thread Wei Zhao
MAC address bits in mask registers should be set to zero when the is mac mask is 0xFF, otherwise if it is 0x0 these bits should be to 0x3F, it also support other mask like 0xF and so on. Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550") Signed-off-by: Wei Zhao --- v2: -cha

Re: [dpdk-dev] [PATCH v4 2/2] net/tap: support TSO (TCP Segment Offload)

2018-06-14 Thread Ophir Munk
> -Original Message- > From: Wiles, Keith [mailto:keith.wi...@intel.com] > Sent: Wednesday, June 13, 2018 7:04 PM > To: Ophir Munk > Cc: DPDK ; Pascal Mazon ; > Thomas Monjalon ; Olga Shern > > Subject: Re: [PATCH v4 2/2] net/tap: support TSO (TCP Segment Offload) > > > > > On Jun 1

Re: [dpdk-dev] [PATCH 7/7] net/mlx5: add parameter for port representors

2018-06-14 Thread Adrien Mazarguil
On Tue, Jun 12, 2018 at 01:43:18PM +, Xueming(Steven) Li wrote: > > > > void *tmp; > > > > unsigned int i; > > > > unsigned int j = 0; > > > > unsigned int n = 0; > > > > int ret; > > > > > > > > + if (dpdk_dev->devargs) { > > > > + r

Re: [dpdk-dev] Mlx meson build

2018-06-14 Thread Bruce Richardson
On Wed, Jun 13, 2018 at 03:14:16PM -0700, Stephen Hemminger wrote: > Is there any chance of getting MLX drivers to build with meson? > It seems like it should be possible to always build with meson if rdma-core > is present. > The meson build language has ways of checking for necessary dependencie

[dpdk-dev] [PATCH v2 0/7] net/mlx5: add port representor support

2018-06-14 Thread Adrien Mazarguil
This series adds support for port (VF) representors to the mlx5 PMD, which can be instantiated using the standard "representor" device parameter. Note the PMD only probes existing representors which exist as Verbs devices; their creation is part of the host system configuration. v2 changes: - Se

[dpdk-dev] [PATCH v2 3/7] net/mlx5: split PCI from generic probing code

2018-06-14 Thread Adrien Mazarguil
All the generic probing code needs is an IB device. While this device is currently supplied by a PCI lookup, other methods will be added soon. This patch divides the original function, which has become huge over time, as follows: 1. PCI-specific (mlx5_pci_probe()). 2. All ports of a Verbs device

[dpdk-dev] [PATCH v2 1/7] net/mlx5: rename confusing object in probe code

2018-06-14 Thread Adrien Mazarguil
There are several attribute objects in this function: - IB device attributes (struct ibv_device_attr_ex device_attr). - Direct Verbs attributes (struct mlx5dv_context attrs_out). - Port attributes (struct ibv_port_attr). - IB device attributes again (struct ibv_device_attr_ex device_attr_ex). "at

[dpdk-dev] [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code

2018-06-14 Thread Adrien Mazarguil
This patch gets rid of redundant calls to open the device and query its attributes in order to simplify the code. Signed-off-by: Adrien Mazarguil -- v2 changes: - Minor indent fix on existing code. --- drivers/net/mlx5/mlx5.c | 64 +--- 1 file changed, 30

Re: [dpdk-dev] Mlx meson build

2018-06-14 Thread Thomas Monjalon
14/06/2018 10:15, Bruce Richardson: > On Wed, Jun 13, 2018 at 03:14:16PM -0700, Stephen Hemminger wrote: > > Is there any chance of getting MLX drivers to build with meson? > > It seems like it should be possible to always build with meson if rdma-core > > is present. > > The meson build language

[dpdk-dev] [PATCH v2 4/7] net/mlx5: re-indent generic probing function

2018-06-14 Thread Adrien Mazarguil
Since commit "net/mlx5: split PCI from generic probing code" extracted the inner loop to a separate function, mlx5_dev_spawn_one() is left with an unnecessary indent level. This patch eliminates a block, moves its local variables to function scope, and re-indents its contents. No functional impac

[dpdk-dev] [PATCH v2 5/7] net/mlx5: add port representor awareness

2018-06-14 Thread Adrien Mazarguil
The current PCI probing method is not aware of Verbs port representors, which appear as standard Verbs devices bound to the same PCI address and cannot be distinguished. Problem is that more often than not, the wrong Verbs device is used, resulting in unexpected traffic. This patch adds necessary

[dpdk-dev] [PATCH v2 7/7] net/mlx5: add parameter for port representors

2018-06-14 Thread Adrien Mazarguil
Prior to this patch, all port representors detected on a given device were probed and Ethernet devices instantiated for each of them. This patch adds support for the standard "representor" parameter, which implies that port representors are not probed by default anymore, except for the list provid

[dpdk-dev] [PATCH v2 6/7] net/mlx5: probe all port representors

2018-06-14 Thread Adrien Mazarguil
Probe existing port representors in addition to their master device and associate them automatically. To avoid name collision between Ethernet devices, their names use the same convention as ixgbe and i40e PMDs, that is, instead of only a PCI address in DBDF notation: - "net_{DBDF}_0" for master/

[dpdk-dev] [PATCH v3] net/ixgbe: fix tunnel type set error for FDIR

2018-06-14 Thread Wei Zhao
Tunnel type format should be translated to ixgbe required format before register set in FDIR cloud mode, Ans also some register not useful in cloud mode but only useful in IP mode should be set to zero as datasheet request. Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550") Fi

Re: [dpdk-dev] [PATCH] net/nfp: fix field initialization in TX descriptor

2018-06-14 Thread Ferruh Yigit
On 6/11/2018 10:50 AM, Alejandro Lucero wrote: > TX descriptor eop_offset field is not initialized and it could > contain garbage. This patch fixes the potential problem setting > EOP as the only subfield. The other subfield, data offset, is > not used by now. > > Fixes: b812daadad0d ("nfp: add Rx

Re: [dpdk-dev] [PATCH] cryptodev: convert to SPDX license tag

2018-06-14 Thread Laatz, Kevin
Acked-by: Kevin Laatz On 11/06/2018 09:56, Pablo de Lara wrote: Converted the license header of the files that still have the old full header. Signed-off-by: Pablo de Lara --- lib/librte_cryptodev/rte_cryptodev.h | 31 ++-- lib/librte_cryptodev/rte_cryptodev_pmd.h |

Re: [dpdk-dev] [PATCH] net/cxgbe: fix copyright year in license

2018-06-14 Thread Ferruh Yigit
On 6/14/2018 8:13 AM, Rahul Lakkireddy wrote: > Fixes: 22d9597f6b59 ("net/cxgbe: query firmware for filter resources") > Fixes: 10eee6a8fae7 ("net/cxgbe: parse and validate flows") > > Signed-off-by: Rahul Lakkireddy Squashed into relevant commit in next-net, thanks.

[dpdk-dev] [PATCH v6 0/7] *** fix the cross compile errors ***

2018-06-14 Thread Gavin Hu
Pre-V5 version of this patch set(two patches) was aimed to fix the Makefile based cross compiling issue and add a guiding doc. This V6 patch set included the fixes for meson cross compiling. Gavin Hu (5): devtools: fix the Exec format error build: fix the meson build warning devtools: fix t

[dpdk-dev] [PATCH v6 2/7] doc: add a guide doc for cross compiling from x86

2018-06-14 Thread Gavin Hu
From: gavin hu This is the guide for cross compiling ARM64 DPDK from X86 hosts. Signed-off-by: Gavin Hu Reviewed-by: Steve Capper Reviewed-by: Honnappa Nagarahalli Acked-by: Marko Kovacevic --- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 137 + doc/guides/linux_

[dpdk-dev] [PATCH v6 3/7] devtools: fix the Exec format error

2018-06-14 Thread Gavin Hu
meson will natively compile and generate the sanitycheck.exe file. It will be spawned and run at the host side. Export the cross compiler is not necessary as it is already done by the cross-file, and even worse it generate the files in the wrong target format. The fix to the following compiling

[dpdk-dev] [PATCH v6 1/7] mk: fix cross build errors

2018-06-14 Thread Gavin Hu
From: gavin hu The "-Wimplicit-fallthrough=2" option was introduced into gcc 7.0, it was enabled when the cross compiler gcc is greater than 7.0, but for the host side buildtools/pmdinfogen, if the native gcc is older than 7.0, or the host cc compiler is clang, it should not be enabled. The fix

[dpdk-dev] [PATCH v6 4/7] build: fix the meson build warning

2018-06-14 Thread Gavin Hu
This is to fix the unnecessary warning output, it is not consistent with the configurations of other platforms. WARNING: Cross file does not specify strip binary, result will not be stripped. Fixes: e53a5299d2 ("build: support vendor specific ARM cross builds") Cc: sta...@dpdk.org Signed-off-by:

[dpdk-dev] [PATCH v6 7/7] devtools: expand meson cross compiling coverage

2018-06-14 Thread Gavin Hu
The default test script covers only default host cc compiler, either gcc or clang, the fix is to cover both, gcc and clang. And also the build dirs are changed to *-host-$c, indicating the difference of cc used. Fixes: a55277a788 ("devtools: add test script for meson builds") Cc: sta...@dpdk.org

[dpdk-dev] [PATCH v6 6/7] build: fix the meson cross compile error

2018-06-14 Thread Gavin Hu
The following error hits if host cc compiler is clang(default one in most linux distributions) and the cross compiler is gcc. The root cause is: the hybride compilers add the warning options to the meson project as project arguments, which apply for both host compiling and cross compiling. But som

[dpdk-dev] [PATCH v6 5/7] devtools: fix the missing ninja command error on CentOS

2018-06-14 Thread Gavin Hu
On CentOS, the ninja executable has a different name: ninja-build, this patch is to fix the missing command error on CentOS as follows: ./devtools/test-meson-builds.sh: line 24: ninja: command not found Fixes: a55277a788 ("devtools: add test script for meson builds") Cc: sta...@dpdk.org Signed-of

Re: [dpdk-dev] 16.11.7 (LTS) patches review and test

2018-06-14 Thread Luca Boccassi
On Wed, 2018-06-13 at 15:09 +0100, Luca Boccassi wrote: > On Fri, 2018-06-08 at 10:17 +0100, Luca Boccassi wrote: > > On Thu, 2018-05-31 at 11:25 +0100, Luca Boccassi wrote: > > > Hi all, > > > > > > Here is a list of patches targeted for LTS release 16.11.7. > > > Please > > > help review and tes

Re: [dpdk-dev] [PATCH 1/2] service: add mechanism for quiescing a service

2018-06-14 Thread Van Haaren, Harry
> From: Eads, Gage > Sent: Thursday, May 31, 2018 2:56 PM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > ; Richardson, Bruce ; > Rao, Nikhil ; Carrillo, Erik G > ; Gujjar, Abhinandan S > > Subject: [PATCH 1/2] service: add mechanism for quiescing a service > > Existi

Re: [dpdk-dev] [PATCH v2 1/2] testpmd: use RFC values for Tx address and port

2018-06-14 Thread Iremonger, Bernard
Hi Stephen, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Monday, June 11, 2018 7:25 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Stephen > Hemminger > Subject: [dpdk-dev] [PATCH v2 1/2] testpmd: use RFC values for Tx address >

[dpdk-dev] [PATCH v1 01/15] examples/l2fwd: add new header to move common code

2018-06-14 Thread Anoob Joseph
v1: * No change Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_common.h | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 examples/l2fwd/l2fwd_common.h diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l2fwd/l2fwd_common.h new file mode 100644 index 000..15059f4 ---

[dpdk-dev] [PATCH v1 00/15] preparing l2fwd for eventmode additions

2018-06-14 Thread Anoob Joseph
This patchset modularizes l2fwd application to prepare it for eventmode additions. This patchset doesn't change the code flow or logic, except for few minor improvements. Some of the newly added functions are used in just one place, but is added for efficient usage with eventmode. v1: * Fix all ch

[dpdk-dev] [PATCH v1 02/15] examples/l2fwd: move macro definitions to common header

2018-06-14 Thread Anoob Joseph
v1: * Retaining Intel license with copied code Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_common.h | 19 +++ examples/l2fwd/main.c | 16 ++-- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l2

[dpdk-dev] [PATCH v1 04/15] examples/l2fwd: move globally accessed vars to common header

2018-06-14 Thread Anoob Joseph
v1: * No change Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_common.h | 26 ++ examples/l2fwd/main.c | 41 + 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l

[dpdk-dev] [PATCH v1 03/15] examples/l2fwd: move structure definitions to common header

2018-06-14 Thread Anoob Joseph
v1: * Replaced 'unsigned' with 'unsigned int' Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_common.h | 12 examples/l2fwd/main.c | 10 -- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l2fwd/l2fwd_comm

[dpdk-dev] [PATCH v1 06/15] examples/l2fwd: fix lines exceeding 80 char limit

2018-06-14 Thread Anoob Joseph
v1: * Replaced 'unsigned' with 'unsigned int' Fixes: e2366e74e029 ("examples: use buffered Tx") Fixes: af75078fece3 ("first public release") Signed-off-by: Anoob Joseph --- examples/l2fwd/main.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/l2fwd/

[dpdk-dev] [PATCH v1 05/15] examples/l2fwd: add missing space

2018-06-14 Thread Anoob Joseph
v1: * No change Signed-off-by: Anoob Joseph --- examples/l2fwd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index a6089a1..6229a20 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -71,7 +71,7 @@ print_st

[dpdk-dev] [PATCH v1 08/15] examples/l2fwd: remove unused header includes

2018-06-14 Thread Anoob Joseph
v1: * No change Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_worker.c | 12 1 file changed, 12 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/examples/l2fwd/l2fwd_worker.c index 663c505..ad5468a 100644 --- a/examples/l2fwd/l2fwd_worker.c +++ b/examples/l2fwd/l2fw

[dpdk-dev] [PATCH v1 07/15] examples/l2fwd: move dataplane code to new file

2018-06-14 Thread Anoob Joseph
v1: * Replaced 'unsigned' with 'unsigned int' Signed-off-by: Anoob Joseph --- examples/l2fwd/Makefile | 1 + examples/l2fwd/l2fwd_worker.c | 233 ++ examples/l2fwd/l2fwd_worker.h | 10 ++ examples/l2fwd/main.c | 191 +--

[dpdk-dev] [PATCH v1 09/15] examples/l2fwd: move drain buffers to new function

2018-06-14 Thread Anoob Joseph
v1: * Replaced 'unsigned' with 'unsigned int' Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_worker.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/examples/l2fwd/l2fwd_worker.c index ad5468a..dfa78e

[dpdk-dev] [PATCH v1 10/15] examples/l2fwd: optimize check for master core

2018-06-14 Thread Anoob Joseph
v1: * Replaced 'unsigned' with 'unsigned int' Replacing the check for lcore_id & mastercore_id with the check for a flag. Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_worker.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/exa

[dpdk-dev] [PATCH v1 11/15] examples/l2fwd: move periodic tasks to new function

2018-06-14 Thread Anoob Joseph
v1: * Replaced 'unsigned' with 'unsigned int' Move the periodic operations (stats flush and drain buffers) to a new function. Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_worker.c | 83 --- examples/l2fwd/l2fwd_worker.h | 6 2 files changed,

[dpdk-dev] [PATCH v1 13/15] examples/l2fwd: move pkt send code to a new function

2018-06-14 Thread Anoob Joseph
v1: * Replaced 'unsigned' with 'unsigned int' Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_worker.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/examples/l2fwd/l2fwd_worker.c index d6a5e90..bac1946 100644 --- a/

[dpdk-dev] [PATCH v1 12/15] examples/l2fwd: skip timer updates for non master cores

2018-06-14 Thread Anoob Joseph
v1: * No change The timer updates and checks are required only for stats printing by the master core. This can be entirely skipped for other cores. Signed-off-by: Anoob Joseph --- examples/l2fwd/l2fwd_worker.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --

[dpdk-dev] [PATCH v1 14/15] examples/l2fwd: use fprint instead of printf for usage print

2018-06-14 Thread Anoob Joseph
v1: * No change Following the convention of l3fwd, using fprintf instead of printf for printing usage. Signed-off-by: Anoob Joseph --- examples/l2fwd/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index 05f9d28..3b697d

[dpdk-dev] [PATCH v1 15/15] examples/l2fwd: improvements to the usage print

2018-06-14 Thread Anoob Joseph
v1: * No change Fixed alignment and split the usage print to aid easy addition of eventmode usage prints. Signed-off-by: Anoob Joseph --- examples/l2fwd/main.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/mai

Re: [dpdk-dev] [PATCH 2/2] event/sw: support device stop flush callback

2018-06-14 Thread Van Haaren, Harry
> From: Eads, Gage > Sent: Thursday, May 31, 2018 2:56 PM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > ; Richardson, Bruce ; > Rao, Nikhil ; Carrillo, Erik G > ; Gujjar, Abhinandan S > > Subject: [PATCH 2/2] event/sw: support device stop flush callback > > This com

Re: [dpdk-dev] [PATCH v2 2/2] testpmd: add ability to set tx IP and UDP parameters

2018-06-14 Thread Iremonger, Bernard
Hi Stephen, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Monday, June 11, 2018 7:25 PM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v2 2/2] testpmd: add ability to set tx IP and UDP > parameters > > All

Re: [dpdk-dev] [PATCH v6 3/7] devtools: fix the Exec format error

2018-06-14 Thread Bruce Richardson
On Thu, Jun 14, 2018 at 05:51:23PM +0800, Gavin Hu wrote: > meson will natively compile and generate the sanitycheck.exe file. It will > be spawned and run at the host side. Export the cross compiler is not > necessary as it is already done by the cross-file, and even worse it > generate the file

Re: [dpdk-dev] [PATCH v6 4/7] build: fix the meson build warning

2018-06-14 Thread Bruce Richardson
On Thu, Jun 14, 2018 at 05:51:24PM +0800, Gavin Hu wrote: > This is to fix the unnecessary warning output, it is not consistent with > the configurations of other platforms. > > WARNING: Cross file does not specify strip binary, result will not be > stripped. > > Fixes: e53a5299d2 ("build: suppor

Re: [dpdk-dev] [PATCH v6 5/7] devtools: fix the missing ninja command error on CentOS

2018-06-14 Thread Bruce Richardson
On Thu, Jun 14, 2018 at 05:51:25PM +0800, Gavin Hu wrote: > On CentOS, the ninja executable has a different name: > ninja-build, this patch is to fix the missing command error > on CentOS as follows: > ./devtools/test-meson-builds.sh: line 24: ninja: command not found > > Fixes: a55277a788 ("devto

Re: [dpdk-dev] [PATCH v6 6/7] build: fix the meson cross compile error

2018-06-14 Thread Bruce Richardson
On Thu, Jun 14, 2018 at 05:51:26PM +0800, Gavin Hu wrote: > The following error hits if host cc compiler is clang(default one in most > linux distributions) and the cross compiler is gcc. > > The root cause is: the hybride compilers add the warning options to the > meson project as project argumen

Re: [dpdk-dev] [PATCH v3 6/6] doc: add asym crypto in cryptodev programmer guide

2018-06-14 Thread Kovacevic, Marko
<...> > +params or prime modulus data i.e. immutable across data sets. Crypto > +sessions cache this immutable data in a optimal way for the underlying PMD > and this allows further acceleration of the offload of Crypto workloads. > + > +Like symmetric, the Crypto device framework provides APIs to

Re: [dpdk-dev] [PATCH v6 7/7] devtools: expand meson cross compiling coverage

2018-06-14 Thread Bruce Richardson
On Thu, Jun 14, 2018 at 05:51:27PM +0800, Gavin Hu wrote: > The default test script covers only default host cc compiler, either gcc or > clang, the fix is to cover both, gcc and clang. And also the build dirs are > changed to *-host-$c, indicating the difference of cc used. > > Fixes: a55277a788

[dpdk-dev] [PATCH V2] net/thunderx: add support for hardware first skip feature

2018-06-14 Thread rkudurumalla
This feature is used to create a hole between HEADROOM and actual data.Size of hole is specified in bytes as module param to pmd Signed-off-by: Rakesh Kudurumalla --- V1: https://dpdk.org/ml/archives/dev/2018-May/103058.html V2: Includes changes in thunder.rst to render outupt correctly in html

[dpdk-dev] [dpdk-announce] Reminder Call for speakers open last date June 15th

2018-06-14 Thread Tibrewala, Sujata
Call for speakers Open for: 1. June 30th, Bangalore: Packet Processing, Cloud and Edge Next Gen SDN/NFV Networks - Out of the Box Network Developers meet up (https://www.meetup.com/Out-of-the-Box-Network-Developers-Bangalore/events/251225679/) 2. June 28th, Taipei: Packet Processing an

Re: [dpdk-dev] [PATCH] app/testpmd: distribute queues to cores

2018-06-14 Thread Bruce Richardson
On Sat, May 26, 2018 at 11:15:20PM +0800, Xueming Li wrote: > Current topology distribute forwarding streams to lcores by port, this > make unbalanced loading when port number larger than 2: > lcore 0: P0Q0->P1Q0, P0Q1->P1Q1 > locre 1: P1Q0->P0Q0, P1Q1->P0Q1 > If only one port has traff

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: add sanity checks when retrieving xstats

2018-06-14 Thread Ferruh Yigit
On 6/14/2018 7:39 AM, Remy Horton wrote: > > On 13/06/2018 16:39, Ferruh Yigit wrote: >> On 6/7/2018 9:15 AM, David Marchand wrote: >>> Testpmd should not expect the xstats names and values arrays to be >>> aligned: neither the arrays sizes, nor the order in which the values are. >> >> As far as I

Re: [dpdk-dev] [PATCH v1 1/2] lib/librte_power: traffic pattern aware power control

2018-06-14 Thread Hunt, David
Hi Liang On 8/6/2018 10:57 AM, Liang Ma wrote: 1. Abstract For packet processing workloads such as DPDK polling is continuous. This means CPU cores always show 100% busy independent of how much work those cores are doing. It is critical to accurately determine how busy a core is hugely import

Re: [dpdk-dev] [PATCH v7 22/22] app/testpmd: add show device command

2018-06-14 Thread Iremonger, Bernard
Hi Gaetan, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gaetan Rivet > Sent: Sunday, April 15, 2018 4:08 PM > To: dev@dpdk.org > Cc: Gaetan Rivet > Subject: [dpdk-dev] [PATCH v7 22/22] app/testpmd: add show device > command > > A new interactive command is

Re: [dpdk-dev] [PATCH v3 00/38] crypto/qat: refactor to support multiple services

2018-06-14 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Jozwiak > Sent: Wednesday, June 13, 2018 1:14 PM > To: Trahe, Fiona ; Jozwiak, TomaszX > ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 00/38] crypto/qat: refactor to support multiple > services > > From:

[dpdk-dev] [dpdk-announce] DPDK 16.11.7 (LTS) released

2018-06-14 Thread Luca Boccassi
Hi all, Here is a new stable release: http://fast.dpdk.org/rel/dpdk-16.11.7.tar.xz The git tree is at: http://dpdk.org/browse/dpdk-stable/ Luca Boccassi --- app/test-pmd/cmdline.c | 2 +- app/test-pmd/config.c | 36 +--

[dpdk-dev] [PATCH v2 2/5] crypto/qat: move to dynamic logging for non-dp trace

2018-06-14 Thread Tomasz Jozwiak
For all trace not on the data-path move to dynamic logging. Signed-off-by: Tomasz Jozwiak Signed-off-by: Fiona Trahe --- config/common_base | 1 - drivers/crypto/qat/Makefile| 1 + drivers/crypto/qat/meson.build | 1 + drivers/crypto/qat/qat_logs.c | 17 + dr

[dpdk-dev] [PATCH v2 1/5] crypto/qat: cleanup unused and useless trace

2018-06-14 Thread Tomasz Jozwiak
Removed INIT_FUNC trace and other unused macros. Signed-off-by: Tomasz Jozwiak Signed-off-by: Fiona Trahe --- config/common_base | 1 - drivers/crypto/qat/qat_logs.h| 31 --- drivers/crypto/qat/qat_qp.c | 11 +-- drivers/cr

[dpdk-dev] [PATCH v2 0/5] crypto/qat: move to dynamic logging

2018-06-14 Thread Tomasz Jozwiak
Note this patchset is targeting 18.08 release and depends on the qat refactoring patchset: http://dpdk.org/ml/archives/dev/2018-May/101306.html Move to dynamic logging and cleanup trace. Changes for v2: - fixed some bugs detected in patch 2/5 when using clang Fiona Trahe (2): crypto/qat: re

[dpdk-dev] [PATCH v2 3/5] crypto/qat: rename log macro for non-dp logs

2018-06-14 Thread Tomasz Jozwiak
From: Fiona Trahe Rename PMD_DRV_LOG to the more appropriate name QAT_LOG. Signed-off-by: Fiona Trahe --- drivers/crypto/qat/qat_common.c | 12 ++--- drivers/crypto/qat/qat_device.c | 12 ++--- drivers/crypto/qat/qat_logs.h| 2 +- drivers/crypto/qat/qat_qp.c | 54 ++

[dpdk-dev] [PATCH v2 4/5] crypto/qat: move to dynamic logging for data-path trace

2018-06-14 Thread Tomasz Jozwiak
For all trace on the data-path move to dynamic logging. Add new QAT_DP_LOG macro to separate from non-dp trace. Use the overall RTE_LOG_DP_LEVEL to override and compile out debug data-path trace. Add "unlikely" in two appropriate error checks. Signed-off-by: Tomasz Jozwiak Signed-off-by: Fiona Tr

[dpdk-dev] [PATCH v2 5/5] doc/qat: document debug options

2018-06-14 Thread Tomasz Jozwiak
From: Fiona Trahe Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/qat.rst | 26 ++ 1 file changed, 26 insertions(+) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst index 22a2c71..b899985 100644 --- a/doc/guides/cryptodevs/qat.rst +++ b/do

Re: [dpdk-dev] Mlx meson build

2018-06-14 Thread Shahaf Shuler
Thursday, June 14, 2018 11:35 AM, Thomas Monjalon : > Subject: Re: Mlx meson build > > 14/06/2018 10:15, Bruce Richardson: > > On Wed, Jun 13, 2018 at 03:14:16PM -0700, Stephen Hemminger wrote: > > > Is there any chance of getting MLX drivers to build with meson? > > > It seems like it should be p

Re: [dpdk-dev] [PATCH] ethdev: force offloading API rules

2018-06-14 Thread Ferruh Yigit
On 6/13/2018 4:16 PM, Thomas Monjalon wrote: > 08/06/2018 22:01, Thomas Monjalon: >> 08/06/2018 21:51, Ferruh Yigit: >>> On 5/31/2018 1:44 PM, Ferruh Yigit wrote: The error path was disabled in previous release to let apps to be more flexible. But this release they are enabled,

[dpdk-dev] [PATCH] crypto/virtio: fix iv physical address

2018-06-14 Thread Fan Zhang
The physical address of IV required by Virtio was computed using crypto operations' physical address plus the offset. However not all crypto ops will have physical address field initialized and compute it runtimely is costly. This patch fixes this problem by adding iv field in virtio_crypto_op_cook

[dpdk-dev] [PATCH v2 1/3] crypto/qat: add weak functions

2018-06-14 Thread Tomasz Jozwiak
This patch adds following weak functions to facilitate conditional compilation of code for those services: - qat_sym_dev_create - qat_asym_dev_create - qat_comp_dev_create - qat_sym_dev_destroy - qat_asym_dev_destroy - qat_comp_dev_destroy and removes unused files with empty defin

[dpdk-dev] [PATCH v2 2/3] crypto/qat: add libcrypto detection to Makefile

2018-06-14 Thread Tomasz Jozwiak
This patch adds detection of libcrypto in qat/Makefile. Crypto QAT PMD is build, but only when this library is installed. Added description into qat.rst file. Signed-off-by: Tomasz Jozwiak Acked-by: Fiona Trahe --- config/common_base | 5 +++-- doc/guides/cryptodevs/qat.rst|

[dpdk-dev] [PATCH v2 0/3] crypto/qat: move files to drivers/common directory

2018-06-14 Thread Tomasz Jozwiak
This patchset depends on QAT dynamic logging patchset and should be targetig on 18.08. Patchset refactors the PMD in order that files are split into several places: common, crypto. New drivers/common/qat are added and files split between locations. Also added libcrypto detection and QAT PMD is bui

[dpdk-dev] [PATCH v2 3/3] crypto/qat: move common qat files to common dir

2018-06-14 Thread Tomasz Jozwiak
- moved common qat files to common/qat dir. - changed common/qat/Makefile, common/qat/meson.build, drivers/Makefile, crypto/Makefile to add possibility of using new files locations - added README file into crypto/qat to clarify where the build is made from - updated MAINT

Re: [dpdk-dev] [PATCH v1 6/7] doc: add octeontx zip PMD documentation

2018-06-14 Thread Kovacevic, Marko
Acked-by: Marko Kovacevic

Re: [dpdk-dev] [PATCH 1/2] testpmd: add forwarding mode to simulate a noisy neighbour

2018-06-14 Thread Iremonger, Bernard
Hi Jens, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jens Freimann > Sent: Thursday, April 19, 2018 8:00 AM > To: dev@dpdk.org > Cc: ai...@redhat.com; jan.scheur...@ericsson.com; vkapl...@redhat.com; > Richardson, Bruce ; tho...@monjalon.net; > maxime.coqu

Re: [dpdk-dev] [PATCH v2 1/2] testpmd: add forwarding mode to simulate a noisy neighbour

2018-06-14 Thread Iremonger, Bernard
Hi Jens, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jens Freimann > Sent: Friday, April 13, 2018 12:37 PM > To: dev@dpdk.org > Cc: ai...@redhat.com; jan.scheur...@ericsson.com; vkapl...@redhat.com; > Richardson, Bruce ; tho...@monjalon.net; > maxime.coque..

Re: [dpdk-dev] [PATCH v7 22/22] app/testpmd: add show device command

2018-06-14 Thread Gaƫtan Rivet
Hi Bernard, On Thu, Jun 14, 2018 at 10:59:09AM +, Iremonger, Bernard wrote: > Hi Gaetan, > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gaetan Rivet > > Sent: Sunday, April 15, 2018 4:08 PM > > To: dev@dpdk.org > > Cc: Gaetan Rivet > > Subject: [dpd

[dpdk-dev] [PATCH v1 03/15] examples/l2fwd: move structure definitions to common header

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * Replaced 'unsigned' with 'unsigned int' examples/l2fwd/l2fwd_common.h | 12 examples/l2fwd/main.c | 10 -- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l2fwd/l2fwd_comm

[dpdk-dev] [PATCH v1 00/15] preparing l2fwd for eventmode additions

2018-06-14 Thread Anoob Joseph
This patchset modularizes l2fwd application to prepare it for eventmode additions. This patchset doesn't change the code flow or logic, except for few minor improvements. Some of the newly added functions are used in just one place, but is added for efficient usage with eventmode. v1: * Fix all ch

[dpdk-dev] [PATCH v1 01/15] examples/l2fwd: add new header to move common code

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * No change examples/l2fwd/l2fwd_common.h | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 examples/l2fwd/l2fwd_common.h diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l2fwd/l2fwd_common.h new file mode 100644 index 000..15059f4 ---

[dpdk-dev] [PATCH v1 02/15] examples/l2fwd: move macro definitions to common header

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * Retaining Intel license with copied code examples/l2fwd/l2fwd_common.h | 19 +++ examples/l2fwd/main.c | 16 ++-- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l2

[dpdk-dev] [PATCH v1 04/15] examples/l2fwd: move globally accessed vars to common header

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * No change examples/l2fwd/l2fwd_common.h | 26 ++ examples/l2fwd/main.c | 41 + 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/examples/l2fwd/l2fwd_common.h b/examples/l

[dpdk-dev] [PATCH v1 05/15] examples/l2fwd: add missing space

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * No change examples/l2fwd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index a6089a1..6229a20 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -71,7 +71,7 @@ print_st

[dpdk-dev] [PATCH v1 06/15] examples/l2fwd: fix lines exceeding 80 char limit

2018-06-14 Thread Anoob Joseph
Fixes: e2366e74e029 ("examples: use buffered Tx") Fixes: af75078fece3 ("first public release") Signed-off-by: Anoob Joseph --- v1: * Replaced 'unsigned' with 'unsigned int' examples/l2fwd/main.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/l2fwd/

[dpdk-dev] [PATCH v1 08/15] examples/l2fwd: remove unused header includes

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * No change examples/l2fwd/l2fwd_worker.c | 12 1 file changed, 12 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/examples/l2fwd/l2fwd_worker.c index 663c505..ad5468a 100644 --- a/examples/l2fwd/l2fwd_worker.c +++ b/examples/l2fwd/l2fw

[dpdk-dev] [PATCH v1 07/15] examples/l2fwd: move dataplane code to new file

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * Replaced 'unsigned' with 'unsigned int' examples/l2fwd/Makefile | 1 + examples/l2fwd/l2fwd_worker.c | 233 ++ examples/l2fwd/l2fwd_worker.h | 10 ++ examples/l2fwd/main.c | 191 +--

[dpdk-dev] [PATCH v1 09/15] examples/l2fwd: move drain buffers to new function

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * Replaced 'unsigned' with 'unsigned int' examples/l2fwd/l2fwd_worker.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/examples/l2fwd/l2fwd_worker.c index ad5468a..dfa78e

[dpdk-dev] [PATCH v1 12/15] examples/l2fwd: skip timer updates for non master cores

2018-06-14 Thread Anoob Joseph
The timer updates and checks are required only for stats printing by the master core. This can be entirely skipped for other cores. Signed-off-by: Anoob Joseph --- v1: * No change examples/l2fwd/l2fwd_worker.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --

[dpdk-dev] [PATCH v1 10/15] examples/l2fwd: optimize check for master core

2018-06-14 Thread Anoob Joseph
Replacing the check for lcore_id & mastercore_id with the check for a flag. Signed-off-by: Anoob Joseph --- v1: * Replaced 'unsigned' with 'unsigned int' examples/l2fwd/l2fwd_worker.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/exa

[dpdk-dev] [PATCH v1 11/15] examples/l2fwd: move periodic tasks to new function

2018-06-14 Thread Anoob Joseph
Move the periodic operations (stats flush and drain buffers) to a new function. Signed-off-by: Anoob Joseph --- v1: * Replaced 'unsigned' with 'unsigned int' examples/l2fwd/l2fwd_worker.c | 83 --- examples/l2fwd/l2fwd_worker.h | 6 2 files changed,

[dpdk-dev] [PATCH v1 14/15] examples/l2fwd: use fprint instead of printf for usage print

2018-06-14 Thread Anoob Joseph
Following the convention of l3fwd, using fprintf instead of printf for printing usage. Signed-off-by: Anoob Joseph --- v1: * No change examples/l2fwd/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index 05f9d28..3b697d

[dpdk-dev] [PATCH v1 13/15] examples/l2fwd: move pkt send code to a new function

2018-06-14 Thread Anoob Joseph
Signed-off-by: Anoob Joseph --- v1: * Replaced 'unsigned' with 'unsigned int' examples/l2fwd/l2fwd_worker.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/examples/l2fwd/l2fwd_worker.c b/examples/l2fwd/l2fwd_worker.c index d6a5e90..bac1946 100644 --- a/

[dpdk-dev] [PATCH v1 15/15] examples/l2fwd: improvements to the usage print

2018-06-14 Thread Anoob Joseph
Fixed alignment and split the usage print to aid easy addition of eventmode usage prints. Signed-off-by: Anoob Joseph --- v1: * No change examples/l2fwd/main.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/mai

Re: [dpdk-dev] [PATCH 0/2] add ifc driver to meson build

2018-06-14 Thread Ferruh Yigit
On 6/13/2018 12:32 PM, Xiao Wang wrote: > The first patch unifies the driver name in compiler flag, document. > The second patch adds ifc driver to meson build. > > Xiao Wang (2): > net/ifc: make driver name consistent > net/ifc: add to meson build Series applied to dpdk-next-net/master, than

Re: [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson

2018-06-14 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, June 8, 2018 5:38 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson > > The JIT is only supported on x86_6

Re: [dpdk-dev] [PATCH v3 0/2] testpmd: simulating noisy host environment

2018-06-14 Thread Maxime Coquelin
Hi Bernard, On 05/11/2018 01:50 PM, Iremonger, Bernard wrote: Hi Jens, Subject: [dpdk-dev] [PATCH v3 0/2] testpmd: simulating noisy host environment This series adds a new forwarding mode 'noisy'. It proposes enhancements to testpmd to simulate more realistic behavior of a guest machine en

Re: [dpdk-dev] [RFC v2] eventdev: event tx adapter APIs

2018-06-14 Thread Rao, Nikhil
Hi Folks, Did you get a chance to review v2 ? Please let me know your feedback so I can proceed towards implementation. Thanks, Nikhil

  1   2   >