[dpdk-dev] [PATCH v6 1/2] examples/multi_process/client_server_mp: check port validity

2019-08-02 Thread Stephen Hemminger
From: Stephen Hemminger The mp_server incorrectly allows a port mask that included hidden ports and which later caused either lost packets or failed initialization. This fixes explicitly checking that each bit in portmask is a valid port before using it. Fixes: 5b7ba31148a8 ("ethdev: add port o

[dpdk-dev] [PATCH v6 2/2] examples/multi_process/client_server_mp - fix crash in mp_client with sparse ports

2019-08-02 Thread Stephen Hemminger
From: Stephen Hemminger The mp_client crashes if run on Azure or any system where ethdev ports are owned. In that case, the tx_buffer and tx_stats for the real port were initialized correctly, but the wrong port was used. For example if the server has Ports 3 and 5. Then calling rte_eth_tx_buffe

[dpdk-dev] [PATCH v6 0/2] examples/client_server_mp: port id (fixes only)

2019-08-02 Thread Stephen Hemminger
v6 - just include fixes; cleanups can wait until 19.11 v5 - change logic in server_mp for evaluating port mask v4 - fix checkpatch warning add patches to fix style issues and use ether format addr v3 - merge both patches in one series use alternative algorithm to check port ownership (

Re: [dpdk-dev] [PATCH v2 0/2] Enable fast-unit tests under travis

2019-08-02 Thread Thomas Monjalon
02/08/2019 23:25, Aaron Conole: > This series turns the fast unit tests on for a limited set of > builds under the travis build system. An example run is available > at: > > https://travis-ci.org/orgcandman/dpdk/builds/565991679 > > The builds which execute the unit tests may be distinguished by

Re: [dpdk-dev] [PATCH v2 1/2] tests: Fix unit tests for shared builds

2019-08-02 Thread Thomas Monjalon
02/08/2019 23:25, Aaron Conole: > From: Michael Santana > > Currently many unit tests fail when running tests under shared builds. > This happens because of missing driver dependencies. This is fixed by > explicitly linking in missing drivers for the test application. > > before and after (clang

[dpdk-dev] [PATCH v2 1/2] tests: Fix unit tests for shared builds

2019-08-02 Thread Aaron Conole
From: Michael Santana Currently many unit tests fail when running tests under shared builds. This happens because of missing driver dependencies. This is fixed by explicitly linking in missing drivers for the test application. before and after (clang): https://travis-ci.com/Maickii/dpdk-2/jobs/2

[dpdk-dev] [PATCH v2 2/2] ci: enable unit tests under travis-ci

2019-08-02 Thread Aaron Conole
When building under Travis (or another linux CI service), enable running the fast-tests when the RUN_TESTS environment variable is set. For the Travis service, introduce two new shared builds, since the shared builds are the ones passing. Builds that are statically linked still show some issues i

[dpdk-dev] [PATCH v2 0/2] Enable fast-unit tests under travis

2019-08-02 Thread Aaron Conole
This series turns the fast unit tests on for a limited set of builds under the travis build system. An example run is available at: https://travis-ci.org/orgcandman/dpdk/builds/565991679 The builds which execute the unit tests may be distinguished by the "RUN_TESTS" parameter. Aaron Conole (1):

Re: [dpdk-dev] [PATCH 2/2] ci: enable unit tests under travis-ci

2019-08-02 Thread Aaron Conole
Thomas Monjalon writes: > 02/08/2019 22:59, Aaron Conole: >> Thomas Monjalon writes: >> > 31/07/2019 22:54, Michael Santana Francisco: >> >> On Wed, Jul 31, 2019 at 10:50 AM Aaron Conole wrote: >> >> > --- a/.ci/linux-build.sh >> >> > +++ b/.ci/linux-build.sh >> >> > @@ -22,3 +22,11 @@ fi >> >>

Re: [dpdk-dev] [PATCH 2/2] ci: enable unit tests under travis-ci

2019-08-02 Thread Thomas Monjalon
02/08/2019 22:59, Aaron Conole: > Thomas Monjalon writes: > > 31/07/2019 22:54, Michael Santana Francisco: > >> On Wed, Jul 31, 2019 at 10:50 AM Aaron Conole wrote: > >> > --- a/.ci/linux-build.sh > >> > +++ b/.ci/linux-build.sh > >> > @@ -22,3 +22,11 @@ fi > >> > OPTS="$OPTS --default-library=$

Re: [dpdk-dev] [PATCH] net/memif: fix multi-process device probe error

2019-08-02 Thread Thomas Monjalon
01/08/2019 12:35, Phil Yang: > Fixes: c41a04958b ("net/memif: support multi-process") > > Signed-off-by: Phil Yang > Reviewed-by: Gavin Hu > --- > --- a/drivers/net/memif/rte_eth_memif.c > +++ b/drivers/net/memif/rte_eth_memif.c > @@ -1265,7 +1265,7 @@ rte_pmd_memif_probe(struct rte_vdev_device

Re: [dpdk-dev] [PATCH 2/2] ci: enable unit tests under travis-ci

2019-08-02 Thread Aaron Conole
Thomas Monjalon writes: > 31/07/2019 22:54, Michael Santana Francisco: >> On Wed, Jul 31, 2019 at 10:50 AM Aaron Conole wrote: >> > --- a/.ci/linux-build.sh >> > +++ b/.ci/linux-build.sh >> > @@ -22,3 +22,11 @@ fi >> > OPTS="$OPTS --default-library=$DEF_LIB" >> > meson build --werror -Dexample

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eal: do not scan PCI devices for memory tests

2019-08-02 Thread Thomas Monjalon
01/08/2019 14:27, David Marchand: > The memory tests currently check that, for normal mode (not legacy mode), > there is no memory left behind when exiting. I think this is the real bug: we are checking a behaviour that we cannot achieve currently. > The problem is that if a ethdev port is alloca

Re: [dpdk-dev] [PATCH] test/eal: fix incorrect array sizes

2019-08-02 Thread Thomas Monjalon
> > > > Following removal of -c and -n options, the array should have been > > > > shrunk to avoid launch_proc to access unitialised strings. > > > > > > > > Fixes: b4dbacdb1ad7 ("test/eal: set core mask/list config only in > > > > dedicated test") > > > > Fixes: 501fa9a40298 ("test/eal: set memor

Re: [dpdk-dev] [PATCH] test: remove link to ixgbe/i40e drivers in meson

2019-08-02 Thread Thomas Monjalon
31/07/2019 09:55, David Marchand: > The tests do not depend on ixgbe or i40e drivers, just remove this > explicit link that likely comes from a copy/paste from testpmd. > > Fixes: b5dc795a8a55 ("test: build app with meson as dpdk-test") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand Ap

Re: [dpdk-dev] [PATCH 1/2] tests: Fix unit tests for shared builds

2019-08-02 Thread Aaron Conole
Thomas Monjalon writes: > 31/07/2019 16:50, Aaron Conole: >> From: Michael Santana >> --- a/app/test/meson.build >> +++ b/app/test/meson.build >> +if dpdk_conf.has('RTE_LIBRTE_RING_MEMPOOL') >> +test_deps += 'mempool_ring' >> +endif >> +if dpdk_conf.has('RTE_LIBRTE_STACK_MEMPOOL') >> +te

Re: [dpdk-dev] [PATCH 1/2] tests: Fix unit tests for shared builds

2019-08-02 Thread Thomas Monjalon
31/07/2019 16:50, Aaron Conole: > From: Michael Santana > --- a/app/test/meson.build > +++ b/app/test/meson.build > +if dpdk_conf.has('RTE_LIBRTE_RING_MEMPOOL') > + test_deps += 'mempool_ring' > +endif > +if dpdk_conf.has('RTE_LIBRTE_STACK_MEMPOOL') > + test_deps += 'mempool_stack' > +endi

Re: [dpdk-dev] [PATCH 2/2] ci: enable unit tests under travis-ci

2019-08-02 Thread Thomas Monjalon
31/07/2019 22:54, Michael Santana Francisco: > On Wed, Jul 31, 2019 at 10:50 AM Aaron Conole wrote: > > --- a/.ci/linux-build.sh > > +++ b/.ci/linux-build.sh > > @@ -22,3 +22,11 @@ fi > > OPTS="$OPTS --default-library=$DEF_LIB" > > meson build --werror -Dexamples=all $OPTS > > ninja -C build >

Re: [dpdk-dev] [PATCH v2] librte_acl: fix undefined behavior

2019-08-02 Thread Thomas Monjalon
01/08/2019 10:14, Ananyev, Konstantin: > > > > Left-shift of an integer constant is represented as 'int' type, but a left > > shift of 1 by 31 bits in 'int' is undefined. Use the U suffix to force > > a representation as unsigned. > > > > Caught while running with ubsan under gcc. > > > > Fixes

Re: [dpdk-dev] [PATCH] doc: fix guide build warning

2019-08-02 Thread Thomas Monjalon
> > Subject: [dpdk-dev] [PATCH] doc: fix guide build warning > Acked-by: John McNamara Applied, thanks

Re: [dpdk-dev] [PATCH] net/mlx5: txq_inline_min not set for ConnectX-5 adapters

2019-08-02 Thread David Christensen
Yes, thank you for the patch, acked. The "txq_inline_min" value was not set for ConnectX-5 to 0 as default. At the TX queue setup time the "txq_inline_min" is checked against MLX5_ARG_UNSET and default value 0 is set: txq_set_params() ... inlen_mode = (config->txq_inline_min == MLX5_ARG_UNSET) ?

Re: [dpdk-dev] [PATCH] bus/pci: always check IOMMU capabilities

2019-08-02 Thread David Christensen
David, Takeshi, Can you test your setups with (only) this patch? This should address both of your issues. Correctly identifies my system as requiring PA mode: sudo LD_LIBRARY_PATH=/home/davec/src/dpdk/build/lib /home/davec/src/dpdk/build/app/testpmd --log-level="lib.*:debug" -w :01:00.0

Re: [dpdk-dev] [PATCH] bus/pci: always check IOMMU capabilities

2019-08-02 Thread David Christensen
IOMMU capabilities won't change and must be checked even if no PCI device seem to be supported yet when EAL initialised. This is to accommodate with SPDK that registers its drivers after rte_eal_init(), especially on PPC platform where the IOMMU does not support VA. Fixes: 703458e19c16 ("bus/pci

Re: [dpdk-dev] [PATCH 3/3] testpmd: use exit instead of panic

2019-08-02 Thread Stephen Hemminger
On Fri, 2 Aug 2019 17:08:26 +0100 "Burakov, Anatoly" wrote: > On 02-Aug-19 3:51 AM, Stephen Hemminger wrote: > > rte_panic causes a backtrace (which is uniformative since all > > these calls are in main). Instead use rte_exit and try and make the > > messages informative. > > > > Signed-off-by:

Re: [dpdk-dev] [PATCH] doc: announce malloc virt2phys symbol removal

2019-08-02 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: dev On Behalf Of Burakov, Anatoly > Sent: Friday, August 2, 2019 9:35 PM > To: David Marchand ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: announce malloc virt2phys symbol > removal > > On 02-Aug-19 2:29 PM, David Marchand wrote: > > This symbol has

Re: [dpdk-dev] [PATCH 3/3] testpmd: use exit instead of panic

2019-08-02 Thread Burakov, Anatoly
On 02-Aug-19 3:51 AM, Stephen Hemminger wrote: rte_panic causes a backtrace (which is uniformative since all these calls are in main). Instead use rte_exit and try and make the messages informative. Signed-off-by: Stephen Hemminger --- Missed opportunity for a "keep calm" joke... Reviewed-by

Re: [dpdk-dev] [PATCH] doc: announce malloc virt2phys symbol removal

2019-08-02 Thread Burakov, Anatoly
On 02-Aug-19 2:29 PM, David Marchand wrote: This symbol has been deprecated for quite some time. Let's drop it in the next release. Signed-off-by: David Marchand --- Acked-by: Anatoly Burakov -- Thanks, Anatoly

Re: [dpdk-dev] [PATCH v5 1/4] examples/multi_process/client_server_mp: check port validity

2019-08-02 Thread Stephen Hemminger
On Fri, 2 Aug 2019 05:33:20 + Matan Azrad wrote: > Hi Stephen > > One more small comment inline > > From: Stephen Hemminger > > Sent: Friday, August 2, 2019 5:58 AM > > To: dev@dpdk.org > > Cc: Stephen Hemminger > > Subject: [dpdk-dev] [PATCH v5 1/4] > > examples/multi_process/client_ser

[dpdk-dev] [PATCH v2 3/3] doc: updates to versioning guide for abi versions

2019-08-02 Thread Ray Kinsella
Updates to the ABI versioning guide, to account for the changes to the DPDK ABI/API policy. Signed-off-by: Ray Kinsella --- doc/guides/contributing/abi_versioning.rst | 240 +++-- 1 file changed, 159 insertions(+), 81 deletions(-) diff --git a/doc/guides/contributing/abi

[dpdk-dev] [PATCH v2 2/3] doc: changes to abi policy introducing major abi versions

2019-08-02 Thread Ray Kinsella
This policy change introduces major ABI versions, these are declared every year, typically aligned with the LTS release and are supported by subsequent releases in the following year. This change is intended to improve ABI stabilty for those projects consuming DPDK. Signed-off-by: Ray Kinsella --

[dpdk-dev] [PATCH v2 1/3] doc: separate versioning.rst into version and policy

2019-08-02 Thread Ray Kinsella
Separate versioning.rst into abi versioning and abi policy guidance, in preparation for adding more detail to the abi policy. Signed-off-by: Ray Kinsella --- doc/guides/contributing/abi_policy.rst | 169 + doc/guides/contributing/abi_versioning.rst | 427 + doc/gu

[dpdk-dev] [PATCH v2 0/3] doc: changes to abi policy introducing major abi versions

2019-08-02 Thread Ray Kinsella
TL;DR Abbreviation: A major ABI version that all DPDK releases during a one year period support. ABI versioning is managed at a project-level, in place of library-level management. ABI changes to add new features are permitted, as long as ABI compatibility with the major ABI version is maintained.

Re: [dpdk-dev] Unable to redirect packets into kernel using dtap/dtun

2019-08-02 Thread Stephen Hemminger
On Fri, 2 Aug 2019 12:45:55 +0530 Nilesh wrote: > Hello, > > We are building an application where a majority of the packets on the > fast path are handled by DPDK, but a small subset of packets on the slow > path need to be redirected to a legacy userspace socket program that > runs over the

Re: [dpdk-dev] [PATCH] doc: update release note for i40e support for MARK+RSS

2019-08-02 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Mcnamara, John > Sent: Tuesday, July 30, 2019 10:33 AM > To: Ergin, Mesut A ; Xing, Beilei > ; Zhang, Qi Z > Cc: dev@dpdk.org; Ergin, Mesut A > Subject: Re: [dpdk-dev] [PATCH] doc: update release note for i40e

Re: [dpdk-dev] [PATCH 0/2] Enable fast-unit tests under travis

2019-08-02 Thread David Marchand
On Wed, Jul 31, 2019 at 4:50 PM Aaron Conole wrote: > > This series turns the fast unit tests on for a limited set of > builds under the travis build system. An example run is available > at: > > https://travis-ci.org/orgcandman/dpdk/builds/565991679 > > The builds which execute the unit tests ma

Re: [dpdk-dev] [PATCH v2] doc: add tested Marvell integrated NIC platforms

2019-08-02 Thread Mcnamara, John
> -Original Message- > From: jer...@marvell.com [mailto:jer...@marvell.com] > Sent: Wednesday, July 31, 2019 4:46 PM > To: dev@dpdk.org; Mcnamara, John ; Kovacevic, > Marko > Cc: tho...@monjalon.net; avi...@marvell.com; Jerin Jacob > > Subject: [dpdk-dev] [PATCH v2] doc: add tested Mar

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eal: do not scan PCI devices for memory tests

2019-08-02 Thread David Marchand
On Fri, Aug 2, 2019 at 3:37 PM Aaron Conole wrote: > > David Marchand writes: > > > On Thu, Aug 1, 2019 at 2:28 PM David Marchand > > wrote: > >> > >> The memory tests currently check that, for normal mode (not legacy mode), > >> there is no memory left behind when exiting. > >> > >> The proble

Re: [dpdk-dev] [PATCH] doc: fix guide build warning

2019-08-02 Thread Mcnamara, John
> -Original Message- > From: jer...@marvell.com [mailto:jer...@marvell.com] > Sent: Friday, August 2, 2019 6:53 AM > To: dev@dpdk.org; Mcnamara, John ; Kovacevic, > Marko > Cc: tho...@monjalon.net; Richardson, Bruce ; > Jerin Jacob > Subject: [dpdk-dev] [PATCH] doc: fix guide build war

Re: [dpdk-dev] [PATCH] test/eal: fix incorrect array sizes

2019-08-02 Thread Michael Santana Francisco
On Thu, Aug 1, 2019 at 3:25 AM David Marchand wrote: > > On Wed, Jul 31, 2019 at 9:57 PM Michael Santana Francisco > wrote: > > > > On Wed, Jul 31, 2019 at 2:56 PM David Marchand > > wrote: > > > > > > Following removal of -c and -n options, the array should have been > > > shrunk to avoid launc

Re: [dpdk-dev] [PATCH] doc: replace PVP text licence with SPDX tag

2019-08-02 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Maxime Coquelin > Sent: Friday, August 2, 2019 8:00 AM > To: dev@dpdk.org; tho...@monjalon.net; hemant.agra...@nxp.com; Richardson, > Bruce > Cc: Maxime Coquelin > Subject: [dpdk-dev] [PATCH] doc: replace PVP t

Re: [dpdk-dev] [PATCH 2/2] ci: enable unit tests under travis-ci

2019-08-02 Thread Michael Santana Francisco
On Fri, Aug 2, 2019 at 9:34 AM Aaron Conole wrote: > > Michael Santana Francisco writes: > > > On Wed, Jul 31, 2019 at 10:50 AM Aaron Conole wrote: > >> > >> When building under Travis (or another linux CI service), enable running > >> the > >> fast-tests for selected builds. Only the shared b

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eal: do not scan PCI devices for memory tests

2019-08-02 Thread Aaron Conole
David Marchand writes: > On Thu, Aug 1, 2019 at 2:28 PM David Marchand > wrote: >> >> The memory tests currently check that, for normal mode (not legacy mode), >> there is no memory left behind when exiting. >> >> The problem is that if a ethdev port is allocated when scanning pci >> devices (e

Re: [dpdk-dev] [PATCH 2/2] ci: enable unit tests under travis-ci

2019-08-02 Thread Aaron Conole
Michael Santana Francisco writes: > On Wed, Jul 31, 2019 at 10:50 AM Aaron Conole wrote: >> >> When building under Travis (or another linux CI service), enable running the >> fast-tests for selected builds. Only the shared builds are enabled at this >> point, since they are the ones passing. B

[dpdk-dev] [PATCH] doc: announce malloc virt2phys symbol removal

2019-08-02 Thread David Marchand
This symbol has been deprecated for quite some time. Let's drop it in the next release. Signed-off-by: David Marchand --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index

[dpdk-dev] DPDK Release Status Meeting 1/8/2019

2019-08-02 Thread Mcnamara, John
Minutes 1 August 2019 Agenda: * Release Dates * RC3 Status * Subtrees * OvS * Opens Participants: * Cavium/Marvell * Debian/Microsoft * Intel * Mellanox * NXP * Red Hat Release Dates - * v19.08 dates: * RC2 is released on Tuesday 23 July * https://mail

Re: [dpdk-dev] [PATCH v2 02/12] raw/ifpga_rawdev/base: add irq support

2019-08-02 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Zhang, Tianfei > Sent: Friday, August 2, 2019 3:36 PM > To: Jerin Jacob Kollanukkaran ; Xu, Rosen > ; dev@dpdk.org > Cc: Yigit, Ferruh ; Pei, Andy ; > Lomartire, David ; Zhang, Qi Z > ; Ye, Xiaolong > Subject: [EXT] RE: [dpdk-dev] [PATCH v2 02/12] raw/ifpga_ra

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eal: do not scan PCI devices for memory tests

2019-08-02 Thread David Marchand
On Thu, Aug 1, 2019 at 2:29 PM David Marchand wrote: > > On Thu, Aug 1, 2019 at 2:28 PM David Marchand > wrote: > > > > The memory tests currently check that, for normal mode (not legacy mode), > > there is no memory left behind when exiting. > > > > The problem is that if a ethdev port is alloc

Re: [dpdk-dev] [PATCH v5 3/4] examples/multi_process/client_server_mp/mp_server: fix style

2019-08-02 Thread David Marchand
On Fri, Aug 2, 2019 at 4:59 AM Stephen Hemminger wrote: > > Lots of little style complaints from checkpatch. > > Signed-off-by: Stephen Hemminger > --- > .../client_server_mp/mp_server/args.c | 37 - > .../client_server_mp/mp_server/init.c | 79 +++ > .../

Re: [dpdk-dev] [PATCH] vhost: replace iotlb licence text with SPDX tag

2019-08-02 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH] doc: replace PVP text licence with SPDX tag

2019-08-02 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH] bus/pci: always check IOMMU capabilities

2019-08-02 Thread David Marchand
On Fri, Aug 2, 2019 at 12:14 PM David Marchand wrote: > > IOMMU capabilities won't change and must be checked even if no PCI device > seem to be supported yet when EAL initialised. > > This is to accommodate with SPDK that registers its drivers after > rte_eal_init(), especially on PPC platform wh

[dpdk-dev] [PATCH] bus/pci: always check IOMMU capabilities

2019-08-02 Thread David Marchand
IOMMU capabilities won't change and must be checked even if no PCI device seem to be supported yet when EAL initialised. This is to accommodate with SPDK that registers its drivers after rte_eal_init(), especially on PPC platform where the IOMMU does not support VA. Fixes: 703458e19c16 ("bus/pci:

Re: [dpdk-dev] [PATCH v2 02/12] raw/ifpga_rawdev/base: add irq support

2019-08-02 Thread Zhang, Tianfei
> -Original Message- > From: Jerin Jacob Kollanukkaran [mailto:jer...@marvell.com] > Sent: Friday, August 2, 2019 11:58 AM > To: Xu, Rosen ; dev@dpdk.org > Cc: Yigit, Ferruh ; Zhang, Tianfei > ; Pei, Andy ; Lomartire, > David ; Zhang, Qi Z ; Ye, > Xiaolong > Subject: RE: [dpdk-dev] [PAT

Re: [dpdk-dev] [PATCH v3 1/1] common/octeontx2: fix unaligned mbox memory accesses

2019-08-02 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: vattun...@marvell.com > Sent: Friday, August 2, 2019 12:27 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > Vamsi Krishna Attunuru ; Nithin Kumar > Dabilpuram > Subject: [dpdk-dev] [PATCH v3 1/1] common/octeontx2: fix unaligned mb

[dpdk-dev] [PATCH] bus/pci: remove unused x86 Linux macro

2019-08-02 Thread David Marchand
This macro is unused after a previous fix. Fixes: fe822eb8c565 ("bus/pci: use IOVA DMA mask check when setting IOVA mode") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- drivers/bus/pci/linux/pci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/b

[dpdk-dev] [PATCH] net/mlx5: fix VLAN inner type matching on DR/DV

2019-08-02 Thread Xiaoyu Min
The rte_flow_item_vlan has the inner_type, which is missing on DR/DV flow engine. By adding this support, the example testpmd commands could be: - matching all vlan traffic with id 2: testpmd> flow create 0 ingress pattern eth / vlan vid is 2 / end actions queue index 2 / end - mat

[dpdk-dev] [PATCH v2] net/pcap: propagate timestamp from pcap_pkthdr to mbuf

2019-08-02 Thread Sylvain Rodon
From: Sylvain Rodon Timestamp is always set in PCAP header, whether it reads a file or listen on an interface. This information can be important for some applications and it cannot be obtained otherwise (especially when reading a PCAP file, where the timestamp is not the current time). Timestamp

[dpdk-dev] [PATCH v2] net/pcap: propagate timestamp from pcap_pkthdr to mbuf

2019-08-02 Thread Sylvain Rodon
From: Sylvain Rodon Timestamp is always set in PCAP header, whether it reads a file or listen on an interface. This information can be important for some applications and it cannot be obtained otherwise (especially when reading a PCAP file, where the timestamp is not the current time). Timestamp

Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in ppc

2019-08-02 Thread Burakov, Anatoly
On 01-Aug-19 2:01 PM, David Marchand wrote: Hello Anatoly, On Wed, Jul 31, 2019 at 5:36 AM Takeshi Yoshimura wrote: Commit b76fafb174d2 ("eal: fix IOVA mode selection as VA for PCI drivers") breaks ppc apps with no IOVA configs (or RTE_IOVA_DC) because of the inconsistency of user's request a

Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in ppc

2019-08-02 Thread David Marchand
On Fri, Aug 2, 2019 at 10:09 AM Takeshi T Yoshimura wrote: > > -David Marchand wrote: - > > >To: Takeshi T Yoshimura > >From: David Marchand > >Date: 08/01/2019 06:47PM > >Cc: dev , David Christensen > >Subject: [EXTERNAL] Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in > >ppc > > >

Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in ppc

2019-08-02 Thread Takeshi T Yoshimura
-David Marchand wrote: - >To: Takeshi T Yoshimura >From: David Marchand >Date: 08/01/2019 06:47PM >Cc: dev , David Christensen >Subject: [EXTERNAL] Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in >ppc > >On Thu, Aug 1, 2019 at 10:46 AM Takeshi T Yoshimura >wrote: >> >> > - Are the (

[dpdk-dev] [PATCH] net/ixgbe: enable Pf host new mbox version

2019-08-02 Thread Wei Zhao
a new mail box version of ixgbe_mbox_api_13 need to enable for pf host, in order that it can communicate with vf for queue number. Signed-off-by: Wei Zhao --- drivers/net/ixgbe/ixgbe_pf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_p

[dpdk-dev] Unable to redirect packets into kernel using dtap/dtun

2019-08-02 Thread Nilesh
Hello, We are building an application where a majority of the packets on the fast path are handled by DPDK, but a small subset of packets on the slow path need to be redirected to a legacy userspace socket program that runs over the kernel TCP/IP stack. Therefore, we are trying to inject the

Re: [dpdk-dev] [PATCH v2 00/12] Add PCIe AER disable and IRQ support for ipn3ke

2019-08-02 Thread Xu, Rosen
Hi, > -Original Message- > From: Jerin Jacob Kollanukkaran [mailto:jer...@marvell.com] > Sent: Friday, August 02, 2019 12:15 > To: Xu, Rosen ; dev@dpdk.org > Cc: Yigit, Ferruh ; Zhang, Tianfei > ; Pei, Andy ; Lomartire, > David ; Zhang, Qi Z ; Ye, > Xiaolong > Subject: RE: [dpdk-dev] [PAT

[dpdk-dev] [PATCH] doc: replace PVP text licence with SPDX tag

2019-08-02 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- doc/guides/howto/pvp_reference_benchmark.rst | 32 ++-- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/doc/guides/howto/pvp_reference_benchmark.rst b/doc/guides/howto/pvp_reference_benchmark.rst index b90c63457..64b1f4d8e 100644