> 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
> >>
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
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
* 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 +++-
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_
Acked-by: Hemant Agrawal
+ 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
Acked-by: Hemant Agrawal
Acked-by: 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
> -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
> -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,
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.
*
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
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
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
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
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
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
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
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_
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
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
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
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
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/
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
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 ---
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 |
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
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 +++---
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
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
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
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
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
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(
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
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
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
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 |
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
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 ++--
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
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 +++
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
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
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
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,
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
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
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
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 +++-
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
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
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
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
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
> -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
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
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
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
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
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 +++
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 +++
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
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
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.
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
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
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
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
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
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/
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
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
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 +++
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
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
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
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
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
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
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
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_
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
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
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 |
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
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
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 +++
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 ++
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
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/
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
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
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
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
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_
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 - 100 of 228 matches
Mail list logo