On 2024-07-24 22:02, Stephen Hemminger wrote:
On Wed, 24 Jul 2024 21:14:30 +0200
Mattias Rönnblom wrote:
Ideally, you want to avoid system calls on lcore workers doing packet
processing. If you have to do system calls (which I believe is the case
here), it's better to a simple call, not so oft
> On 24-Jul-24 2:04 PM, Akhil Goyal wrote:
> >> On 24-Jul-24 12:20 PM, Akhil Goyal wrote:
> On 23-Jul-24 5:57 PM, Akhil Goyal wrote:
> >> Hi all,
> >>
> >> This patch breaks ipsec tests with ipsec-secgw:
> >>
> >>
> >> ./examples/ipsec-secgw/test/run_test.sh -4 trs_aesc
On Wed, 24 Jul 2024 21:14:30 +0200
Mattias Rönnblom wrote:
> >> Ideally, you want to avoid system calls on lcore workers doing packet
> >> processing. If you have to do system calls (which I believe is the case
> >> here), it's better to a simple call, not so often.
> >>
> >> getentropy() seems t
Suite for testing ability of Poll Mode Driver to turn promiscuous
mode on/off, allmulticast mode on/off, and show expected behavior
when sending packets with known, unknown, broadcast, and multicast
destination MAC addresses.
Depends-on: patch-1142113 ("add send_packets to test suites and rework
p
configuration schema to run dynamic configuration test suite.
Signed-off-by: Dean Marx
---
dts/framework/config/conf_yaml_schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dts/framework/config/conf_yaml_schema.json
b/dts/framework/config/conf_yaml_schema.json
ind
added set multicast function for changing allmulticast mode within testpmd.
Signed-off-by: Dean Marx
---
dts/framework/remote_session/testpmd_shell.py | 46 +++
1 file changed, 46 insertions(+)
diff --git a/dts/framework/remote_session/testpmd_shell.py
b/dts/framework/remote_se
Refactored dynamic configuration suite to be compatible with context
manager.
Dean Marx (3):
dts: add multicast set function to shell
dts: dynamic config conf schema
dts: dynamic config test suite
dts/framework/config/conf_yaml_schema.json| 3 +-
dts/framework/remote_session/testpmd_
On 2024-07-24 18:16, Stephen Hemminger wrote:
> +/**
> + * Get a true random value.
> + *
> + * The generator is cryptographically secure.
If you want to extend with a cryptographically secure
random number generator, that's fine.
To have an API that's only available on certain
The existing verbose levels 1..3 provide a messy multi-line
output per packet. I found this unhelpful when diagnosing many
types of problems like packet flow.
This patch keeps the previous levels and adds two new levels:
4: one line per packet is printed in a format resembling
tshark output. Wi
Some tests for new packet dissector.
Signed-off-by: Stephen Hemminger
---
app/test/meson.build| 1 +
app/test/test_dissect.c | 245
2 files changed, 246 insertions(+)
create mode 100644 app/test/test_dissect.c
diff --git a/app/test/meson.build b/a
The function rte_dissect_mbuf is used to decode the contents
of an mbuf into ah uman readable format similar to what tshark uses.
For now, handles IP, IPv6, TCP, UDP, ICMP and ARP.
Signed-off-by: Stephen Hemminger
---
lib/net/meson.build | 2 +
lib/net/rte_dissect.c | 404 ++
While debugging TAP rte_flow discovered that test pmd verbose output
was confusing and unhelpful. Instead, made a simple dissector that
prints one line per packet like this in test-pmd with verbose level 4.
Seq# TimePort:Que R Description
1 0.00:0 R :: → ff02::16 ICMP
From: Jeremy Spewock
The messages being logged by interactive shells currently are using the
same logger as the node they were created from. Because of this, when
sending interactive commands, the logs make no distinction between when
you are sending a command directly to the host and when you ar
From: Jeremy Spewock
When this XML-RPC server implementation was added, the docstring had to
be shortened in order to reduce the chances of this race condition being
encountered. Now that this race condition issue is resolved, the full
docstring can be restored.
Signed-off-by: Jeremy Spewock
Re
From: Jeremy Spewock
The current implementation of consuming output from interactive shells
relies on being able to find an expected prompt somewhere within the
output buffer after sending the command. This is useful in situations
where the prompt does not appear in the output itself, but in some
From: Jeremy Spewock
v6:
* Fix error catch for retries. This series changed the error that
is thrown in the case of a timeout, but it was originally overlooked
that the context manager patch added a catch that is looking for the
old timeout error. This version fixes the patch by adjusti
Configuration schema for the queue_start_stop suite.
Signed-off-by: Dean Marx
---
dts/framework/config/conf_yaml_schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dts/framework/config/conf_yaml_schema.json
b/dts/framework/config/conf_yaml_schema.json
index f02a31
This suite tests the ability of the Poll Mode Driver to enable
and disable Rx/Tx queues on a port.
Signed-off-by: Dean Marx
---
dts/tests/TestSuite_queue_start_stop.py | 91 +
1 file changed, 91 insertions(+)
create mode 100644 dts/tests/TestSuite_queue_start_stop.py
di
added set promisc, set verbose, and port stop
commands to testpmd shell.
Signed-off-by: Dean Marx
---
dts/framework/remote_session/testpmd_shell.py | 232 +-
1 file changed, 231 insertions(+), 1 deletion(-)
diff --git a/dts/framework/remote_session/testpmd_shell.py
b/dts/framew
Refactored queue start/stop test suite to be compatible with context
manager. Updated queue setup, stop/start, and show queue info
methods/dataclasses in testpmd shell.
Dean Marx (3):
dts: add functions to testpmd shell
dts: initial queue start/stop suite implementation
dts: queue suite conf
From: Jeremy Spewock
This patch ports over the functionality of the dual_vlan suite from old
DTS to the new framework. This test suite exists to test the
functionality of VLAN functions such as stripping, inserting, and
filerting in the presence of two VLAN headers.
There are some test cases whi
From: Jeremy Spewock
Adds the test suite name to the yaml schema to allow for it to be run.
Signed-off-by: Jeremy Spewock
---
dts/framework/config/conf_yaml_schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dts/framework/config/conf_yaml_schema.json
b/dts/frame
From: Jeremy Spewock
v3:
* rebase on rc3
Jeremy Spewock (2):
dts: add dual_vlan testing suite
dts: add dual_vlan test suite to the yaml schema
dts/framework/config/conf_yaml_schema.json | 3 +-
dts/tests/TestSuite_dual_vlan.py | 268 +
2 files changed, 270
> > > In case of event mode operations where event device can help in atomic
> > > sequence number increment across cores, sequence number need to be
> > > provided by the application instead of being updated in rte_ipsec or
> > > the PMD. To support this, a new flag
> > > ``RTE_IPSEC_SAFLAG_SQN_
Configuration to run vlan test suite
Signed-off-by: Dean Marx
---
dts/framework/config/conf_yaml_schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dts/framework/config/conf_yaml_schema.json
b/dts/framework/config/conf_yaml_schema.json
index f02a310bb5..cd45902cc4
Test suite for verifying VLAN filtering, stripping, and insertion
functionality on Poll Mode Driver.
Signed-off-by: Dean Marx
---
dts/tests/TestSuite_vlan.py | 168
1 file changed, 168 insertions(+)
create mode 100644 dts/tests/TestSuite_vlan.py
diff --git
added the following methods to testpmd shell class:
vlan set filter on/off, rx vlan add/rm,
vlan set strip on/off, port stop/start all/port,
tx vlan set/reset, set promisc/verbose
fixed bug in vlan_offload for
show port info, removed $ at end of regex
Signed-off-by: Dean Marx
---
dts/framework/
Refactored suite to be compatible with context manager, fixed bug
in show port info regex for VLAN offload flags. Minor formatting fixes
are included as well.
Dean Marx (3):
dts: add VLAN methods to testpmd shell
dts: VLAN test suite implementation
dts: config schema
dts/framework/config/c
From: Jeremy Spewock
Adds the ability to run the test suite using the yaml configuration
file.
Signed-off-by: Jeremy Spewock
---
dts/framework/config/conf_yaml_schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dts/framework/config/conf_yaml_schema.json
b/dts/fr
From: Jeremy Spewock
This patch adds a new test suite that is designed to test the stopping
and modification of port queues at runtime. Specifically, there are
test cases that display the ports ability to stop some queues but still
send and receive traffic on others, as well as the ability to con
From: Jeremy Spewock
This patch adds methods for querying and modifying port queue state and
configuration. In addition to this, it also adds the ability to capture
the forwarding statistics that get outputted when you send the "stop"
command in testpmd. Querying of port queue information is hand
From: Jeremy Spewock
Currently the only method provided in the test suite class for sending
packets sends a single packet and then captures the results. There is,
in some cases, a need to send multiple packets at once while not really
needing to capture any traffic received back. The method to do
From: Jeremy Spewock
v3:
* rebase on rc3
Jeremy Spewock (4):
dts: add send_packets to test suites and rework packet addressing
dts: add port queue modification and forwarding stats to testpmd
dts: add dynamic queue test suite
dts: add dynamic queue conf to the yaml schema
dts/framewor
On 24-Jul-24 2:04 PM, Akhil Goyal wrote:
On 24-Jul-24 12:20 PM, Akhil Goyal wrote:
On 23-Jul-24 5:57 PM, Akhil Goyal wrote:
Hi all,
This patch breaks ipsec tests with ipsec-secgw:
./examples/ipsec-secgw/test/run_test.sh -4 trs_aesctr_sha1
...
ERROR: ./examples/ipsec-secgw/test/linux_test.s
On Wed, 24 Jul 2024 13:03:35 +
Sivaprasad Tummala wrote:
> + lcore_cpus = rte_lcore_cpuset(lcore_id);
> + if (CPU_COUNT(&lcore_cpus) != 1) {
> + POWER_LOG(ERR, "Power library doesn't support lcore %u mapping "
> + "to %u cpus", lcore_id, CPU_COU
On Wed, 24 Jul 2024 13:03:35 +
Sivaprasad Tummala wrote:
> + POWER_LOG(ERR, "Power library doesn't support lcore %u mapping "
> + "to %u cpus", lcore_id, CPU_COUNT(&lcore_cpus));
Please don't break single format error string across lines. It makes it h
From: Jeremy Spewock
The messages being logged by interactive shells currently are using the
same logger as the node they were created from. Because of this, when
sending interactive commands, the logs make no distinction between when
you are sending a command directly to the host and when you ar
From: Jeremy Spewock
When this XML-RPC server implementation was added, the docstring had to
be shortened in order to reduce the chances of this race condition being
encountered. Now that this race condition issue is resolved, the full
docstring can be restored.
Signed-off-by: Jeremy Spewock
Re
From: Jeremy Spewock
The current implementation of consuming output from interactive shells
relies on being able to find an expected prompt somewhere within the
output buffer after sending the command. This is useful in situations
where the prompt does not appear in the output itself, but in some
From: Jeremy Spewock
v5:
* rebased on main
* pulled tags forward from previous versions since there has been no
change to the series outside of rebases since then.
Jeremy Spewock (3):
dts: Improve output gathering in interactive shells
dts: Add missing docstring from XML-RPC server
d
The PR aims to update the TX/RQ queue setup/stop routines that are
unique to DQO, so that they may be called for instances that use the
DQO RDA format during dev start/stop.
Signed-off-by: Tathagat Priyadarshi
Acked-by: Joshua Washington
---
drivers/net/gve/gve_ethdev.c | 29 +++
Add missing SPDX tag.
Remove exception added to './devtools/check-spdx-tag.sh' for this files.
Signed-off-by: Mykola Kostenok
---
devtools/check-spdx-tag.sh | 1 -
.../clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h | 4
.../net/ntnic/nthw/supporte
> On 24-Jul-24 12:20 PM, Akhil Goyal wrote:
> >> On 23-Jul-24 5:57 PM, Akhil Goyal wrote:
> Hi all,
>
> This patch breaks ipsec tests with ipsec-secgw:
>
>
> ./examples/ipsec-secgw/test/run_test.sh -4 trs_aesctr_sha1
> ...
> ERROR: ./examples/ipsec-secgw/test
When user request to use lcores mapped to different physical
cores using --lcores eal option, power application accesses
incorrect cpu sysfs attribute for checking current frequency
The patch fixes the cpu_id based on the lcore and cpu mappings.
Signed-off-by: Sivaprasad Tummala
---
app/test/te
This commit fixes an issue in the power library
related to using lcores mapped to different
physical cores (--lcores option in EAL).
Previously, the power library incorrectly accessed
CPU sysfs attributes for power management, treating
lcore IDs as CPU IDs.
e.g. with --lcores '1@128', lcore_id '1'
On 24-Jul-24 12:20 PM, Akhil Goyal wrote:
On 23-Jul-24 5:57 PM, Akhil Goyal wrote:
Hi all,
This patch breaks ipsec tests with ipsec-secgw:
./examples/ipsec-secgw/test/run_test.sh -4 trs_aesctr_sha1
...
ERROR: ./examples/ipsec-secgw/test/linux_test.sh failed for
dst=192.168.31.14,
sz=1
>
> On 23-Jul-24 5:57 PM, Akhil Goyal wrote:
> >> Hi all,
> >>
> >> This patch breaks ipsec tests with ipsec-secgw:
> >>
> >>
> >> ./examples/ipsec-secgw/test/run_test.sh -4 trs_aesctr_sha1
> >> ...
> >> ERROR: ./examples/ipsec-secgw/test/linux_test.sh failed for
> dst=192.168.31.14,
> >> sz=1
> >
https://bugs.dpdk.org/show_bug.cgi?id=1470
Bug 1470 depends on bug 1483, which changed state.
Bug 1483 Summary: mlx5 PMD does not apply MTU from rte_eth_conf.rxmode.mtu on
rte_eth_dev_configure()
https://bugs.dpdk.org/show_bug.cgi?id=1483
What|Removed |Added
--
On 23-Jul-24 5:57 PM, Akhil Goyal wrote:
Hi all,
This patch breaks ipsec tests with ipsec-secgw:
./examples/ipsec-secgw/test/run_test.sh -4 trs_aesctr_sha1
...
ERROR: ./examples/ipsec-secgw/test/linux_test.sh failed for dst=192.168.31.14,
sz=1
test IPv4 trs_aesctr_sha1 finished with status
> -Original Message-
> From: Konstantin Ananyev
> Sent: Tuesday, July 23, 2024 9:35 PM
> To: Aakash Sasidharan
> Cc: Akhil Goyal ; Jerin Jacob ;
> Anoob Joseph ; Vidya Sagar Velumuri
> ; dev@dpdk.org; konstantin.v.anan...@yandex.ru;
> vladimir.medved...@intel.com
> Subject: [EXTERNAL] RE:
Add compilation tests for the use_cc_memcpy build option.
Signed-off-by: Mattias Rönnblom
---
.ci/linux-build.sh| 5 +
.github/workflows/build.yml | 7 +++
devtools/test-meson-builds.sh | 4 +++-
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.ci/linux-build
Provide build option to have functions in delegate to
the standard compiler/libc memcpy(), instead of using the various
custom DPDK, handcrafted, per-architecture rte_memcpy()
implementations.
A new meson build option 'use_cc_memcpy' is added. By default, the
traditional, custom DPDK rte_memcpy()
The octeon_ip driver relied on , but failed to provide a
direct include of this file.
Signed-off-by: Mattias Rönnblom
Acked-by: Stephen Hemminger
---
drivers/net/octeon_ep/otx_ep_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/octeon_ep/otx_ep_ethdev.c
b/drivers/net/
The distributor library relied on , but failed to provide
a direct include of this file.
Signed-off-by: Mattias Rönnblom
Acked-by: Bruce Richardson
---
lib/distributor/rte_distributor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/distributor/rte_distributor.c
b/lib/distributor/rte_
In build where use_cc_memcpy is set to true, the vhost user PMD
suffers a large performance drop on Intel P-cores for small packets,
at least when built by GCC and (to a much lesser extent) clang.
This patch addresses that issue by using a custom virtio
memcpy()-based packet copying routine.
Perf
Note: These changes are meant for 24.11, not 24.07.
This patch set make DPDK library, driver, and application code
optionally use the compiler/libc memcpy() when functions in
are invoked.
The new compiler memcpy-based rte_memcpy() implementations may be
enabled by means of a build-time option.
The trie implementation of the fib library relied on , but
failed to provide a direct include of this file.
Signed-off-by: Mattias Rönnblom
Acked-by: Bruce Richardson
Acked-by: Stephen Hemminger
---
lib/fib/trie.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/fib/trie.c b/lib/fib/tri
> > > > > > > Application is accepting routes for port ID up to UINT8_MAX for
> > > > > > > LPM amd EM routes on parsing the given rule file, but only up to
> > > > > > > 32 ports can be enabled as per the variable enabled_port_mask
> > > > > > > which is defined as uint32_t.
> > > > > > >
> > >
Add actions order supported in mlx5 PMD when HW steering flow engine
is used.
This limitation existed since HW Steering flow engine was introduced.
Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering")
Cc: sta...@dpdk.org
Signed-off-by: Maayan Kashani
Acked-by: Dariusz Sosnowski
---
d
The PR aims to update the TX/RQ queue setup/stop routines that are
unique to DQO, so that they may be called for instances that use the DQO
RDA format during dev start/stop.
Signed-off-by: Tathagat Priyadarshi
Acked-by: Joshua Washington
---
drivers/net/gve/gve_ethdev.c | 29 +++
> Announce cryptodev changes to offload RSA asymmetric operation in
> VirtIO PMD.
>
> Signed-off-by: Gowrishankar Muthukrishnan
> --
> RFC:
>
> https://patches.dpdk.org/project/dpdk/patch/20230928095300.1353-2-gmuthukri...@marvell.com/
>
> https://patches.dpdk.org/project/dpdk/patch/2023092
> Announce the additions in cryptodev ABI to support EDDSA algorithm.
>
> Signed-off-by: Gowrishankar Muthukrishnan
> --
Acked-by: Akhil Goyal
> RFC:
>
> https://patches.dpdk.org/project/dpdk/patch/0ae6a1afadac64050d80b0fd7712c4a6a8599e2c.1701273963.git.gmuthukri...@marvell.com/
> ---
> doc
62 matches
Mail list logo