[dpdk-dev] pdump alongside the running l2fwd-crypto leads to Segmentation fault (core dumped) Error

2021-02-15 Thread mirzaei.reza
Hello, I setup the l2fwd-crypto example on dpdk-20.11 according to the following topology: - LC-1 and LC-2 are l2fwd-crypto systems. - A and B are two clients. A <--> LC-1 <--> LC-2 <--> B I used the following command to config LC-1 and LC-2:

[dpdk-dev] Build errors due to duplicate version.map entries in librte_power

2021-02-15 Thread Aaron Conole
Greetings, During CI runs, I've noticed lots of failures from the Travis-CI side all related to librte_power/version.map containing some duplicate symbols. It seems commit 4d3892dcd77b ("power: make channel message functions public") made the following hunk: diff --git a/lib/librte_power/version

Re: [dpdk-dev] [PATCH] usertools/dpdk-telemetry: add file-prefix cmdline argument

2021-02-15 Thread Kevin Laatz
On 15/02/2021 16:08, Bruce Richardson wrote: On Mon, Feb 15, 2021 at 03:50:51PM +, Kevin Laatz wrote: Currently the dpdk-telemetry.py script connects to all running DPDK apps consecutively. With the addition of this file-prefix argument, we can limit the amount of information returned provi

Re: [dpdk-dev] [PATCH 19.11] net/mlx5: fix storing the synched MAC to internal table

2021-02-15 Thread Christian Ehrhardt
On Mon, Feb 15, 2021 at 1:21 PM Christian Ehrhardt wrote: > > On Fri, Feb 12, 2021 at 4:10 PM Dey, Souvik wrote: > > > > From: Souvik Dey > > > > [ upstream commit 493f0bb51c1144eedcff2bba199cab1b64ff9fd0 ] > > Thanks, added > > > > > As the internal MAC table is divided into Unicast and Multica

[dpdk-dev] [PATCH 5/5] table: add wildcard match table type

2021-02-15 Thread Cristian Dumitrescu
Add the widlcard match/ACL table type for the SWX pipeline, which is used under the hood by the table instruction. Signed-off-by: Cristian Dumitrescu Signed-off-by: Churchill Khangar --- doc/api/doxy-api-index.md | 1 + examples/pipeline/obj.c | 8 + lib/librte_table/m

[dpdk-dev] [PATCH 4/5] table: add table entry priority

2021-02-15 Thread Cristian Dumitrescu
Add support for table entry priority, which is required for the wildcard match/ACL table type. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_ctl.c | 27 +++ lib/librte_table/rte_swx_table.h | 9 + 2 files changed, 36 insertions(+) diff --gi

[dpdk-dev] [PATCH 3/5] pipeline: support non-incremental table updates

2021-02-15 Thread Cristian Dumitrescu
Some table types (e.g. exact match/hash) allow for incremental table updates, while others (e.g. wildcard match/ACL) do not. The former is already supported, the latter is enabled by this patch. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_ctl.c | 258 ++

[dpdk-dev] [PATCH 2/5] pipeline: improve table entry parsing

2021-02-15 Thread Cristian Dumitrescu
Improve the table entry parsing: better code structure, enable parsing for the key field masks, allow comments and empty lines in the table entry files. Signed-off-by: Cristian Dumitrescu Signed-off-by: Venkata Suresh Kumar P Signed-off-by: Churchill Khangar --- examples/pipeline/cli.c

[dpdk-dev] [PATCH 1/5] pipeline: improve table entry helpers

2021-02-15 Thread Cristian Dumitrescu
Improve the internal table entry helper routines for key comparison, entry duplication and checks. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_ctl.c | 100 -- 1 file changed, 52 insertions(+), 48 deletions(-) diff --git a/lib/librte_pipeline/rt

Re: [dpdk-dev] [PATCH] usertools/dpdk-telemetry: add file-prefix cmdline argument

2021-02-15 Thread Bruce Richardson
On Mon, Feb 15, 2021 at 03:50:51PM +, Kevin Laatz wrote: > Currently the dpdk-telemetry.py script connects to all running DPDK apps > consecutively. With the addition of this file-prefix argument, we can limit > the amount of information returned providing improved consumability and > precisio

[dpdk-dev] [PATCH] usertools/dpdk-telemetry: add file-prefix cmdline argument

2021-02-15 Thread Kevin Laatz
Currently the dpdk-telemetry.py script connects to all running DPDK apps consecutively. With the addition of this file-prefix argument, we can limit the amount of information returned providing improved consumability and precision to the user. Signed-off-by: Kevin Laatz --- usertools/dpdk-telem

Re: [dpdk-dev] [dpdklab] Re: [dpdk-ci] [CI] SPDK compilation failures @ DPDK community lab

2021-02-15 Thread Aaron Conole
Brandon Lo writes: > Hi Tomek, > > I do not think we have a specific reason for disabling vhost. I can > look into enabling it and get back to you on that. I did a test, but I had to hack up the dockerfile and compile script a bit. I removed the '--without-vhost' (I also modified it to pull dpd

Re: [dpdk-dev] [PATCH 19.11] net/mlx5: fix storing the synched MAC to internal table

2021-02-15 Thread Christian Ehrhardt
On Fri, Feb 12, 2021 at 4:10 PM Dey, Souvik wrote: > > From: Souvik Dey > > [ upstream commit 493f0bb51c1144eedcff2bba199cab1b64ff9fd0 ] Thanks, added > > As the internal MAC table is divided into Unicast and Multicast address > sections, we should check the type of synched MAC address before s

Re: [dpdk-dev] [PATCH DPDK-KMODS v2] linux/igb_uio: add compile instructions

2021-02-15 Thread Burakov, Anatoly
On 15-Feb-21 11:40 AM, Thomas Monjalon wrote: About the title, I think "build" would be more generic than "compile". 24/11/2020 14:26, Anatoly Burakov: Currently, compilation instructions for igb_uio are missing. Add them, as well as a top-level INSTALL file referring users to per-OS subdirecto

[dpdk-dev] [PATCH] net/mlx5: fix wrong segmented packet in Rx

2021-02-15 Thread Jiawei Zhu
Fixed issue could occur when Mbuf starvation happens in a middle of reception of a segmented packet. In such a situation, after release the segments of that packet, it does not align consumer index to the next stride. This would cause receive a wrong segmented packet. Fixes: 15a756b63734 ("net/mlx

Re: [dpdk-dev] [PATCH DPDK-KMODS v2] linux/igb_uio: add compile instructions

2021-02-15 Thread Thomas Monjalon
About the title, I think "build" would be more generic than "compile". 24/11/2020 14:26, Anatoly Burakov: > Currently, compilation instructions for igb_uio are missing. Add them, > as well as a top-level INSTALL file referring users to per-OS > subdirectories. > > Signed-off-by: Anatoly Burakov

Re: [dpdk-dev] [PATCH] dpdk-kmods/windows: Add Intel 40GbE Ethernet adapter device IDs to netuio INF

2021-02-15 Thread Thomas Monjalon
09/02/2021 21:02, Narcisa Ana Maria Vasile: > On Mon, Feb 01, 2021 at 04:49:58PM -0800, Pallavi Kadam wrote: > > Add Intel 40GbE Ethernet adapter device IDs to netuio inf file > > in order to enable them on Windows. > > > > Signed-off-by: Pallavi Kadam > > Reviewed-by: Ranjit Menon > > > Teste

Re: [dpdk-dev] [SPDK] Re: [dpdklab] Re: [dpdk-ci] [CI] SPDK compilation failures @ DPDK community lab

2021-02-15 Thread David Marchand
On Mon, Feb 15, 2021 at 10:56 AM Nick Connolly wrote: > > Rather than maintain dpdk internal dependencies on SPDK side, would it > > be possible to use pkg-config? > Hi David, > > Are the DPDK pkgconfig files intended to work for Windows builds? I cannot find a test linking an example for Windows

Re: [dpdk-dev] [SPDK] Re: [dpdklab] Re: [dpdk-ci] [CI] SPDK compilation failures @ DPDK community lab

2021-02-15 Thread Nick Connolly
Rather than maintain dpdk internal dependencies on SPDK side, would it be possible to use pkg-config? Hi David, Are the DPDK pkgconfig files intended to work for Windows builds? I've had a quick look and as far as I can see the dependencies are listed correctly, but I was less convinced by

Re: [dpdk-dev] [PATCH] version: 21.05-rc0

2021-02-15 Thread David Marchand
On Mon, Feb 15, 2021 at 10:14 AM Thomas Monjalon wrote: > > Start a new release cycle with empty release notes. > > Signed-off-by: Thomas Monjalon Acked-by: David Marchand -- David Marchand

Re: [dpdk-dev] [PATCH v6 8/9] ethdev: representor iterator compare complete info

2021-02-15 Thread Andrew Rybchenko
On 2/14/21 6:21 AM, Xueming Li wrote: > The NIC can have multiple PCIe links and can be attached to multiple > hosts, for example the same single NIC can be shared for multiple server > units in the rack. On each PCIe link NIC can provide multiple PFs and > VFs/SFs based on these ones. The full rep

[dpdk-dev] [PATCH] version: 21.05-rc0

2021-02-15 Thread Thomas Monjalon
Start a new release cycle with empty release notes. Signed-off-by: Thomas Monjalon --- ABI_VERSION| 2 +- VERSION| 2 +- doc/guides/rel_notes/index.rst | 1 + doc/guides/rel_notes/release_21_05.rst | 138 ++

Re: [dpdk-dev] [SPDK] Re: [dpdklab] Re: [dpdk-ci] [CI] SPDK compilation failures @ DPDK community lab

2021-02-15 Thread David Marchand
On Fri, Feb 12, 2021 at 10:18 AM Zawadzki, Tomasz wrote: > On SPDK side rte_net was included in default compilation with vhost > component, but since vhost is disabled in the UNH lab tests with SPDK it > showed up as missing. A fix for that is now submitted to SPDK: > https://review.spdk.io/gerr

Re: [dpdk-dev] [PATCH v6 7/9] ethdev: new API to get representor info

2021-02-15 Thread Andrew Rybchenko
On 2/14/21 6:21 AM, Xueming Li wrote: > The NIC can have multiple PCIe links and can be attached to multiple > hosts, for example the same single NIC can be shared for multiple server > units in the rack. On each PCIe link NIC can provide multiple PFs and > VFs/SFs based on these ones. The full rep

Re: [dpdk-dev] [PATCH v6 6/9] ethdev: support multi-host in representor

2021-02-15 Thread Andrew Rybchenko
On 2/14/21 6:21 AM, Xueming Li wrote: > The NIC can have multiple PCIe links and can be attached to the multiple > hosts, for example the same single NIC can be shared for multiple server > units in the rack. On each PCIe link NIC can provide multiple PFs and > VFs/SFs based on these ones. To provi

Re: [dpdk-dev] [PATCH v6 5/9] ethdev: support PF index in representor

2021-02-15 Thread Andrew Rybchenko
On 2/14/21 6:21 AM, Xueming Li wrote: > With Kernel bonding, multiple underlying PFs are bonded, VFs come > from different PF, need to identify representor of VFs unambiguously by > adding PF index. > > This patch introduces optional 'pf' section to representor devargs > syntax, examples: > repre

Re: [dpdk-dev] [PATCH v6 5/9] ethdev: support PF index in representor

2021-02-15 Thread Andrew Rybchenko
On 2/14/21 6:21 AM, Xueming Li wrote: > With Kernel bonding, multiple underlying PFs are bonded, VFs come > from different PF, need to identify representor of VFs unambiguously by > adding PF index. > > This patch introduces optional 'pf' section to representor devargs > syntax, examples: > repre

Re: [dpdk-dev] Error building documentation

2021-02-15 Thread David Marchand
On Mon, Feb 8, 2021 at 2:44 PM Murrell, Brian wrote: > > When I add "-Denable_docs=true" to my DPDK 20.11 build commandline I > get a build error: > > FAILED: doc/guides/html > /usr/bin/python3.6 ../buildtools/call-sphinx-build.py /bin/sphinx-build > 20.11.0 /home/brian/daos/rpm/dpdk/_topdir/BUILD

Re: [dpdk-dev] [PATCH v6 4/9] ethdev: support sub function representor

2021-02-15 Thread Andrew Rybchenko
Hi, On 2/14/21 6:21 AM, Xueming Li wrote: > SubFunction is a portion of the PCI device, created on demand, a SF > netdev has its own dedicated queues(txq, rxq). A SF netdev supports > eswitch representation offload similar to existing PF and VF > representors. > > To support SF representor, this

Re: [dpdk-dev] [PATCH v6 2/9] ethdev: support representor port list

2021-02-15 Thread Andrew Rybchenko
On 2/14/21 6:21 AM, Xueming Li wrote: > To support extended representor syntax, this patch extends the > representor list parsing to support for representor port range in > devargs, examples: >representor=[1,2,3] - single list >representor=[1,3-5,7,9-11] - list with singles and ran