For Arm aarch, power monitor uses WFE instruction to enable, which can
not exit automatically within the time limit. This means
'rte_power_monitor_wakeup' API needs to be called to wake up sleep cores
if there is no store operation to monitored address.
Furthermore, we disable power monitor featur
For Arm aarch, use WFE instruction to enable power monitor API, and use
SEV instruction to enable wake up API.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/arm/include/rte_pause_64.h | 5 ++-
lib/eal/arm/rte_cpuflags.c | 5 +++
lib/eal/arm/rte_power_intrinsics.c |
For wait scheme generic helper, add 8 bits case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/arm/include/rte_pause_64.h | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/lib/eal/arm/include/rte_pause_64.h
b/lib/eal/arm/include
For Arm aarch, use WFE instructions to enable PMD power management.
Feifei Wang (3):
eal: add 8 bits case for wait scheme
eal: add power mgmt support on Arm
examples/l3fwd-power: enable PMD power monitor on Arm
examples/l3fwd-power/main.c| 30 -
lib/eal/arm/include/rte_
The pcap file will be synchronized to the disk when stopping the device.
It takes a long time if the file is large that would cause the
'detach sync request' timeout when the device is closed under multi-process
scenario.
This commit fixes the issue by performing synchronization in Tx path
Fixes:
Hello,
We are facing a strange issue, we have the following setup for our
application. We wanted to capture packets using dpdk pdump for our
application, and started to notice an issue in capturing on DPDK 21.11
So we went back to DPDK 20.11 and we still saw the issue.
[image: image.png]
Think th
Thanks Nvidia test team!
> -Original Message-
> From: Ali Alnubani
> Sent: Tuesday, August 23, 2022 10:55 PM
> To: Xueming(Steven) Li ; sta...@dpdk.org
> Cc: dev@dpdk.org; Abhishek Marathe ;
> benjamin.wal...@intel.com; David Christensen
> ; Hemant Agrawal ; Ian
> Stokes ; Jerin Jacob
>
Thanks Readhat test team!
From: YangHang Liu
Sent: Wednesday, August 24, 2022 10:45 PM
To: Xueming(Steven) Li
Cc: sta...@dpdk.org; dev@dpdk.org; Abhishek Marathe
; Ali Alnubani ;
benjamin.wal...@intel.com; David Christensen ; Hemant
Agrawal ; Ian Stokes ; Jerin
Jacob ; John McNamara ; Ju-Hyo
> -Original Message-
> From: Jiang, YuX
> Sent: Thursday, August 25, 2022 10:46 AM
> To: Xueming(Steven) Li ; sta...@dpdk.org
> Cc: dev@dpdk.org; Abhishek Marathe ; Ali
> Alnubani ; Walker, Benjamin
> ; David Christensen ;
> Hemant Agrawal ; Stokes, Ian
> ; Jerin Jacob ; Mcnamara, John
> -Original Message-
> From: Xueming(Steven) Li
> Sent: Tuesday, August 23, 2022 7:51 PM
> To: Jiang, YuX ; sta...@dpdk.org
> Cc: dev@dpdk.org; Abhishek Marathe ;
> Ali Alnubani ; Walker, Benjamin
> ; David Christensen
> ; Hemant Agrawal ;
> Stokes, Ian ; Jerin Jacob ;
> Mcnamara, John ; J
On 8/24/2022 2:26 PM, Owen Hilyard wrote:
Hello Everyone,
At the tech board meeting today I brought up the topic of supported
Linux distros/operating systems. We came up with the following
proposal, but want community feedback before any decision is made. If
you want a distro/OS added, plea
If DPDK applications should be used with a minimal set of privileges,
using the msr kernel module on linux should not be necessary.
Since at least kernel 4.4 the rdmsr call to obtain the last non-turbo
boost frequency can be left out, if the sysfs interface is used.
Also RHEL 7 with recent kernel
Hello Everyone,
At the tech board meeting today I brought up the topic of supported Linux
distros/operating systems. We came up with the following proposal, but want
community feedback before any decision is made. If you want a distro/OS
added, please reply saying so and provide a compelling reaso
Thanks for the feedback Akhil. Hernan is out for a bit but I can cover from
him.
There was no actual code change in v2, only change in commit messages so that
to be more explicit and detailed. In case there is a v3, the change log would
be amended to capture this.
Thanks
Nic
> -Original M
Hi Peng,
On 8/19/2022 3:39 PM, peng1x.zh...@intel.com wrote:
From: Peng Zhang
Primary process could set up queues state correctly when starting port,
but under multi-process scenario, "stream_init" function would get wrong
queues state for secondary process.
This commit is to get queues state
The testsuite implements the testcases defined in the corresponding test
plan.
Signed-off-by: Juraj Linkeš
---
dts/tests/TestSuite_hello_world.py | 80 ++
1 file changed, 80 insertions(+)
create mode 100644 dts/tests/TestSuite_hello_world.py
diff --git a/dts/tests/T
The testplan describes the capabilities of the tested application along
with the description of testcases to test it.
Signed-off-by: Juraj Linkeš
---
dts/test_plans/hello_world_test_plan.rst | 68
1 file changed, 68 insertions(+)
create mode 100644 dts/test_plans/hello_
TestCase implements methods for setting up and tearing down testcases
and basic workflow methods.
Result stores information about the testbed and the results of testcases
that ran on the testbed.
Signed-off-by: Juraj Linkeš
---
dts/framework/exception.py | 15 ++
dts/framework/test_case.py
Add functions responsible for initializing testbed setup, testcase
discovery and execution. The stats collector gathers the pass/fail
results and provides a short report.
Signed-off-by: Juraj Linkeš
---
dts/framework/dts.py| 174 +---
dts/framework/stats_r
The SUT node contains methods to configure the node and build and
configure DPDK.
Signed-off-by: Juraj Linkeš
---
dts/framework/sut_node.py | 603 ++
1 file changed, 603 insertions(+)
create mode 100644 dts/framework/sut_node.py
diff --git a/dts/framework/su
The Traffic Generator node is responsible for configuring and running
traffic generators. For HelloWorld, we don't need any traffic, so this
is just a barebones implementation demonstrating the two nodes in use
in DTS.
Signed-off-by: Juraj Linkeš
---
dts/framework/tg_node.py | 78 +++
The nodes DTS is working with are either a system under test node (where
DPDK runs) and a traffic generator node.
The added methods are common to both system under test nodes and traffic
generator nodes.
Signed-off-by: Juraj Linkeš
---
dts/framework/node.py | 395
SCP is needed to transfer DPDK tarballs between nodes.
Also add keepalive method that testcases use.
Signed-off-by: Juraj Linkeš
---
dts/framework/ssh_connection.py | 19 ++
dts/framework/ssh_pexpect.py| 61 +++--
2 files changed, 78 insertions(+), 2 delet
Add command line arguments (and the corresponding env variables) that
specify DPDK build and test execution workflow.
Also split the configuration into two parts, one that can be changed
during runtime and one that can't. We will need to change the git
refspec to a DPDK tarball path when support i
There are two categories of new config options: DPDK build/config
options and testing options.
Signed-off-by: Juraj Linkeš
---
dts/conf.yaml | 20 ++-
dts/framework/config/__init__.py | 141 -
dts/framework/config/conf_yaml_schema.json
The patch is built on top of the existing SSH connection patch submitted
earlier and contains the rest of the code to run the most basic
testcase, hello world, which just runs the hello world application and
verifies the output.
The code added is mostly about setting up the testbed, building DPDK
From: Anatoly Burakov
Expose per-lcore cpuset information to telemetry.
Signed-off-by: Anatoly Burakov
---
lib/eal/common/eal_common_lcore_telemetry.c | 47 +
1 file changed, 47 insertions(+)
diff --git a/lib/eal/common/eal_common_lcore_telemetry.c
b/lib/eal/common/eal_co
From: Anatoly Burakov
Currently, there is no way to measure lcore busyness in a passive way,
without any modifications to the application. This patch adds a new EAL
API that will be able to passively track core busyness.
The busyness is calculated by relying on the fact that most DPDK API's
will
Currently, there is no way to measure lcore busyness in a passive way,
without any modifications to the application. This patchset adds a new EAL
API that will be able to passively track core busyness. As part of the set,
new telemetry endpoints are added to read the generate metrics.
Anatoly Bura
Add a new section to the howto guides for using the new lcore poll
busyness telemetry endpoints and describe general usage.
Signed-off-by: Kevin Laatz
---
doc/guides/howto/lcore_busyness.rst | 79 +
1 file changed, 79 insertions(+)
create mode 100644 doc/guides/howto
Add support for 8-byte and 16-byte tags for ZUC-EIA3-256.
Signed-off-by: Pablo de Lara
---
doc/guides/cryptodevs/aesni_mb.rst | 1 -
doc/guides/rel_notes/release_22_11.rst | 4
drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 22 ++---
drivers/crypto/ipsec_mb/pm
On 8/23/2022 4:26 AM, Ding, Xuan wrote:
Hi Hanumanth,
-Original Message-
From: Hanumanth Pothula
Sent: Saturday, August 13, 2022 1:25 AM
To: Thomas Monjalon ; Ferruh Yigit
; Andrew Rybchenko
Cc: dev@dpdk.org; Ding, Xuan ; Wu, WenxuanX
; Li, Xiaoyun ;
step...@networkplumber.org; Wang,
DPDK Community:
I am writing to let you know that I will be leaving my role as the Intel
representative on the DPDK Governing Board and as the board chair. I have taken
on a new role, still at Intel, which will bring my work focus in a new
direction. Robin Giller, whom some of you may know from
Hi Xueming,
The dpdk 20.11.6-rc1 test result from Red Hat : PASS.
We tested below 17 scenarios and all got PASS on RHEL8:
- Guest with device assignment(PF) throughput testing(1G hugepage size): PASS
- Guest with device assignment(PF) throughput testing(2M hugepage
size) : PASS
- Guest
Please choose a stable version 22.11 soon, or 21.11. bugs in 22.07 will
not be fixed
On Tue, Aug 23, 2022, 11:38 PM Michael Lekar wrote:
> Hi All,
>
>
>
> My name is Michaele and I work in Radware Ltd . Currently we use 17.11.3
> version of dpdk in our product. Now we want to evaluate 22.07 ve
On Mon, Aug 22, 2022 at 9:42 AM Min Zhou wrote:
>
> This patch fixes the following build failure seen on CentOS 8
> with gcc 12.1 because of uninitialized struct variable:
>
> [..]
> ../lib/vhost/virtio_net.c:1159:18: warning: 'buf_vec[0].buf_addr' may be used
> uninitialized [-Wmaybe-uninitial
GCC 12 raises the following warning:
../drivers/net/qede/base/ecore_init_fw_funcs.c: In function
'ecore_dmae_to_grc.constprop.isra':
../drivers/net/qede/base/ecore_init_fw_funcs.c:1418:25:
error: array subscript 1 is outside array bounds of 'u32[1]'
{aka 'unsigned int[1]'} [-Werror
GCC 12 raises the following warning:
meson --werror --buildtype=debugoptimized
--cross-file config/x86/cross-mingw -Dexamples=helloworld build
ninja -C build
In function 'i40e_hash_get_pattern_type',
inlined from 'i40e_hash_get_pattern_pctypes' at
../drivers/net/i40e/i40e_hash.c:520:8
Typecasting uint32_t array to uint16_t and accessing it as max array
size(at time of declaration of uint32_t array) causes gcc-12 to
throw an error.
GCC 12 raises the following warning:
In function 'send_multi_pkts',
inlined from 'route6_pkts_neon' at
../examples/ipsec-secgw/ipsec_lpm_neon.h:
22/08/2022 17:09, Ferruh Yigit:
> On 7/9/2022 12:49 AM, lon...@linuxonhyperv.com wrote:
> > + for (uint16_t seg_idx = 0; seg_idx < m_pkt->nb_segs;
> > seg_idx++) {
>
> This is C99 feature and we tend to not use it BUT,
>
> Thomas, David,
>
> In the past there were c89/c90/ansi cod
24/08/2022 13:52, Morten Brørup:
> > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > 24/08/2022 08:50, David Marchand:
> > > On Fri, Jul 29, 2022 at 3:22 PM David Marchand
> > > wrote:
> > > > > > I don't like them either.
> > > > > > Not sure where to put them though...
> > > > > >
> > > >
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Wednesday, 24 August 2022 09.39
>
> 24/08/2022 08:50, David Marchand:
> > On Fri, Jul 29, 2022 at 3:22 PM David Marchand
> > wrote:
> > >
> > > On Fri, Jul 29, 2022 at 11:59 AM Bruce Richardson
> > > wrote:
> > > > > > Personally, I re
On 8/3/2022 12:13 PM, Andrew Rybchenko wrote:
Flow Director configuration fdir_conf was deprecated long time ago and
was planned to be removed in 20.11.
i40e, ixgbe, qede and txgbe driver maintainers are encouraged to review
correspodning patches very carefully.
Internal copy of the Flow Direct
I tried to change the meson configuration, by adding c_args=-fno-builtin and
changing default_ldflags to "-static" instead of "--export-dynamic " in
app/meson.build. But in the case I got LD error about missed lgcc_s library.
Really I have only shared libgcc_s on my build machine. I am not fa
Thanks a lot for your answer. We need fully statically application, because we
want to run it on device with older kernel, than building one.
Regards,
Michael
-Original Message-
From: Bruce Richardson
Sent: Wednesday, August 24, 2022 11:07 AM
To: Michael Lekar
Cc: dev@dpdk.org
Subject
On Wed, Aug 24, 2022 at 08:32:34AM +, Michael Lekar wrote:
> Thanks a lot for your answer. We need fully statically application, because
> we want to run it on device with older kernel, than building one.
>
It's probably more the libc version that would be an issue rather than the
kernel itse
On 2022-08-23 22:39, Pavan Nikhilesh Bhagavatula wrote:
>> On 2022-08-16 17:49, pbhagavat...@marvell.com wrote:
>>> From: Pavan Nikhilesh
>>>
>>> Add ``elem_offset:12`` bit field event vector structure
>>> the bits are taken from ``rsvd:15``.
>>> The element offset defines the offset into the vect
Checks cross-compilation using Ubuntu 20.04 x86 for LoongArch.
Signed-off-by: Min Zhou
---
.ci/linux-build.sh | 9 +
.github/workflows/build.yml | 10 +-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 06104ec
Define the missing __NR_memfd_create syscall id to enable the memif
PMD on LoongArch.
Signed-off-by: Min Zhou
---
drivers/net/memif/meson.build | 6 --
drivers/net/memif/rte_eth_memif.h | 2 ++
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/memif/meson.build b
Add checks for all flag values defined in the LoongArch cpu
feature table.
Signed-off-by: Min Zhou
---
app/test/test_cpuflags.c | 41
1 file changed, 41 insertions(+)
diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c
index 98a99c2c7d..a0e3
Add missing em_mask_key() implementation to enable the l3fwd to be
run on LoongArch.
Signed-off-by: Min Zhou
---
examples/l3fwd/l3fwd_em.c | 8
examples/l3fwd/meson.build | 6 --
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3f
Define the missing __NR_bpf syscall id to enable the tap PMD on
LoongArch.
Signed-off-by: Min Zhou
---
drivers/net/tap/meson.build | 6 --
drivers/net/tap/tap_bpf.h | 2 ++
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/tap/meson.build b/drivers/net/tap/meson.bu
Add all necessary elements for DPDK to compile and run EAL on
LoongArch64 Soc.
This includes:
- EAL library implementation for LoongArch ISA.
- meson build structure for 'loongarch' architecture.
RTE_ARCH_LOONGARCH define is added for architecture identification.
- xmm_t structure operation stu
Similar to RISC-V, the current version for LoongArch do not support
vector. Re-use vector processing stubs in ixgbe PMD defined for PPC
for LoongArch. This enables ixgbe PMD usage in scalar mode on
LoongArch.
The ixgbe PMD driver was validated with Intel X520-DA2 NIC and the
test-pmd application,
From: zhoumin
Dear team,
The following patch set is intended to support DPDK running on LoongArch
architecture.
LoongArch is the general processor architecture of Loongson Corporation
and is a new RISC ISA, which is a bit like MIPS or RISC-V.
The online documents of LoongArch architecture are
A lot of DPDK apps do not provide feedback to their users while
running, but many interesting metrics are available through the
app's telemetry socket. Currently, the main way to view these
metrics is to query them using the dpdk-telemetry.py script.
This is useful to check a few values or to check
In order to allow other tools to use the generic telemetry functions
provided within dpdk-telemetry move the "main" part of the code to
a function and only run this code if the tool has been called by a
user. This allows other scripts to use the tool as a module to
prevent code duplication.
Signed
On Mon, Aug 22, 2022 at 03:02:38PM +, Michael Lekar wrote:
>Hi All,
>
>
>My name is Michaele and I work in Radware Ltd . Currently we use
>17.11.3 version of dpdk in our product. Now we want to evaluate 22.07
>version of dpdk. We want to build statically linkage dpdk-test
>
On 8/24/2022 7:46 AM, David Marchand wrote:
On Tue, Aug 23, 2022 at 8:08 PM Ferruh Yigit wrote:
Adding your explicit ack while merging:
Acked-by: David Marchand
For series,
Acked-by: Ferruh Yigit
Series applied to dpdk-next-net/main, thanks.
Thanks for the tweaks while merging.
Btw, Step
24/08/2022 08:50, David Marchand:
> On Fri, Jul 29, 2022 at 3:22 PM David Marchand
> wrote:
> >
> > On Fri, Jul 29, 2022 at 11:59 AM Bruce Richardson
> > wrote:
> > > > > Personally, I really don't like these macros at all. I think having
> > > > > the
> > > > > check explicitly in the code woul
60 matches
Mail list logo