Re: [dpdk-dev] Instability of port ids

2019-05-17 Thread Wang, Haiyue
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Saturday, May 18, 2019 02:47 > To: dev@dpdk.org > Subject: [dpdk-dev] Instability of port ids > > Several customers have reported similar issues with how the owned/stack > device model >

[dpdk-dev] [Bug 281] BPF: Linking error in librte_bpf

2019-05-17 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=281 Bug ID: 281 Summary: BPF: Linking error in librte_bpf Product: DPDK Version: 19.08 Hardware: x86 OS: Linux Status: CONFIRMED Severity: normal Priority: N

Re: [dpdk-dev] [PATCH 1/6] eal: replace libc-based random number generation with LFSR

2019-05-17 Thread Mattias Rönnblom
On 2019-05-17 21:27, Neil Horman wrote: diff --git a/lib/librte_eal/common/rte_random.c b/lib/librte_eal/common/rte_random.c new file mode 100644 index 0..4d3cf5226 --- /dev/null +++ b/lib/librte_eal/common/rte_random.c @@ -0,0 +1,139 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Cop

Re: [dpdk-dev] [PATCH 1/6] eal: replace libc-based random number generation with LFSR

2019-05-17 Thread Bruce Richardson
On Fri, May 17, 2019 at 03:27:25PM -0400, Neil Horman wrote: > On Tue, May 14, 2019 at 04:53:08PM +0200, Mattias Rönnblom wrote: > > On 2019-05-14 16:16, Neil Horman wrote: > > > On Tue, May 14, 2019 at 11:20:41AM +0200, Mattias Rönnblom wrote: > > > > This commit replaces rte_rand()'s use of lrand

Re: [dpdk-dev] [PATCH 1/6] eal: replace libc-based random number generation with LFSR

2019-05-17 Thread Neil Horman
On Tue, May 14, 2019 at 04:53:08PM +0200, Mattias Rönnblom wrote: > On 2019-05-14 16:16, Neil Horman wrote: > > On Tue, May 14, 2019 at 11:20:41AM +0200, Mattias Rönnblom wrote: > > > This commit replaces rte_rand()'s use of lrand48() with a DPDK-native > > > combined Linear Feedback Shift Register

[dpdk-dev] [PATCH 2/2] meson: add Marvell ARMADA architecture based on armv8-a

2019-05-17 Thread lironh
From: Liron Himi Signed-off-by: Liron Himi Reviewed-by: Jerin Jacob Kollanukkaran Tested-by: Liron Himi --- config/arm/arm64_armada_linux_gcc | 16 config/arm/meson.build| 8 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 config/arm

[dpdk-dev] [PATCH 1/2] mk: add Marvell ARMADA architecture based on armv8-a

2019-05-17 Thread lironh
From: Liron Himi This patch introduces armada target to address difference in number of cores, no numa support Signed-off-by: Liron Himi Reviewed-by: Alan Winkowski Tested-by: Liron Himi --- config/defconfig_arm64-armada-linux-gcc| 24 config/defconfig_arm64-arma

[dpdk-dev] [PATCH 0/2] Introduces armada target

2019-05-17 Thread lironh
From: Liron Himi Introduces armada target to address difference in number of cores, no numa support Liron Himi (2): mk: add Marvell ARMADA architecture based on armv8-a meson: add Marvell ARMADA architecture based on armv8-a config/arm/arm64_armada_linux_gcc | 16

[dpdk-dev] [PATCH 0/2] Introduces armada target

2019-05-17 Thread lironh
From: Liron Himi Introduces armada target to address difference in number of cores, no numa support Liron Himi (2): mk: add Marvell ARMADA architecture based on armv8-a meson: add Marvell ARMADA architecture based on armv8-a config/arm/arm64_armada_linux_gcc | 16

[dpdk-dev] [PATCH 2/2] meson: add Marvell ARMADA architecture based on armv8-a

2019-05-17 Thread lironh
From: Liron Himi Change-Id: If210dbfeed447df3beffd53339a40e4a9069b6dc Signed-off-by: Liron Himi Reviewed-by: Jerin Jacob Kollanukkaran --- config/arm/arm64_armada_linux_gcc | 16 config/arm/meson.build| 8 +++- 2 files changed, 23 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH 1/2] mk: add Marvell ARMADA architecture based on armv8-a

2019-05-17 Thread lironh
From: Liron Himi This patch introduces armada target to address difference in number of cores, no numa support Change-Id: Ieaabe77b165000fe1280f98105329a0e63833b92 Signed-off-by: Liron Himi Reviewed-by: Alan Winkowski Tested-by: Liron Himi --- config/defconfig_arm64-armada-linux-gcc| 24 ++

[dpdk-dev] Instability of port ids

2019-05-17 Thread Stephen Hemminger
Several customers have reported similar issues with how the owned/stack device model works in DPDK. With failsafe/tap and VF or netvsc and VF there are DPDK ports which are marked as owned and therefore not visible. The problem is the application has to guess and workaround these port values in

[dpdk-dev] [PATCH v1] examples/l3fwd-power: add telemetry mode support

2019-05-17 Thread Reshma Pattan
Add new telemetry mode support for l3fwd-power. This is a standalone mode, in this mode l3fwd-power does simple l3fwding along with calculating empty polls, full polls, and busy percentage for each forwarding core. The aggregation of these values of all cores is reported as application level teleme

[dpdk-dev] [PATCH] lib/telemetry: add support to fetch global metrics

2019-05-17 Thread Reshma Pattan
telemetry has support for fetching port based stats from metrics library. Metrics library also has global stats which are not fetched by telemetry, so extend telemetry to fetch the global metrics. Signed-off-by: Reshma Pattan --- doc/guides/howto/telemetry.rst| 9 +- doc/guide

[dpdk-dev] [PATCH v1] lib/ipsec: add support for header construction

2019-05-17 Thread Marko Kovacevic
Add support for RFC 4301(5.1.2) to update of Type of service field and Traffic class field bits inside ipv4/ipv6 packets for outbound cases and inbound cases which deals with the update of the DSCP/ENC bits inside each of the fields. Signed-off-by: Marko Kovacevic --- examples/ipsec-secgw/sa.c

Re: [dpdk-dev] [PATCH v4] vhost: support inflight share memory protocol feature

2019-05-17 Thread Maxime Coquelin
On 5/5/19 11:02 AM, Li Lin wrote: From: Li Lin This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backe

Re: [dpdk-dev] [PATCH] net/virtio: remove useless check on mempool

2019-05-17 Thread Maxime Coquelin
On 5/9/19 10:03 AM, David Marchand wrote: This .rx_queue_setup devop is called after ethdev already dereferenced the mempool pointer. No need to check and we can remove this rte_exit. Fixes: 48cec290a3d2 ("net/virtio: move queue configure code to proper place") Cc: sta...@dpdk.org Signed-off

[dpdk-dev] [PATCH v2 5/5] eal/x86: force inlining of all memcpy and mov helpers

2019-05-17 Thread Maxime Coquelin
Some helpers in the header file are forced inlined other are only inlined, this patch forces inline for all. It will avoid it to be embedded as functions when called multiple times in the same object file. For example, when we added packed ring support in vhost-user library, rte_memcpy_generic got

[dpdk-dev] [PATCH v2 3/5] vhost: do not inline unlikely fragmented buffers code

2019-05-17 Thread Maxime Coquelin
Handling of fragmented virtio-net header and indirect descriptors tables was implemented to fix CVE-2018-1059. It should never happen with healthy guests and so are already considered as unlikely code path. This patch moves these bits into non-inline dedicated functions to reduce the I-cache press

[dpdk-dev] [PATCH v2 4/5] vhost: simplify descriptor's buffer prefetching

2019-05-17 Thread Maxime Coquelin
Now that we have a single function to map the descriptors buffers, let's prefetch them there as it is the earliest place we can do it. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 32 ++-- 1 file changed, 2 insertions(+), 30 deletions(-) diff --

[dpdk-dev] [PATCH v2 2/5] vhost: do not inline packed and split functions

2019-05-17 Thread Maxime Coquelin
At runtime either packed Tx/Rx functions will always be called, or split Tx/Rx functions will always be called. This patch removes the forced inlining in order to reduce the I-cache pressure. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 8 1 file changed, 4 insert

[dpdk-dev] [PATCH v2 1/5] vhost: un-inline dirty pages logging functions

2019-05-17 Thread Maxime Coquelin
In order to reduce the I-cache pressure, this patch removes the inlining of the dirty pages logging functions, that we can consider as cold path. Indeed, these functions are only called while doing live migration, so not called most of the time. Signed-off-by: Maxime Coquelin --- lib/librte_vho

[dpdk-dev] [PATCH v2 0/5] vhost: I-cache pressure optimizations

2019-05-17 Thread Maxime Coquelin
Some OVS-DPDK PVP benchmarks show a performance drop when switching from DPDK v17.11 to v18.11. With the addition of packed ring layout support, rte_vhost_enqueue_burst and rte_vhost_dequeue_burst became very large, and only a part of the instructions are executed (either packed or split ring used

Re: [dpdk-dev] [PATCH 2/5] vhost: do not inline packed and split functions

2019-05-17 Thread Maxime Coquelin
On 5/17/19 3:00 PM, David Marchand wrote: On Fri, May 17, 2019 at 2:23 PM Maxime Coquelin mailto:maxime.coque...@redhat.com>> wrote: At runtime either packed Tx/Rx functions will always be called, or split Tx/Rx functions will always be called. This patch removes the forced in

Re: [dpdk-dev] [PATCH 0/5] vhost: I-cache pressure optimizations

2019-05-17 Thread Maxime Coquelin
On 5/17/19 3:04 PM, David Marchand wrote: On Fri, May 17, 2019 at 2:23 PM Maxime Coquelin mailto:maxime.coque...@redhat.com>> wrote: Some OVS-DPDK PVP benchmarks show a performance drop when switching from DPDK v17.11 to v18.11. With the addition of packed ring layout support

[dpdk-dev] [PATCH] bpf: fix pseudo calls for BPF programs loaded from ELF

2019-05-17 Thread Konstantin Ananyev
clang 6.0 and onwards, for the external function call generates BPF_PSEUDO_CALL instruction: call pseudo +-off -> call another bpf function. More details about that change: https://lwn.net/Articles/741773/ DPDK BPF implementation right now doesn't support multiple BPF functions per module. To overc

Re: [dpdk-dev] Hugepages not being deleted

2019-05-17 Thread David Marchand
Hello Anatoly, Not sure what the issue is at the moment. I too have an error on the eal_flags_autotest but what is worrying me is that it works fine in 18.11.1 and 19.02. Is there anything that rings a bell? Thanks. -- David Marchand

Re: [dpdk-dev] [PATCH v2 0/3] cleanup kernel meson.build file for linux

2019-05-17 Thread Luca Boccassi
On Fri, 2019-05-17 at 14:45 +0100, Bruce Richardson wrote: > Small cleanups to shorten the meson.build file in the kernel/linux > directory, removing the unneeded version check and taking advantage > of the > subdir_done() function introduced in meson 0.46. > > V2: > resubmit without the 19.

[dpdk-dev] [PATCH v2 2/3] kernel/linux: reduce unneeded indents in meson build file

2019-05-17 Thread Bruce Richardson
Since meson 0.46, meson has supported the subdir_done() function, which allows us to abort processing of a file early. Using this we can reduce the indentation in our files by eliminating unnecessary else blocks. Signed-off-by: Bruce Richardson Reviewed-by: David Marchand --- kernel/linux/meson

[dpdk-dev] [PATCH v2 0/3] cleanup kernel meson.build file for linux

2019-05-17 Thread Bruce Richardson
Small cleanups to shorten the meson.build file in the kernel/linux directory, removing the unneeded version check and taking advantage of the subdir_done() function introduced in meson 0.46. V2: resubmit without the 19.08 patch prefix and with the typo removed in patch 1. Bruce Ri

[dpdk-dev] [PATCH v2 1/3] kernel/linux: remove unnecessary meson version check

2019-05-17 Thread Bruce Richardson
The check for meson version 0.44 is redundant since the minimum supported version for the project as a whole is 0.47. Signed-off-by: Bruce Richardson Reviewed-by: David Marchand --- kernel/linux/meson.build | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/kernel/linux/m

[dpdk-dev] [PATCH v2 3/3] kernel/linux: remove unneeded local variables

2019-05-17 Thread Bruce Richardson
The local variables for the error message aren't needed, since the messages aren't used more than once, and the indent levels are now such that the lines printing the message are not much longer than the lines defining the variables to hold the messages themselves. Therefore the use of the variable

Re: [dpdk-dev] [PATCH v2 0/5] improve building examples

2019-05-17 Thread Luca Boccassi
On Fri, 2019-05-17 at 12:47 +0100, Bruce Richardson wrote: > This patchset adds support for testing a number of examples using the > DPDK pkgconfig file, allowing us to check that the file works. It > also > includes some more general cleanups for the examples, including > adding > support for buil

Re: [dpdk-dev] [PATCH v3 0/3] Fixes for building examples

2019-05-17 Thread Luca Boccassi
On Fri, 2019-05-17 at 13:02 +0100, Bruce Richardson wrote: > A small set of fixes for building examples, that was previously part > of > the larger set, but pulled out separately for easier apply. > > V3: changed patch 1, to properly quit processing examples/meson.build > if the examples list

Re: [dpdk-dev] [PATCH 0/5] vhost: I-cache pressure optimizations

2019-05-17 Thread David Marchand
On Fri, May 17, 2019 at 2:23 PM Maxime Coquelin wrote: > Some OVS-DPDK PVP benchmarks show a performance drop > when switching from DPDK v17.11 to v18.11. > > With the addition of packed ring layout support, > rte_vhost_enqueue_burst and rte_vhost_dequeue_burst > became very large, and only a par

Re: [dpdk-dev] [PATCH 2/5] vhost: do not inline packed and split functions

2019-05-17 Thread David Marchand
On Fri, May 17, 2019 at 2:23 PM Maxime Coquelin wrote: > At runtime either packed Tx/Rx functions will always be called, > or split Tx/Rx functions will always be called. > > This patch removes the forced inlining in order to reduce > the I-cache pressure. > I just wonder if the compiler can't d

Re: [dpdk-dev] [PATCH 3/5] vhost: do not inline unlikely fragmented buffers code

2019-05-17 Thread Maxime Coquelin
On 5/17/19 2:22 PM, Maxime Coquelin wrote: Handling of fragmented virtio-net header and indirect descriptors tables was implemented to fix CVE-2018-1059. It should not never happen with healthy guests and so are already considered as unlikely code path. This patch moves these bits into non-in

[dpdk-dev] [PATCH 5/5] eal/x86: force inlining of all memcpy and mov helpers

2019-05-17 Thread Maxime Coquelin
From: root Some helpers in the header file are forced inlined other are only inlined, this patch forces inline for all. It will avoid it to be embedded as functions when called multiple times in the same object file. For example, when we added packed ring support in vhost-user library, rte_memcp

[dpdk-dev] [PATCH 4/5] vhost: simplify descriptor's buffer prefetching

2019-05-17 Thread Maxime Coquelin
Now that we have a single function to map the descriptors buffers, let's prefetch them there as it is the earliest place we can do it. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 32 ++-- 1 file changed, 2 insertions(+), 30 deletions(-) diff --

[dpdk-dev] [PATCH 2/5] vhost: do not inline packed and split functions

2019-05-17 Thread Maxime Coquelin
At runtime either packed Tx/Rx functions will always be called, or split Tx/Rx functions will always be called. This patch removes the forced inlining in order to reduce the I-cache pressure. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 8 1 file changed, 4 insert

[dpdk-dev] [PATCH 0/5] vhost: I-cache pressure optimizations

2019-05-17 Thread Maxime Coquelin
Some OVS-DPDK PVP benchmarks show a performance drop when switching from DPDK v17.11 to v18.11. With the addition of packed ring layout support, rte_vhost_enqueue_burst and rte_vhost_dequeue_burst became very large, and only a part of the instructions are executed (either packed or split ring used

[dpdk-dev] [PATCH 1/5] vhost: un-inline dirty pages logging functions

2019-05-17 Thread Maxime Coquelin
In order to reduce the I-cache pressure, this patch removes the inlining of the dirty pages logging functions, that we can consider as cold path. Indeed, these functions are only called while doing live migration, so not called most of the time. Signed-off-by: Maxime Coquelin --- lib/librte_vho

[dpdk-dev] [PATCH 3/5] vhost: do not inline unlikely fragmented buffers code

2019-05-17 Thread Maxime Coquelin
Handling of fragmented virtio-net header and indirect descriptors tables was implemented to fix CVE-2018-1059. It should not never happen with healthy guests and so are already considered as unlikely code path. This patch moves these bits into non-inline dedicated functions to reduce the I-cache p

[dpdk-dev] [PATCH v3 3/3] examples: fix make clean when using pkg-config for building

2019-05-17 Thread Bruce Richardson
The "make clean" command had a number of issues: - the "--ignore-fail-on-non-empty" flag is not present on BSD - the call to remove the build folder would fail if there was no build folder present. These are fixed by only removing the build folder if it exists, and by using -p flag to rmdir in p

[dpdk-dev] [PATCH v3 2/3] examples: remove auto-generation of examples list

2019-05-17 Thread Bruce Richardson
The examples/meson.build file scanned the filesystem to find all examples to build (for examples=all option) and install. However, using run_command and scanning the filesystem prevented ninja from properly detecting the addition or removal of any examples - one had to recreate the build directory

[dpdk-dev] [PATCH v3 0/3] Fixes for building examples

2019-05-17 Thread Bruce Richardson
A small set of fixes for building examples, that was previously part of the larger set, but pulled out separately for easier apply. V3: changed patch 1, to properly quit processing examples/meson.build if the examples list was empty. Bruce Richardson (3): examples: fix install of sample app

[dpdk-dev] [PATCH v3 1/3] examples: fix install of sample apps if setting not provided

2019-05-17 Thread Bruce Richardson
While the examples were being installed into the appropriate install path when processing the examples/meson.build file, that file was only processed if the "examples" meson parameter was non-empty. Since we now do more than just build the examples, we need to unconditionally process the file. Fix

Re: [dpdk-dev] [PATCH v2 1/3] examples: fix install of sample apps if setting not provided

2019-05-17 Thread Bruce Richardson
On Fri, May 17, 2019 at 12:46:11PM +0100, Bruce Richardson wrote: > While the examples were being installed into the appropriate install path > when processing the examples/meson.build file, that file was only processed > if the "examples" meson parameter was non-empty. Since we now do more than >

[dpdk-dev] [PATCH v2 4/5] examples/vdpa: support building from pkg-config info

2019-05-17 Thread Bruce Richardson
The vdpa example app did not check for a libdpdk pkg-config file and attempt to build using that. Add support for that method of compile to align the app with the other examples. Signed-off-by: Bruce Richardson --- examples/vdpa/Makefile | 52 +++--- 1 file ch

[dpdk-dev] [PATCH v2 1/5] examples: add support for relocated DPDK install

2019-05-17 Thread Bruce Richardson
For testing of DPDK, we want to override the prefix given by the pkg-config file, so that we can get correct paths for DPDK installed in an unusual location. Signed-off-by: Bruce Richardson --- examples/bbdev_app/Makefile | 10 ++ examples/bond/Makefile | 10

[dpdk-dev] [PATCH v2 2/5] devtools/test-meson-builds: remove dependency on clang

2019-05-17 Thread Bruce Richardson
Allow the script to run with a reduced set of builds if clang, or other compilers, are missing. Signed-off-by: Bruce Richardson --- devtools/test-meson-builds.sh | 38 ++- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/devtools/test-meson-builds.s

[dpdk-dev] [PATCH v2 5/5] examples/vhost_crypto: support building from pkg-config info

2019-05-17 Thread Bruce Richardson
The vhost_crypto example app did not check for a libdpdk pkg-config file and attempt to build using that. Add support for that method of compile to align the app with the other examples. Signed-off-by: Bruce Richardson --- examples/vhost_crypto/Makefile | 52 -- 1

[dpdk-dev] [PATCH v2 3/5] devtools/test-meson-builds: add testing of pkg-config file

2019-05-17 Thread Bruce Richardson
The pkg-config file generated as part of the build of DPDK should allow applications to be built with an installed DPDK. We can test this as part of the build by doing an install of DPDK to a temporary directory within the build folder, and by then compiling up a few sample apps using make working

[dpdk-dev] [PATCH v2 1/3] examples: fix install of sample apps if setting not provided

2019-05-17 Thread Bruce Richardson
While the examples were being installed into the appropriate install path when processing the examples/meson.build file, that file was only processed if the "examples" meson parameter was non-empty. Since we now do more than just build the examples, we need to unconditionally process the file. Fix

[dpdk-dev] [PATCH v2 2/3] examples: remove auto-generation of examples list

2019-05-17 Thread Bruce Richardson
The examples/meson.build file scanned the filesystem to find all examples to build (for examples=all option) and install. However, using run_command and scanning the filesystem prevented ninja from properly detecting the addition or removal of any examples - one had to recreate the build directory

[dpdk-dev] [PATCH v2 3/3] examples: fix make clean when using pkg-config for building

2019-05-17 Thread Bruce Richardson
The "make clean" command had a number of issues: - the "--ignore-fail-on-non-empty" flag is not present on BSD - the call to remove the build folder would fail if there was no build folder present. These are fixed by only removing the build folder if it exists, and by using -p flag to rmdir in p

[dpdk-dev] [PATCH v2 0/5] improve building examples

2019-05-17 Thread Bruce Richardson
This patchset adds support for testing a number of examples using the DPDK pkgconfig file, allowing us to check that the file works. It also includes some more general cleanups for the examples, including adding support for building from pkg-config to a couple of examples which were missing that.

[dpdk-dev] [PATCH v2 0/3] Fixes for building examples

2019-05-17 Thread Bruce Richardson
A small set of fixes for building examples, that was previously part of the larger set, but pulled out separately for easier apply. Bruce Richardson (3): examples: fix install of sample apps if setting not provided examples: remove auto-generation of examples list examples: fix make clean wh

Re: [dpdk-dev] [PATCH] ethdev: add a check on mempool during rxq setup

2019-05-17 Thread Jens Freimann
On Fri, May 17, 2019 at 10:15:08AM +0200, David Marchand wrote: We currently have no check on the mempool pointer passed to rte_eth_rx_queue_setup. Let's avoid a plain crash when dereferencing it. Suggested-by: Jens Freimann Signed-off-by: David Marchand --- lib/librte_ethdev/rte_ethdev.c | 5

Re: [dpdk-dev] [PATCH v3] net/i40e: Eliminate weak symbols in i40e_rxtx.c

2019-05-17 Thread Bruce Richardson
On Thu, May 16, 2019 at 02:28:03PM -0400, David Harton wrote: > Use of weak symbols can hide makefile errors especially when > custom makefiles are used. Removing the use of weak symbols > to avoid a stub function being linked in production code. > > Signed-off-by: David Harton > --- > > v3 - a

Re: [dpdk-dev] DPDK Release Status Meeting 16/5/2019

2019-05-17 Thread Luca Boccassi
On Fri, 2019-05-17 at 10:43 +0200, Thomas Monjalon wrote: > 16/05/2019 23:43, Luca Boccassi: > > On Thu, 2019-05-16 at 18:02 +0100, Ferruh Yigit wrote: > > > * Can be good to build contact information of the involved > > > testers > > > from > > > various companies, for faster/better communic

Re: [dpdk-dev] [PATCH] app/testpmd: change port detach interface

2019-05-17 Thread Thomas Monjalon
17/05/2019 10:55, Nithin Dabilpuram: > On Wed, May 15, 2019 at 09:27:22AM +0200, Thomas Monjalon wrote: > > 15/05/2019 08:52, Nithin Dabilpuram: > > > Hi Thomas, > > > On Tue, May 14, 2019 at 05:39:30PM +0200, Thomas Monjalon wrote: > > > > Hi, > > > > > > > > 13/05/2019 13:21, Nithin Dabilpuram:

Re: [dpdk-dev] [PATCH] app/testpmd: change port detach interface

2019-05-17 Thread Nithin Dabilpuram
On Wed, May 15, 2019 at 09:27:22AM +0200, Thomas Monjalon wrote: > 15/05/2019 08:52, Nithin Dabilpuram: > > Hi Thomas, > > On Tue, May 14, 2019 at 05:39:30PM +0200, Thomas Monjalon wrote: > > > Hi, > > > > > > 13/05/2019 13:21, Nithin Dabilpuram: > > > > With the latest published interface of > >

Re: [dpdk-dev] DPDK Release Status Meeting 16/5/2019

2019-05-17 Thread Thomas Monjalon
16/05/2019 23:43, Luca Boccassi: > On Thu, 2019-05-16 at 18:02 +0100, Ferruh Yigit wrote: > > * Can be good to build contact information of the involved testers > > from > > various companies, for faster/better communication, if you are > > doing LTS > > testing please reach out to Kevin

Re: [dpdk-dev] [PATCH] net/virtio: remove useless check on mempool

2019-05-17 Thread David Marchand
On Thu, May 9, 2019 at 3:29 PM Jens Freimann wrote: > On Thu, May 09, 2019 at 10:03:48AM +0200, David Marchand wrote: > >This .rx_queue_setup devop is called after ethdev already dereferenced > >the mempool pointer. > >No need to check and we can remove this rte_exit. > > > >Fixes: 48cec290a3d2 (

[dpdk-dev] [PATCH] ethdev: add a check on mempool during rxq setup

2019-05-17 Thread David Marchand
We currently have no check on the mempool pointer passed to rte_eth_rx_queue_setup. Let's avoid a plain crash when dereferencing it. Suggested-by: Jens Freimann Signed-off-by: David Marchand --- lib/librte_ethdev/rte_ethdev.c | 5 + lib/librte_ethdev/rte_ethdev.h | 6 +++--- 2 files changed

Re: [dpdk-dev] DPDK 18.11.2 LTS update

2019-05-17 Thread Kevin Traynor
On 17/05/2019 00:23, Stephen Hemminger wrote: > On Thu, 16 May 2019 23:12:45 +0200 > Thomas Monjalon wrote: > >> 16/05/2019 20:57, Kevin Traynor: >>> Plan is to have a 18.11.2 RC1 ready early next week for validation >>> teams. There are a small few outstanding backports that need authors >>> hel

Re: [dpdk-dev] DPDK 18.11.2 LTS update

2019-05-17 Thread Kevin Traynor
On 16/05/2019 22:12, Thomas Monjalon wrote: > 16/05/2019 20:57, Kevin Traynor: >> Plan is to have a 18.11.2 RC1 ready early next week for validation >> teams. There are a small few outstanding backports that need authors >> help - please send by next Monday so I can put into RC1. > > Please could

Re: [dpdk-dev] [PATCH v2 4/7] ether: add eth_unformat_addr

2019-05-17 Thread David Marchand
On Thu, May 16, 2019 at 8:05 PM Stephen Hemminger < step...@networkplumber.org> wrote: > Make a function that coresponds with eth_aton_r which can > corresponds be used to convert string to ether_addr. > > This also allows rte_ethdev to no longer depend on the > cmdline library. > > Signed-off-b

Re: [dpdk-dev] [PATCH v2 3/7] ether: deinline non-critical functions

2019-05-17 Thread David Marchand
On Thu, May 16, 2019 at 8:05 PM Stephen Hemminger < step...@networkplumber.org> wrote: > Formatting ethernet address and getting a random value are > not in critical path so they should not be inlined. > > Signed-off-by: Stephen Hemminger > Same comments as on the rfc patch. Please have a look.