Add a field named rx_buf_size in rte_eth_rxq_info to indicate the buffer
size used in receiving packets for HW.
In this way, upper-layer users can get this information by calling
rte_eth_rx_queue_info_get.
Signed-off-by: Chengchang Tang
Acked-by: Andrew Rybchenko
---
v1 -> v2: fix wrong headlin
In common practice, PMD configure the Rx buffer size which indicate the
buffer length could be used for HW in receiving packets according to the
data room size of the object in mempool. But in fact, the final value is
related to the specifications of HW, and its values will affect the number
of fra
Add Rx buffer size to queue info querry cmd so that the user can get the
buffer length used by HW queue for receiving packets.
Signed-off-by: Chengchang Tang
---
v1 -> v2: fix some spelling mistake
---
app/test-pmd/config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/config.
Report hns3 PMD configured Rx buffer size in Rx queue information query.
Signed-off-by: Chengchang Tang
---
v1 -> v2: fix some spelling mistake.
---
drivers/net/hns3/hns3_rxtx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c
inde
On 2020/8/26 15:12, Chengchang Tang wrote:
Report hns3 PMD configured Rx buffer size in Rx queue information query.
Signed-off-by: Chengchang Tang
Reviewed-by: Wei Hu (Xavier)
---
v1 -> v2: fix some spelling mistake.
---
drivers/net/hns3/hns3_rxtx.c | 2 ++
1 file changed, 2 insertions(
On 2020/8/26 15:12, Chengchang Tang wrote:
Add Rx buffer size to queue info querry cmd so that the user can get the
buffer length used by HW queue for receiving packets.
Signed-off-by: Chengchang Tang
Reviewed-by: Wei Hu (Xavier)
---
v1 -> v2: fix some spelling mistake
---
app/test-pmd/c
On 2020/8/26 15:12, Chengchang Tang wrote:
Add a field named rx_buf_size in rte_eth_rxq_info to indicate the buffer
size used in receiving packets for HW.
In this way, upper-layer users can get this information by calling
rte_eth_rx_queue_info_get.
Signed-off-by: Chengchang Tang
Acked-by: An
https://bugs.dpdk.org/show_bug.cgi?id=531
Bug ID: 531
Summary: ACL (librte_acl) Fails to match source ports
Product: DPDK
Version: 19.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
>
> On 8/11/2020 10:50 AM, Ciara Loftus wrote:
> > This RFC integrates shared UMEM support into the AF_XDP PMD. It is
> based on the
> > WIP kernel series [1] by Magnus Karlsson.
> >
> > Detailed information on the shared UMEM feature can be found in the final
> patch
> > in the aforementioned ser
Offensive terms should be replaced with more inclusive engineering
terms. Deprecated terms include "master/slave" and "blacklist/whitelist".
Signed-off-by: Yuying Zhang
---
drivers/net/fm10k/fm10k_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10
Support flexible descriptor RXDID22 and FDID offload in vPMD.
Remove devargs flow-mark-support.
Guinan Sun (4):
net/ice: remove devargs flow-mark-support
net/ice: add flow director enabled switch value
net/ice: support Flex Rx desc and flow mark in AVX path
net/ice: support Flex Rx desc an
From: Junyu Jiang
Change RSS hash parsing from Flex Rx descriptor in AVX data path.
Signed-off-by: Junyu Jiang
---
drivers/net/ice/ice_rxtx_vec_avx2.c | 98 +++--
1 file changed, 94 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ice/ice_rxtx_vec_avx2.c
b/drive
From: Junyu Jiang
Add structure and macro definition for flex Rx descriptor RxDID #22,
and support flex Rx descriptor RxDID #22 format in normal path.
Signed-off-by: Junyu Jiang
---
drivers/net/ice/ice_rxtx.c | 16 ---
drivers/net/ice/ice_rxtx.h | 42 +++
From: Junyu Jiang
Change RSS hash parsing from Flex Rx descriptor in SSE data path.
Signed-off-by: Junyu Jiang
---
drivers/net/ice/ice_rxtx_vec_sse.c | 89 --
1 file changed, 73 insertions(+), 16 deletions(-)
diff --git a/drivers/net/ice/ice_rxtx_vec_sse.c
b/drive
Support Flow Director mark ID parsing from Flex
Rx descriptor in SSE path.
Signed-off-by: Guinan Sun
---
drivers/net/ice/ice_rxtx_vec_sse.c | 49 ++
1 file changed, 49 insertions(+)
diff --git a/drivers/net/ice/ice_rxtx_vec_sse.c
b/drivers/net/ice/ice_rxtx_vec_sse.c
Support Flow Director mark ID parsing from Flex
Rx descriptor in AVX path.
Signed-off-by: Guinan Sun
---
drivers/net/ice/ice_rxtx_vec_avx2.c | 64 -
1 file changed, 63 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_rxtx_vec_avx2.c
b/drivers/net/ice/ic
Remove devargs "flow-mark-support".
Signed-off-by: Guinan Sun
---
doc/guides/nics/ice.rst | 12
drivers/net/ice/ice_ethdev.c | 10 +-
drivers/net/ice/ice_ethdev.h | 1 -
drivers/net/ice/ice_rxtx_vec_common.h | 6 --
4 files changed, 1 in
The commit adds fdir_enabled flag into ice_adapter structure
to identify if fdir id is active. Rx data path can be benefit if
fdir id parsing is not needed, especially in vector path.
Signed-off-by: Guinan Sun
---
drivers/net/ice/ice_ethdev.h | 2 ++
drivers/net/ice/ice_fdir_filter.c | 9
>
> On 8/11/2020 10:50 AM, Ciara Loftus wrote:
> > A future kernel will introduce the ability to efficiently share a UMEM
> > between AF_XDP sockets bound to different queue ids on the same or
> > different devices. This patch integrates that functionality into the AF_XDP
> > PMD.
> >
> > A PMD w
Jay is the new maintainer since Nikhil no longer works on DPDK.
Signed-off-by: Nikhil Rao
---
MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index ed163f5d5..453dba54e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -461,14 +461,14 @@
The initialization me->locked=1 in lock() must happen before
next->locked=0 in unlock(), otherwise a thread may hang forever,
waiting me->locked become 0. On weak memory systems (such as ARMv8),
the current implementation allows me->locked=1 to be reordered with
announcing the n
On Wed, 2020-08-26 at 02:30 +, Chen, BoX C wrote:
> Hi Luca,
> Update LTS 19.11.4 test result for Intel part. No new issue is found except
> known issues.
Thank you!
> * Intel(R) Testing
>
> # Basic Intel(R) NIC testing
> * PF(i40e):Passed
> - Exception message when starting testpmd
Implement 2 new functions that will enable write combining
stores depending on architecture. The functions are provided
as a generic stub and a x86 specific implementation.
The reason to implement these functions is to improve performance
by reducing the overhead associated with regular mmio write
Performance improvement: use a write combining store
instead of a regular mmio write to update queue tail
registers.
Signed-off-by: Radu Nicolau
Acked-by: Fiona Trahe
---
drivers/common/qat/qat_adf/adf_transport_access_macros.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff -
Performance improvement: use a write combining store
instead of a regular mmio write to update queue tail
registers.
Signed-off-by: Radu Nicolau
---
drivers/net/ice/base/ice_osdep.h| 1 +
drivers/net/ice/ice_rxtx.c | 6 +++---
drivers/net/ice/ice_rxtx_vec_avx2.c | 4 ++--
drivers/ne
Performance improvement: use a write combining store
instead of a regular mmio write to update queue tail
registers.
Signed-off-by: Radu Nicolau
Acked-by: Konstantin Ananyev
---
drivers/net/ixgbe/base/ixgbe_osdep.h | 6 ++
drivers/net/ixgbe/ixgbe_rxtx.c | 15 ---
driv
Add rte_write32_wc and rte_write32_wc_relaxed functions
that implement 32bit stores using write combining memory protocol.
Provided generic stubs and x86 implementation.
Signed-off-by: Radu Nicolau
Acked-by: Bruce Richardson
---
lib/librte_eal/arm/include/rte_io_64.h | 12 +++
lib/librte_e
Performance improvement: use a write combining store
instead of a regular mmio write to update queue tail
registers.
Signed-off-by: Radu Nicolau
Acked-by: Bruce Richardson
---
drivers/net/i40e/base/i40e_osdep.h| 5 +
drivers/net/i40e/i40e_rxtx.c | 8
drivers/net/i40e/i
Hi Bruce,
On 21/8/2020 6:10 PM, Bruce Richardson wrote:
The channel commands header file contains definitions that are used by the
example application for power management, and so need to be made public.
Similarly the guest_channel.h header is used by the guest_cli example
utility, so needs to b
Hi Bruce,
On 21/8/2020 6:10 PM, Bruce Richardson wrote:
When compiling on ubuntu 20.04, a warning was issued about possible
truncation of the path string for the power management socket.
channel_manager.c: In function ‘add_all_channels’:
channel_manager.c:470:41: warning: ‘%s’ directive output
Hi wangyunjian,
On 19/8/2020 1:54 PM, wangyunjian wrote:
From: Yunjian Wang
This patch fixes the resource leaks reported by coverity.
Coverity issue: 337674
Fixes: 95f648ff9eed ("examples/vm_power: make branch ratio threshold per core")
Cc: sta...@dpdk.org
Signed-off-by: Yunjian Wang
---
Diogo Behrens writes:
> Subject: [PATCH] librte_eal: fix mcslock hang on weak memory
>
> The initialization me->locked=1 in lock() must happen before
> next->locked=0 in unlock(), otherwise a thread may hang forever,
> waiting me->locked become 0. On weak memory systems (such as ARMv
Ping for review, please.
> -Original Message-
> From: wangyunjian
> Sent: Wednesday, July 15, 2020 10:40 AM
> To: dev@dpdk.org; hka...@marvell.com
> Cc: Lilijun (Jerry) ; xudingke
> ; wangyunjian ;
> sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH 1/1] eal/linux: fix event set error for
> rt
From: Yunjian Wang
Coverity issue: 357719
Fixes: da138cd47e06 ("net/octeontx2: handle port reconfigure")
Cc: sta...@dpdk.org
Signed-off-by: Yunjian Wang
---
drivers/net/octeontx2/otx2_ethdev.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/octeontx2/otx2_ethdev.c
b/drivers/n
Hi Anoob,
Do you need any more info.. Kindly help us.. We are totally stuck..
Thanks
On Wed, 19 Aug, 2020, 4:38 pm satyavalli rama,
wrote:
> Hi Anoob
>
> We are using the following hardware details,
> HOST: x722 (i40e) intel.
> VM: e1000 (82540) intel.
>
> We have launched Virtual machine on hos
&out->conf and in can point to the same memory area. Reinitialization of
out->conf leads to setting in->key to NULL, but leaves key_len 40. This
leads to segfault on destruction of the RSS flow action. The segfault
happens inside i40e_action_rss_same(), when comparing comp->key and
with->key, becau
From: Yunjian Wang
The fd is possibly a negative value while it is passed as an
argument to function "close". Fix the check to the fd.
Fixes: b9c94167904f ("bus/dpaa: decouple FQ portal alloc and init")
Cc: sta...@dpdk.org
Signed-off-by: Yunjian Wang
---
drivers/bus/dpaa/base/qbman/qman_drive
Thanks Yunjian for the fix.
Acked-by: Sachin Saxena
On 26-Aug-20 5:24 PM, wangyunjian wrote:
From: Yunjian Wang
The fd is possibly a negative value while it is passed as an
argument to function "close". Fix the check to the fd.
Fixes: b9c94167904f ("bus/dpaa: decouple FQ portal alloc and in
Hi Chenbo.
On Wed, Aug 26, 2020 at 8:29 AM Xia, Chenbo wrote:
>
> Hi Eugenio,
>
> > -Original Message-
> > From: Eugenio Pérez
> > Sent: Monday, August 10, 2020 10:11 PM
> > To: dev@dpdk.org
> > Cc: Adrian Moreno Zapata ; Maxime Coquelin
> > ; sta...@dpdk.org; Wang, Zhihong
> > ; Xia, Ch
From: Yunjian Wang
Coverity flags that 'portal' variable is used before
it's checked for NULL. This patch fixes this issue.
Coverity issue: 323516
Fixes: 4ab57b042e7c ("event/dpaa2: affine portal at runtime during I/O")
Cc: sta...@dpdk.org
Signed-off-by: Yunjian Wang
---
drivers/event/dpaa2/d
On 8/13/2020 7:01 PM, Hemant Agrawal wrote:
> DPAA platorm MAC interface is known as FMAN i.e. Frame Manager.
> There are two ways to control it.
> 1. Statically configure the queues and classification rules before the
> start of the application using FMC tool.
> 2. Dynamically configure it within
On Wed, 26 Aug 2020 15:12:22 +0800
Chengchang Tang wrote:
> Add Rx buffer size to queue info querry cmd so that the user can get the
> buffer length used by HW queue for receiving packets.
>
> Signed-off-by: Chengchang Tang
You might want to add this info to proc-info tool as well.
On 8/26/2020 2:54 PM, Ferruh Yigit wrote:
> On 8/13/2020 7:01 PM, Hemant Agrawal wrote:
>> DPAA platorm MAC interface is known as FMAN i.e. Frame Manager.
>> There are two ways to control it.
>> 1. Statically configure the queues and classification rules before the
>> start of the application using
> -Original Message-
> From: dev On Behalf Of Ankur Dwivedi
> Sent: Thursday, July 30, 2020 12:20 PM
> To: dev@dpdk.org
> Cc: Doherty, Declan ; akhil.go...@nxp.com;
> ano...@marvell.com; Ankur Dwivedi ;
> sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] test/crypto: fix device number
>
> In
On Fri, 31 Jul 2020 00:06:23 +0200
Thomas Monjalon wrote:
> 15/07/2020 01:21, Stephen Hemminger:
> > Simple script to look for drivers and scripts that
> > are missing requires SPDX header.
> >
> > Signed-off-by: Stephen Hemminger
> [...]
> > +#! /bin/sh
> > +# SPDX-License-Identifier: BSD-3-
Add improved pipeline type that supports dynamically-defined packet
headers, meta-data, actions and pipelines. Actions and pipelines are
defined through instructions.
Signed-off-by: Cristian Dumitrescu
---
lib/librte_pipeline/Makefile | 2 +
lib/librte_pipeline/meson.build
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
Add input ports to the pipeline. 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_pipeline/rte_pipeline_vers
Add output ports to the pipeline. 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_pipeline/rte_pipeline_ver
Add support for dynamically-defined packet headers and meta-data.
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.c | 413 +
Add extern objects and functions to plug in functions 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.
Signed-off-by: Cristian Dumi
Add 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/out.
The 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 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 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 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 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
Add tables to the pipeline. The match fields are flexibly selected
from the headers and meta-data. The set of actions is flexibly
selected per table from the pipeline set.
Signed-off-by: Cristian Dumitrescu
---
lib/librte_pipeline/Makefile | 1 +
lib/librte_pipeline/meson.build
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 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 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
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 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 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 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 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 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 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 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 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
Instruction verifier. Executes at instruction translation time during
pipeline build, i.e. 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/librte_
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
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
Added 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 203e394d6..
Query API to be used by the control plane to detect the configuration
and state of the 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/librt
Flush the packets currently buffered by the 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 files
Add the PCAP file-based source (input) and sink (output) pipeline port
types. 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
High-level transaction-oriented API for 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 Dumitr
Add the exact match pipeline table type. Used under the hood by the
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 the Ethernet device input/output pipeline port type. 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.map | 3 +
Add new example application to showcase the new pipeline type API.
Signed-off-by: Cristian Dumitrescu
---
examples/Makefile | 1 +
examples/meson.build | 1 +
examples/pipeline/Makefile| 80 +
examples/pipeline/main.c | 52
examples/pipeline/meson.bui
Add CLI commands for application configuration and query.
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/Makefile|1 +
examples/pipeline/cli.c | 1373 +
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 L2 Forwarding example with MAC destination and source address swap
to the pipeline application. Example command line:
./build/pipeline -l0-1 -- -s ./examples/l2fwd_macswp.cli
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/Makefile| 2 +
examples/pipeline/cli.c
Add L2 Forwarding example to the pipeline application. Example command
line: ./build/pipeline -l0-1 -- -s ./examples/l2fwd.cli
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/Makefile| 1 +
examples/pipeline/cli.c | 16 ++-
examples/pipeline/example_
Add VXLAN encapsulation example to the pipeline application. The VXLAN
tunnels can be generated with the vxlan.py script. Example command
line: ./build/pipeline -l0-1 -- -s ./examples/vxlan.cli
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/Makefile| 2 +-
examples/pi
Replace behavior with RTE_LIBRTE_ARK_MIN_TX_PKTLEN
with a default value of 0.
Update documentation as needed.
Signed-off-by: Ed Czeck
---
doc/guides/nics/ark.rst | 16
drivers/net/ark/ark_ethdev_tx.c | 44 +++--
drivers/net/ark/ark_logs.h |
Use ARK_PMD_LOG in place of PMD_DRV_LOG, PMD_DEBUG_LOG, PMD_FUNC_LOG,
PMD_STATS_LOG, PMD_RX_LOG, and PMD_TX_LOG.
Review and adjust log levels and messages as needed.
Signed-off-by: Ed Czeck
---
doc/guides/nics/ark.rst | 13 --
drivers/net/ark/ark_ddm.c | 12 ++---
drivers/net/a
This patch replaces the usage of the word 'slave' with more
appropriate word 'worker' in QAT PMD and Scheduler PMD
as well as in their docs. Also the test app was modified
to use the new wording.
The Scheduler PMD's public API was modified according to the
previous deprecation notice:
rte_cryptode
On Wed, Aug 26, 2020 at 08:12:30AM -0700, Stephen Hemminger wrote:
> On Fri, 31 Jul 2020 00:06:23 +0200
> Thomas Monjalon wrote:
>
> > 15/07/2020 01:21, Stephen Hemminger:
> > > Simple script to look for drivers and scripts that
> > > are missing requires SPDX header.
> > >
> > > Signed-off-by:
On Tue, Aug 25, 2020 at 04:27:43PM +0100, Laatz, Kevin wrote:
> On 21/08/2020 17:29, Bruce Richardson wrote:
> > When a matching device is found via PCI probe create a rawdev instance for
> > each queue on the hardware. Use empty self-test function for these devices
> > so that the overall rawdev_a
This patch set implement the flow sampling for mlx5 driver.
The solution is introduced a new rte_flow action that will sample the incoming
traffic and send a duplicated traffic with the specified ratio to the
application, while the original packet will continue to the target destination.
If the
Add a new testpmd command 'set sample_actions' that supports the multiple
sample actions list configuration by using the index:
set sample_actions
The examples for the sample flow use case and result as below:
1. set sample_actions 0 mark id 0x8 / queue index 2 / end
.. pattern eth / end action
rdma-core introduce a new DR sample action.
Add the rdma-core commands in glue to create this action.
Sample action is used for creating the sample object to implement
the sampling/mirroring function.
Signed-off-by: Jiawei Wang
Acked-by: Ori Kam
---
drivers/common/mlx5/Makefile | 5
Update function mlx5_devx_cmd_query_hca_attr() to add the NIC Flow
Table attributes query, then get the log_max_flow_sampler_num from
flow table properties.
Add the related structs definition in mlx5_prm.h.
Signed-off-by: Jiawei Wang
Acked-by: Ori Kam
---
drivers/common/mlx5/mlx5_devx_cmds.c |
When using full offload, all traffic will be handled by the HW, and
directed to the requested VF or wire, the control application loses
visibility on the traffic.
So there's a need for an action that will enable the control application
some visibility.
The solution is introduced a new action that
Translate the attribute of sample action that include sample ratio
and sub actions list, then create the sample DR action.
Signed-off-by: Jiawei Wang
Acked-by: Ori Kam
---
drivers/net/mlx5/mlx5_flow.c| 16 +-
drivers/net/mlx5/mlx5_flow.h| 14 +-
drivers/net/mlx5/mlx5_flow_dv.c | 494 +
Add the sampler action resource structs definition.
The flow with sample action will be splited into two sub flows,
the prefix flow with sample action, the suffix flow with the left
actions.
For the prefix flow, add the extra the tag action with unique id
to metadata register, and suffix flow wil
Add sample action validate function.
For Sample flow support NIC-RX and FDB domain, must include an
action of a dest TIR in NIC_RX.
Only NIC_RX support with addition optional actions. FDB doesn't
support any optional action, the sampled packets is always goes
to e-switch manager port.
Signed-off
On 7/14/2020 10:51 PM, Dharmik Thakkar wrote:
> Meson build system lacks support for
> CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES and
> CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS configuration options.
>
> One solution is to add these options within meson_options.txt
>
> Since adding these as runtime con
1 - 100 of 127 matches
Mail list logo