Re: [dpdk-dev] [PATCH v9 00/24] ethdev: allow unknown link speed

2020-09-07 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ivan Dyukov > Sent: Tuesday, September 8, 2020 8:16 AM > > Hi Ferruh, Morten, > > 07.09.2020 18:29, Morten Brørup пишет: > >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > >> Sent: Monday, September 7, 2020 3:25 PM > >>

Re: [dpdk-dev] [PATCH v2] app/testpmd: fix name of bitrate library in meson build

2020-09-07 Thread Ling, WeiX
Tested-by: Ling Wei Regards, Ling Wei -Original Message- From: dev On Behalf Of Jiang, YuX Sent: Tuesday, September 8, 2020 01:35 PM To: Richardson, Bruce ; dev@dpdk.org Cc: Richardson, Bruce ; sta...@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: fix name of bitrate library in

Re: [dpdk-dev] [PATCH v9 00/24] ethdev: allow unknown link speed

2020-09-07 Thread Ivan Dyukov
Hi Ferruh, Morten, 07.09.2020 18:29, Morten Brørup пишет: >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit >> Sent: Monday, September 7, 2020 3:25 PM >> >> On 8/11/2020 9:52 AM, Ivan Dyukov wrote: >> >> <...> >> >>> v9 changes: >>> * remove rte_eth_link_printf function >>> * ad

[dpdk-dev] [PATCH] app/test-flow-perf: configurable rule batches

2020-09-07 Thread Georgios Katsikas
* One can now configure the number of rules per batch * Refactored flow_count variable to rules_count as it is related to the newly added rules_batch variable * Added default values to usage function Signed-off-by: Georgios Katsikas --- app/test-flow-perf/main.c | 87 +++-

[dpdk-dev] [PATCH v3] mempool: enhance dump function to print ops name

2020-09-07 Thread Hemant Agrawal
Enhance the dump function to also print the ops index and associated mempool ops name Signed-off-by: Hemant Agrawal Acked-by: Andrew Rybchenko --- lib/librte_mempool/rte_mempool.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_

Re: [dpdk-dev] [PATCH v3 3/3] bus/fslmc: support bus close API

2020-09-07 Thread Hemant Agrawal (OSS)
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2] app/testpmd: fix name of bitrate library in meson build

2020-09-07 Thread Jiang, YuX
+ weix.l...@intel.com -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson Sent: Thursday, September 3, 2020 12:24 AM To: dev@dpdk.org Cc: Richardson, Bruce ; sta...@dpdk.org Subject: [dpdk-dev] [PATCH v2] app/testpmd: fix name of bitrate library in mes

Re: [dpdk-dev] [PATCH v2 2/3] examples/multi_process: cleanup bus objects while terminating app

2020-09-07 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v3 2/3] examples/multi_process: cleanup bus objects while terminating app

2020-09-07 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v3 1/3] eal: add API for bus close

2020-09-07 Thread Hemant Agrawal
-Original Message- > From: dev On Behalf Of rohit@nxp.com > Sent: Wednesday, August 26, 2020 11:23 AM > To: Ray Kinsella ; Neil Horman > Cc: dev@dpdk.org; Rohit Raj > Subject: [dpdk-dev] [PATCH v3 1/3] eal: add API for bus close > > From: Rohit Raj > > As per the current code we

Re: [dpdk-dev] [PATCH v4] raw/ntb: add Ice Lake support for Intel NTB

2020-09-07 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Tuesday, September 8, 2020 11:28 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Maslekar, Omkar ; Li, > Xiaoyun > Subject: [PATCH v4] raw/ntb: add Ice Lake support for Intel NTB > > Add NTB device support (4th generation) for Intel Ice Lake

Re: [dpdk-dev] [PATCH] net/ice/base: fix wrong outer ipv6 ptype table

2020-09-07 Thread Guo, Jia
> -Original Message- > From: dev On Behalf Of Qi Zhang > Sent: Sunday, September 6, 2020 9:02 PM > To: Yang, Qiming > Cc: Xu, Ting ; dev@dpdk.org; Zhang, Qi Z > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/ice/base: fix wrong outer ipv6 ptype table > > ptype 264, 265, 266, 267,

[dpdk-dev] [PATCH v4] raw/ntb: add Ice Lake support for Intel NTB

2020-09-07 Thread Xiaoyun Li
Add NTB device support (4th generation) for Intel Ice Lake platform. Signed-off-by: Xiaoyun Li --- v4: * Removed unnecessary return. * Added more print log. * Replaced "Icelake" with "Ice Lake". v3: * Removed a blank line. * Added change doc for v2. v2: * Corrected and polished the doc. *

[dpdk-dev] [PATCH v2] net/ixgbe: fix vf reset hw error handling

2020-09-07 Thread SteveX Yang
The PF control message will interrupt the assigning MAC address for VF when PF physical link down, and the VF reset operation returns the IXGBE_ERR_INVALID_MAC_ADDR. In this case, reuse the MAC address when device initialization insteads of waiting PF reassign. Fixes: f69166c9a3c9 ("net/ixgbe: fix

[dpdk-dev] [PATCH v2] net/ice: fix flow validation for unsupported patterns

2020-09-07 Thread Guinan Sun
When loading the OS default package and the pipeline mode is enabled by the "pipeline-mode-support=1" operation. In this case, the wrong parser is selected for processing and it will cause the unsupported patterns(pppoes/pfcp/l2tpv3/esp/ah) to be validated successfully. This patch corrects the pars

Re: [dpdk-dev] [PATCH v4 01/11] drivers/baseband: add PMD for ACC100

2020-09-07 Thread Liu, Tianjiao
Acked-by: Liu Tianjiao -Original Message- From: Chautru, Nicolas Sent: Saturday, September 5, 2020 1:54 AM To: dev@dpdk.org; akhil.go...@nxp.com Cc: Richardson, Bruce ; Xu, Rosen ; dave.bur...@accelercomm.com; aidan.godd...@accelercomm.com; Yigit, Ferruh ; Liu, Tianjiao ; Chautru, Ni

[dpdk-dev] [PATCH 1/3] ethdev: introduce FEC API

2020-09-07 Thread Min Hu (Connor)
This patch adds Forward error correction(FEC) support for ethdev. Introduce APIs which support query and config FEC information in hardware. Signed-off-by: Min Hu (Connor) Reviewed-by: Wei Hu (Xavier) Reviewed-by: Chengwen Feng Reviewed-by: Chengchang Tang --- lib/librte_ethdev/rte_ethdev.c

[dpdk-dev] [PATCH 3/3] app/testpmd: add FEC command

2020-09-07 Thread Min Hu (Connor)
This commit adds testpmd capability to query and config FEC function of device. This includes: - show FEC capabilities, example: testpmd> show port 0 fec capabilities - show FEC mode, example: testpmd> show port 0 fec_mode - config FEC mode, example: testpmd> set port 0

[dpdk-dev] [PATCH 2/3] net/hns3: support FEC

2020-09-07 Thread Min Hu (Connor)
Forward error correction (FEC) is a bit error correction mode. It adds error correction information to data packets at the transmit end, and uses the error correction information to correct the bit errors generated during data packet transmission at the receive end. This improves signal quality but

[dpdk-dev] [PATCH 0/3] add FEC support

2020-09-07 Thread Min Hu (Connor)
This series add FEC support for ethdev. Min Hu (Connor) (3): ethdev: introduce FEC API net/hns3: support FEC app/testpmd: add FEC command app/test-pmd/cmdline.c | 206 +++ app/test-pmd/config.c| 54 app/test-pmd/te

[dpdk-dev] [PATCH 1/2] app/testpmd: update Rx RSS HASH offload when setting MQ RSS

2020-09-07 Thread Wei Hu (Xavier)
From: Huisong Li Currently, when starting testpmd application without '--disable-rss' and the number of Rx queue configured is greater than 1, ETH_MQ_RX_RSS flag is set in port->dev_conf.rxmode.mq_mode in testpmd application, and DEV_RX_OFFLOAD_RSS_HASH flag is set in rx_offloads (dev->data->dev_

[dpdk-dev] [PATCH 2/2] app/testpmd: retain original FDIR mode when configuring DCB

2020-09-07 Thread Wei Hu (Xavier)
From: Huisong Li Sometimes, we have to start testpmd application with --pkt-filter-mode to test flow table feature. When using 'port config 0 dcb vt off 4 pfc on' command, the dcb information are configured in init_port_dcb_config function by get_eth_dcb_conf function, And then rte_eth_dev_config

[dpdk-dev] [PATCH 0/2] updates for testpmd

2020-09-07 Thread Wei Hu (Xavier)
This series are minor updates for testpmd application. Huisong Li (2): app/testpmd: update Rx RSS HASH offload when setting MQ RSS app/testpmd: retain original FDIR mode when configuring DCB app/test-pmd/testpmd.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.9.5

Re: [dpdk-dev] [PATCH v4 1/2] gro: add UDP GRO support

2020-09-07 Thread Jiayu Hu
Some comments are inline. Thanks, Jiayu On Fri, Sep 04, 2020 at 04:37:39PM +0800, yang_y...@163.com wrote: > From: Yi Yang > > UDP GRO can help improve VM-to-VM UDP performance when > VM is enabled UFO or GSO, GRO must be supported if GSO > or UFO is enabled, otherwise, performance gain will be

Re: [dpdk-dev] [PATCH v3] raw/ntb: add Icelake support for Intel NTB

2020-09-07 Thread Li, Xiaoyun
Hi > -Original Message- > From: Wu, Jingjing > Sent: Tuesday, September 8, 2020 00:16 > To: Li, Xiaoyun > Cc: dev@dpdk.org; Maslekar, Omkar > Subject: RE: [PATCH v3] raw/ntb: add Icelake support for Intel NTB > > > > > - rte_write64(limit, limit_addr); > > > > + if (is_gen3

Re: [dpdk-dev] [PATCH] kernel: remove igb_uio

2020-09-07 Thread Thomas Monjalon
On Tue Sep 8, 2020 at 2:50 AM CEST, Thomas Monjalon wrote: > As decided in the Technical Board in November 2019, > the kernel module igb_uio is moved to the dpdk-kmods repository > in the /linux/igb_uio/ directory. The code is moved with its git history in http://git.dpdk.org/dpdk-kmods/

[dpdk-dev] [PATCH] kernel: remove igb_uio

2020-09-07 Thread Thomas Monjalon
As decided in the Technical Board in November 2019, the kernel module igb_uio is moved to the dpdk-kmods repository in the /linux/igb_uio/ directory. Minutes of Technical Board meeting: https://mails.dpdk.org/archives/dev/2019-November/151763.html Signed-off-by: Thomas Monjalon --- MAINTAINERS

[dpdk-dev] [PATCH v4 28/31] doc: remove references to make from rawdevs guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- doc/guides/rawdevs/dpaa2_cmdif.rst | 21 - doc/guides/rawdevs/dpaa2_qdma.rst| 21 ---

[dpdk-dev] [PATCH v4 31/31] doc: remove references to make from contributing guide

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Signed-off-by: Louise Kilheeney --- doc/guides/contributing/design.rst| 127 ++ doc/guides/contributing/documentation.rst |

[dpdk-dev] [PATCH v4 29/31] doc: remove references to make from app guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Acked-by: Nicolas Chautru --- doc/guides/sample_app_ug/bbdev_app.rst| 34 ++- doc/guides/sample_app_ug/cmd_line.rst | 2 +- doc/gu

[dpdk-dev] [PATCH v4 30/31] doc: remove reference to make from tools guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz Acked-by: Nicolas Chautru --- doc/guides/tools/comp_perf.rst| 10 ++--- doc/guides/tools/cryptoperf.rst | 20 +++---

[dpdk-dev] [PATCH v4 26/31] doc: remove references to make from compressdevs guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- doc/guides/compressdevs/isal.rst | 4 doc/guides/compressdevs/octeontx.rst | 24 ++-- doc/gu

[dpdk-dev] [PATCH v4 27/31] doc: remove references to make from eventdevs guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- doc/guides/eventdevs/dpaa.rst | 20 doc/guides/eventdevs/dpaa2.rst | 20

[dpdk-dev] [PATCH v4 25/31] doc: remove references to make from cryptodevs guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- doc/guides/cryptodevs/aesni_gcm.rst | 4 +- doc/guides/cryptodevs/aesni_mb.rst | 4 +- doc/guides/cryptodevs/armv8.rst

[dpdk-dev] [PATCH v4 23/31] doc: remove references to make from vdpadevs guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/vdpadevs/ifc.rst | 13 doc/guides/vdpadevs/mlx5.rst | 40 +++- 2 files changed, 3 insertion

[dpdk-dev] [PATCH v4 24/31] doc: remove references to make from bbdevs guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 7 ++- doc/guides/bbdevs/fpga_lte_fec.rst | 7 ++- doc/guides/bbdevs/turb

[dpdk-dev] [PATCH v4 21/31] doc: remove references to make from mempool guide

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/mempool/octeontx.rst | 28 +++- doc/guides/mempool/octeontx2.rst | 10 +- 2 files changed, 4 insertions(

[dpdk-dev] [PATCH v4 20/31] doc: remove references to make from platforms guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/platform/bluefield.rst | 22 - doc/guides/platform/octeontx.rst | 33 +-- doc/guides/pla

[dpdk-dev] [PATCH v4 22/31] doc: remove references to make from NICs guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Bruce Richardson --- doc/guides/nics/ark.rst| 26 - doc/guides/nics/atlantic.rst | 4 -- doc/guides/nics/ax

[dpdk-dev] [PATCH v4 18/31] doc: remove references to make from howto guides

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/howto/lm_bond_virtio_sriov.rst | 4 +-- doc/guides/howto/lm_virtio_vhost_user.rst | 4 +-- doc/guides/howto/packet_capture_fram

[dpdk-dev] [PATCH v4 19/31] doc: remove references to make from prog guide

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- doc/guides/prog_guide/env_abstraction_layer.rst | 17 ++--- doc/guides/prog_guide/graph_lib.rst |

[dpdk-dev] [PATCH v4 14/31] devtools: remove legacy flags from includes check

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported, the test script for make builds is no longer required. Uses of make in other tool scripts are replaced. Signed-off-by: Ciara Power --- devtools/check-includes.sh | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/devto

[dpdk-dev] [PATCH v4 15/31] app: remove references to make-based config

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported, RTE_SDK, RTE_TARGET and CONFIG options are no longer in use. Signed-off-by: Ciara Power --- app/test-bbdev/test-bbdev.py | 11 + app/test/test_cryptodev.c | 89 +- app/test/test_cryptodev_asym.c | 18 ++--

[dpdk-dev] [PATCH v4 17/31] doc: remove references to make from FreeBSD guide

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Acked-by: Bruce Richardson --- doc/guides/freebsd_gsg/build_dpdk.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/fre

[dpdk-dev] [PATCH v4 16/31] doc: remove references to make from Linux guide

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Bruce Richardson --- doc/guides/linux_gsg/build_dpdk.rst| 16 +++- doc/guides/linux_gsg/build_sample_apps.rst | 18 +++

[dpdk-dev] [PATCH v4 13/31] config: remove default configs used with make

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is not supported for compiling DPDK, the config files are no longer needed. Signed-off-by: Ciara Power --- MAINTAINERS | 10 +- config/common_armv8a_linux| 43 - config/common_base| 115

[dpdk-dev] [PATCH v4 12/31] buildtools: remove scripts used only with make

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Make is no longer supported for compiling DPDK, scripts used with make are no longer needed. Signed-off-by: Ciara Power --- MAINTAINERS | 4 -- buildtools/auto-config-h.sh | 108 buildtools/gen-build-mk.sh | 23

[dpdk-dev] [PATCH v4 09/31] examples: remove old build system references

2020-09-07 Thread Thomas Monjalon
From: Ciara Power Remove the references to RTE_SDK and RTE_TARGET environment variables from the build instructions in the comments of the various BPF files, and in the ipsec-secgw common definition script. Signed-off-by: Ciara Power Signed-off-by: Bruce Richardson --- examples/bpf/t2.c

[dpdk-dev] [PATCH v4 07/31] examples/vm_power: convert to pkg-config-based build

2020-09-07 Thread Thomas Monjalon
From: Bruce Richardson Convert the makefiles to build using pkg-config rather than the old build system. Signed-off-by: Bruce Richardson --- examples/vm_power_manager/Makefile | 76 ++-- examples/vm_power_manager/guest_cli/Makefile | 50 - 2 files changed,

[dpdk-dev] [PATCH v4 06/31] examples/multi_process: convert to pkg-config-based build

2020-09-07 Thread Thomas Monjalon
From: Bruce Richardson Remove references to the old make build system and use pkg-config for building these examples. Signed-off-by: Bruce Richardson --- examples/multi_process/Makefile | 21 ++-- .../multi_process/client_server_mp/Makefile | 19 ++- .../client_server_m

[dpdk-dev] [PATCH v4 10/31] build: create dummy Makefile

2020-09-07 Thread Thomas Monjalon
From: Bruce Richardson This patch modifies the root Makefile to act as a dummy Makefile for when the make support is removed from DPDK in subsequent patches. Signed-off-by: Bruce Richardson --- Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makef

[dpdk-dev] [PATCH v4 05/31] examples/performance-thread: convert to pkg-config-based build

2020-09-07 Thread Thomas Monjalon
From: Kevin Laatz Remove references to the old make build system and use pkg-config for building these examples. Signed-off-by: Kevin Laatz --- examples/performance-thread/Makefile | 21 +++ examples/performance-thread/common/common.mk | 6 +- .../performance-thread/l3fwd-thread

[dpdk-dev] [PATCH v4 08/31] examples/ethtool: convert to pkg-config-based build

2020-09-07 Thread Thomas Monjalon
From: Bruce Richardson Remove references to the old DPDK build system from the makefiles, and use pkg-config provided flags instead. Signed-off-by: Bruce Richardson --- examples/ethtool/Makefile | 26 +++ examples/ethtool/ethtool-app/Makefile | 56 +++-

[dpdk-dev] [PATCH v4 04/31] examples/server_node_efd: convert to pkg-config-based build

2020-09-07 Thread Thomas Monjalon
From: Kevin Laatz Remove references to the old make build system and use pkg-config for building these examples. Signed-off-by: Kevin Laatz --- examples/server_node_efd/Makefile| 18 +++- examples/server_node_efd/node/Makefile | 46 ++-- examples/server_node_efd/s

[dpdk-dev] [PATCH v4 02/31] examples: remove legacy sections of makefiles

2020-09-07 Thread Thomas Monjalon
From: Ciara Power The example app makefiles contained sections using the legacy method of compiling with make. These are no longer needed, and are removed, leaving only the section that uses pkg-config for the make build. Signed-off-by: Ciara Power Acked-by: Nicolas Chautru --- examples/bbdev

[dpdk-dev] [PATCH v4 00/31] remove make support in DPDK

2020-09-07 Thread Thomas Monjalon
The first 13 commits of this series are pushed to the main branch, making the make-based build an old story. The last 18 commits (devtools, app and doc) are pending for more reviews, especially because the doc rework is still in progress. This is a big change which requires to be split but must be

[dpdk-dev] [PATCH v4 01/31] doc: build without using make

2020-09-07 Thread Thomas Monjalon
From: Bruce Richardson When building the DPDK guide documents, the DPDK version information was pulled using "make showversion", which meant there was a dependency on the DPDK make-based build system. Change this to have the version info passed in from meson itself. Signed-off-by: Bruce Richards

[dpdk-dev] [PATCH v4 03/31] examples/ka-agent: convert to pkg-config-based build

2020-09-07 Thread Thomas Monjalon
From: Kevin Laatz Remove references to the old make build system and use pkg-config for building these examples. Signed-off-by: Kevin Laatz --- examples/l2fwd-keepalive/ka-agent/Makefile | 51 -- 1 file changed, 37 insertions(+), 14 deletions(-) diff --git a/examples/l2fwd

Re: [dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN encap example

2020-09-07 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, August 26, 2020 6:05 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN encap > example > > On Wed, 26 Aug 2020 16:14:45 +0100 > Cristian Dumitrescu wr

[dpdk-dev] [PATCH v2 41/41] examples/pipeline: add VXLAN encapsulation example

2020-09-07 Thread Cristian Dumitrescu
Add VXLAN encapsulation example to the SWX pipeline application. The VXLAN tunnels can be generated with the vxlan_table.py script. Example command line: ./build/pipeline -l0-1 -- -s ./examples/vxlan.cli Signed-off-by: Cristian Dumitrescu --- examples/pipeline/examples/vxlan.cli | 27

[dpdk-dev] [PATCH v2 40/41] examples/pipeline: add l2fwd with MAC swap example

2020-09-07 Thread Cristian Dumitrescu
Add L2 Forwarding example with MAC destination and source address swap to the SWX pipeline application. Example command line: ./build/pipeline -l0-1 -- -s ./examples/l2fwd_macswp.cli Signed-off-by: Cristian Dumitrescu --- examples/pipeline/examples/l2fwd_macswp.cli | 25 examples/pipe

[dpdk-dev] [PATCH v2 39/41] examples/pipeline: add l2fwd example

2020-09-07 Thread Cristian Dumitrescu
Add L2 Forwarding example to the SWX pipeline application. Example command line: ./build/pipeline -l0-1 -- -s ./examples/l2fwd.cli Signed-off-by: Cristian Dumitrescu --- examples/pipeline/examples/l2fwd.cli | 25 ++ examples/pipeline/examples/l2fwd.spec | 42 + examples/pi

[dpdk-dev] [PATCH v2 38/41] examples/pipeline: add configuration commands

2020-09-07 Thread Cristian Dumitrescu
Add CLI commands for application configuration and query. Signed-off-by: Cristian Dumitrescu --- examples/pipeline/Makefile|1 + examples/pipeline/cli.c | 1400 + examples/pipeline/cli.h | 19 + examples/pipeline/main.c | 11 +- exampl

[dpdk-dev] [PATCH v2 37/41] examples/pipeline: add message passing mechanism

2020-09-07 Thread Cristian Dumitrescu
Add network-based connectivity mechanism for the application to allow for the exchange of configuration messages through the network as opposed to local CLI only. Signed-off-by: Cristian Dumitrescu --- examples/pipeline/Makefile| 1 + examples/pipeline/conn.c | 331 +++

[dpdk-dev] [PATCH v2 35/41] table: add exact match SWX table

2020-09-07 Thread Cristian Dumitrescu
Add the exact match table type for the SWX pipeline. Used under the hood by the SWX pipeline table instruction. Signed-off-by: Cristian Dumitrescu --- lib/librte_table/Makefile | 2 + lib/librte_table/meson.build | 6 +- lib/librte_table/rte_swx_table_em.c| 851 +++

[dpdk-dev] [PATCH v2 36/41] examples/pipeline: add new example application

2020-09-07 Thread Cristian Dumitrescu
Add new example application to showcase the API of the newly introduced SWX pipeline type. Signed-off-by: Cristian Dumitrescu --- examples/Makefile | 1 + examples/meson.build | 1 + examples/pipeline/Makefile| 80 + examples/pipeline/main.c | 52 exa

[dpdk-dev] [PATCH v2 34/41] port: add source and sink SWX ports

2020-09-07 Thread Cristian Dumitrescu
Add the PCAP file-based source (input) and sink (output) port types for the SWX pipeline. The sink port is typically used to implement the packet drop pipeline action. Used under the hood by the pipeline rx and tx instructions. Signed-off-by: Cristian Dumitrescu --- lib/librte_port/Makefile

[dpdk-dev] [PATCH v2 33/41] port: add ethernet device SWX port

2020-09-07 Thread Cristian Dumitrescu
Add the Ethernet device input/output port type for the SWX pipeline. Used under the hood by the pipeline rx and tx instructions. Signed-off-by: Cristian Dumitrescu --- lib/librte_port/Makefile | 2 + lib/librte_port/meson.build | 6 +- lib/librte_port/rte_port_version.

[dpdk-dev] [PATCH v2 31/41] pipeline: add SWX table update high level API

2020-09-07 Thread Cristian Dumitrescu
High-level transaction-oriented API for SWX pipeline table updates. It supports multi-table atomic updates, i.e. multiple tables can be updated in a single step with only the before and after table set visible to the packets. Uses the lower-level table update mechanisms. Signed-off-by: Cristian Du

[dpdk-dev] [PATCH v2 32/41] pipeline: add SWX pipeline specification file

2020-09-07 Thread Cristian Dumitrescu
Add support for building the SWX pipeline based on specification file with syntax aligned to the P4 language. The specification file may be generated by the P4C compiler in the future. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/Makefile |1 + lib/librte_pipeli

[dpdk-dev] [PATCH v2 30/41] pipeline: add SWX pipeline flush

2020-09-07 Thread Cristian Dumitrescu
Flush the packets currently buffered by the SWX pipeline output ports. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_pipeline_version.map | 1 + lib/librte_pipeline/rte_swx_pipeline.c | 13 + lib/librte_pipeline/rte_swx_pipeline.h | 12 3 fi

[dpdk-dev] [PATCH v2 29/41] pipeline: add SWX pipeline query API

2020-09-07 Thread Cristian Dumitrescu
Query API to be used by the control plane to detect the configuration and state of the SWX pipeline and its internal objects. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_pipeline_version.map | 10 + lib/librte_pipeline/rte_swx_ctl.h| 313 +++ lib/l

[dpdk-dev] [PATCH v2 28/41] pipeline: add SWX instruction optimizer

2020-09-07 Thread Cristian Dumitrescu
Instruction optimizer. Detects frequent patterns and replaces them with some more powerful vector-like pipeline instructions without any user effort. Executes at instruction translation, not at run-time. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 226

[dpdk-dev] [PATCH v2 27/41] pipeline: add SWX instruction verifier

2020-09-07 Thread Cristian Dumitrescu
Instruction verifier. Executes at instruction translation time during SWX pipeline build, i.e. at initialization instead of run-time. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 51 ++ 1 file changed, 51 insertions(+) diff --git a/lib/

[dpdk-dev] [PATCH v2 26/41] pipeline: add SWX instruction description

2020-09-07 Thread Cristian Dumitrescu
Added SWX instruction set reference table. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.h | 109 + 1 file changed, 109 insertions(+) diff --git a/lib/librte_pipeline/rte_swx_pipeline.h b/lib/librte_pipeline/rte_swx_pipeline.h index fb83a88

[dpdk-dev] [PATCH v2 22/41] pipeline: introduce SWX shr instruction

2020-09-07 Thread Cristian Dumitrescu
The shr (i.e. shift right) instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipel

[dpdk-dev] [PATCH v2 23/41] pipeline: introduce SWX table instruction

2020-09-07 Thread Cristian Dumitrescu
The table instruction looks up the input key into the table and then it triggers the execution of the action found in the table entry. On lookup miss, the default table action is executed. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 100 +++

[dpdk-dev] [PATCH v2 25/41] pipeline: introduce SWX jmp and return instructions

2020-09-07 Thread Cristian Dumitrescu
The jump instructions are either unconditional (jmp) or conditional on positive/negative tests such as header validity (jmpv/jmpnv), table lookup hit/miss (jmph/jmpnh), executed action (jmpa/jmpna), equality (jmpeq/jmpneq), comparison result (jmplt/jmpgt). The return instruction resumes the pipelin

[dpdk-dev] [PATCH v2 24/41] pipeline: introduce SWX extern instruction

2020-09-07 Thread Cristian Dumitrescu
The extern instruction calls one of the member functions of a given extern object or it calls the given extern function. The function arguments must be written in advance in the maibox. The results are available in the same place after execution. Signed-off-by: Cristian Dumitrescu --- lib/librte

[dpdk-dev] [PATCH v2 17/41] pipeline: introduce SWX cksub instruction

2020-09-07 Thread Cristian Dumitrescu
The cksub (i.e. checksum subtract) instruction is used to update the 1's complement sum commonly used by protocols such as IPv4, TCP or UDP. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 116 + 1 file changed, 116 insertions(+) diff --gi

[dpdk-dev] [PATCH v2 16/41] pipeline: introduce SWX ckadd instruction

2020-09-07 Thread Cristian Dumitrescu
The ckadd (i.e. checksum add) instruction is used to either compute, verify or update the 1's complement sum commonly used by protocols such as IPv4, TCP or UDP. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 230 + 1 file changed, 230 ins

[dpdk-dev] [PATCH v2 21/41] pipeline: introduce SWX shl instruction

2020-09-07 Thread Cristian Dumitrescu
The shl (i.e. shift left) instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeli

[dpdk-dev] [PATCH v2 19/41] pipeline: introduce SWX or instruction

2020-09-07 Thread Cristian Dumitrescu
The or (i.e. bitwise or) instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipelin

[dpdk-dev] [PATCH v2 18/41] pipeline: introduce SWX and instruction

2020-09-07 Thread Cristian Dumitrescu
The and (i.e. bitwise and) instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipel

[dpdk-dev] [PATCH v2 20/41] pipeline: introduce SWX xor instruction

2020-09-07 Thread Cristian Dumitrescu
The xor (i.e. bitwise exclusive or) instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_

[dpdk-dev] [PATCH v2 15/41] pipeline: introduce SWX sub instruction

2020-09-07 Thread Cristian Dumitrescu
The sub (i.e. subtract) instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline

[dpdk-dev] [PATCH v2 10/41] pipeline: add SWX tx and emit instructions

2020-09-07 Thread Cristian Dumitrescu
Add header emit and packet transmission instructions. Emit adds to the output packet a header that is either generated (e.g. read from table entry by action) or extracted from the input packet. TX ends the pipeline processing; discard is implemented by tx to special port. Signed-off-by: Cristian D

[dpdk-dev] [PATCH v2 12/41] pipeline: add SWX mov instruction

2020-09-07 Thread Cristian Dumitrescu
The mov (i.e. move) instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c |

[dpdk-dev] [PATCH v2 08/41] pipeline: add SWX pipeline instructions

2020-09-07 Thread Cristian Dumitrescu
The SWX pipeline instructions represent the main program that defines the life of the packet. As packets go through tables that trigger action subroutines, the headers and meta-data get transformed along the way. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_pipeline_version.map

[dpdk-dev] [PATCH v2 11/41] pipeline: add header validate and invalidate SWX instructions

2020-09-07 Thread Cristian Dumitrescu
Add instructions to flag a header as valid or invalid. This flag can be tested by the jmpv (jump if header valid) and jmpnv (jump if header not valid) instructions. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 108 + 1 file changed, 108

[dpdk-dev] [PATCH v2 14/41] pipeline: introduce SWX add instruction

2020-09-07 Thread Cristian Dumitrescu
The add instruction source can be header field (H), meta-data field (M), extern object (E) or function (F) mailbox field, table entry action data field (T) or immediate value (I). The destination is HMEF. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 302 +++

[dpdk-dev] [PATCH v2 13/41] pipeline: add SWX dma instruction

2020-09-07 Thread Cristian Dumitrescu
The DMA instruction handles the bulk read transfer of one header from the table entry action data. Typically used to generate headers, i.e. headers that are not extracted from the input packet. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 207 ++

[dpdk-dev] [PATCH v2 09/41] pipeline: add SWX rx and extract instructions

2020-09-07 Thread Cristian Dumitrescu
Add packet reception and header extraction instructions. The RX must be the first pipeline instruction. Each extracted header is logically removed from the packet, then it can be read/written by instructions, emitted into the outgoing packet or discarded. Signed-off-by: Cristian Dumitrescu --- l

[dpdk-dev] [PATCH v2 06/41] pipeline: add SWX pipeline action

2020-09-07 Thread Cristian Dumitrescu
Add SWX actions that are dynamically-defined through instructions as opposed to pre-defined. The actions are subroutines of the pipeline program that triggered by table lookup. The input arguments are the action data from the table entry (format defined by struct), the headers and meta-data are in/

[dpdk-dev] [PATCH v2 03/41] pipeline: add SWX pipeline output port

2020-09-07 Thread Cristian Dumitrescu
Add output ports to the newly introduced SWX pipeline type. Each port instantiates a port type that defines the port operations, e.g. ethdev port, PCAP port, etc. The TX interface is single packet, with packet batching internally for performance. Signed-off-by: Cristian Dumitrescu --- lib/librte

[dpdk-dev] [PATCH v2 07/41] pipeline: add SWX pipeline tables

2020-09-07 Thread Cristian Dumitrescu
Add tables to the SWX pipeline. The match fields are flexibly selected from the headers and meta-data. The set of table actions is flexibly selected for each table from the set of pipeline actions. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/Makefile | 1 + lib/l

[dpdk-dev] [PATCH v2 04/41] pipeline: add SWX headers and meta-data

2020-09-07 Thread Cristian Dumitrescu
Add support for dynamically-defined packet headers and meta-data to the SWX pipeline. The header and meta-data format are defined by the struct type they instantiate. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_pipeline_version.map | 3 + lib/librte_pipeline/rte_swx_pipeline

[dpdk-dev] [PATCH v2 05/41] pipeline: add SWX extern objects and funcs

2020-09-07 Thread Cristian Dumitrescu
Add extern objects and functions to plug into the SWX pipeline any functionality that cannot be efficiently implemented with existing instructions, e.g. special checksum/ECC, crypto, meters, stats arrays, heuristics, etc. In/out arguments are passed through mailbox with format defined by struct. S

[dpdk-dev] [PATCH v2 02/41] pipeline: add SWX pipeline input port

2020-09-07 Thread Cristian Dumitrescu
Add input ports to the newly introduced SWX pipeline type. Each port instantiates a port type that defines the port operations, e.g. ethdev port, PCAP port, etc. The RX interface is single packet, with packet batching internally for performance. Signed-off-by: Cristian Dumitrescu --- lib/librte_

[dpdk-dev] [PATCH v2 00/41] Pipeline alignment with the P4 language

2020-09-07 Thread Cristian Dumitrescu
This patch set introduces a new pipeline type that combines the DPDK performance with the flexibility of the P4-16 language[1]. The new API can be used either by itself to code a complete software switch (SWX) or data plane app, or in combination with the open-source P4 compiler P4C [2], potentiall

  1   2   3   >