> -Original Message-
> From: Maxime Coquelin [mailto:maxime.coque...@redhat.com]
> Sent: Tuesday, December 17, 2024 11:33 PM
> To: dev@dpdk.org
> Cc: Olivier Matz ; Maxime Gouin
> ; Maxime Coquelin
>
> Subject: [PATCH] net/virtio: fix Rx checksum calculation
>
> From: Olivier Matz
>
> I
From: Long Wu
The previous logic does not update the 'rte_eth_device' link status
when the port link status changed, which cause the firmware won't be
notified by the PMD.
Furthermore, the physical representor port should also notify firmware
its current speed with multi-pf firmware.
Fix these p
Implement the burst mode get operation functions for both Rx and Tx.
Signed-off-by: Chaoyong He
Reviewed-by: Peng Zhang
---
drivers/net/nfp/nfp_ethdev.c| 2 ++
drivers/net/nfp/nfp_ethdev_vf.c | 2 ++
drivers/net/nfp/nfp_rxtx.c | 46 +
drivers/net/nfp/n
Make sure the Rx queue threshold value query by API
'rte_eth_rx_queue_info_get()' and 'rte_eth_dev_info_get()' unify.
Same for the Tx queue threshold value.
Signed-off-by: Chaoyong He
Reviewed-by: Peng Zhang
---
drivers/net/nfp/nfp_rxtx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/d
On Tue, 17 Dec 2024 18:08:37 -0500
Dean Marx wrote:
> 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
> Reviewed-by: Jeremy Spewock
> ---
> dts/tests/TestSuite_queue_start_stop.py | 89 +
> -Original Message-
> From: Kevin Traynor
> Sent: Wednesday, December 18, 2024 1:48 AM
> To: Xu, HailinX ; sta...@dpdk.org
> Cc: dev@dpdk.org; Abhishek Marathe ;
> Ali Alnubani ; David Christensen
> ; Hemant Agrawal ;
> Stokes, Ian ; Jerin Jacob ;
> Mcnamara, John ; Ju-Hyoung Lee
> ; Luca
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
Reviewed-by: Jeremy Spewock
---
dts/tests/TestSuite_queue_start_stop.py | 89 +
1 file changed, 89 insertions(+)
create mode 100644 dts/tests/Test
https://bugs.dpdk.org/show_bug.cgi?id=1605
Bug ID: 1605
Summary: lib/eal build failure with address and undefined
behavior sanitizers
Product: DPDK
Version: 25.03
Hardware: All
OS: All
Status: UN
Reviewed-by: Patrick Robb
A question for main branch maintainers - should this series go directly to
the main branch? I don't think I should apply this to next-dts due to the
1/2 patch.
On Sat, Dec 14, 2024 at 5:43 AM Ariel Otilibili wrote:
> * follow up of a discussion with Robin Jarry
> * sin
On 17/12/2024 11:30, Kevin Traynor wrote:
> On 17/12/2024 10:01, Xu, HailinX wrote:
>>> -Original Message-
>>> From: Kevin Traynor
>>> Sent: Wednesday, December 4, 2024 11:59 PM
>>> To: sta...@dpdk.org
>>> Cc: dev@dpdk.org; Abhishek Marathe ;
>>> Ali Alnubani ; David Christensen
>>> ; Hema
From: Olivier Matz
If hdr->csum_start is larger than packet length, the len argument passed
to rte_raw_cksum_mbuf() overflows and causes a segmentation fault.
Ignore checksum computation in this case.
CVE-2024-11614
Fixes: ca7036b4af3a ("vhost: fix offload flags in Rx path")
Signed-off-by: Ma
A vulnerability was fixed in DPDK.
Some downstream stakeholders were warned in advance through
security-prerele...@dpdk.org in order to coordinate the release
of fixes and reduce the vulnerability window [0].
A malicious guest using a virtio driver can cause the vhost-user side to
crash by sendi
Hi all,
Here is a new stable release:
https://fast.dpdk.org/rel/dpdk-22.11.7.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=22.11
This release includes the fix for CVE-2024-11614.
Luca Boccassi
---
.mailmap | 10 +-
Hi all,
Here is a new stable release:
https://fast.dpdk.org/rel/dpdk-23.11.3.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=23.11
This release contains v23.11.3 plus a fix for CVE-2024-11614.
Xueming Li
---
.mailmap
Hi all,
Here is a new stable release:
https://fast.dpdk.org/rel/dpdk-21.11.9.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=21.11
It contains ~130 fixes since v21.11.8 including a fix for
CVE-2024-11614.
This is the last planned 21.11 LTS release. From this
po
Hi all,
Here is a new stable release:
https://fast.dpdk.org/rel/dpdk-24.11.1.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=24.11
This release contains v24.11 plus a fix for CVE-2024-11614.
Kevin
---
VERSION| 2 +-
doc/guides
On 16/12/2024 18:14, Ali Alnubani wrote:
>> -Original Message-
>> From: Kevin Traynor
>> Sent: Wednesday, December 4, 2024 5:59 PM
>> To: sta...@dpdk.org
>> Cc: dev@dpdk.org; Abhishek Marathe ; Ali
>> Alnubani ; David Christensen ;
>> Hemant Agrawal ; Ian Stokes
>> ; Jerin Jacob ; John McN
provided rss hash config/update, reta update/get ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 3 +
doc/guides/nics/zxdh.rst | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 51
drivers/net/zxdh/zxdh_ethdev.h | 4 +-
drivers/net/zxdh/zxdh_ethdev_o
provided mac set/add/remove ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 2 +
doc/guides/nics/zxdh.rst | 2 +
drivers/net/zxdh/zxdh_common.c | 24 +++
drivers/net/zxdh/zxdh_common.h | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 32 +++-
driver
mtu update ops implementations.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 1 +
doc/guides/nics/zxdh.rst | 2 +
drivers/net/zxdh/zxdh_ethdev.c | 5 ++
drivers/net/zxdh/zxdh_ethdev_ops.c | 78 ++
drivers/net/zxdh/zxdh_ethdev_o
provided vlan filter, vlan offload ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 3 +
doc/guides/nics/zxdh.rst | 3 +
drivers/net/zxdh/zxdh_ethdev.c | 40 +-
drivers/net/zxdh/zxdh_ethdev_ops.c | 223 +
drivers/net/zxd
provided promiscuous/allmulticast ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 2 +
doc/guides/nics/zxdh.rst | 2 +
drivers/net/zxdh/zxdh_ethdev.c | 21 ++-
drivers/net/zxdh/zxdh_ethdev.h | 2 +
drivers/net/zxdh/zxdh_ethdev_ops.c | 132 ++
provided dev simple rx implementations.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 1 +
doc/guides/nics/zxdh.rst | 1 +
drivers/net/zxdh/zxdh_ethdev.c| 2 +
drivers/net/zxdh/zxdh_rxtx.c | 313 ++
drivers/net/zxdh/zxdh_r
provided dev simple tx implementations.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 20 ++
drivers/net/zxdh/zxdh_queue.h | 26 ++-
drivers/net/zxdh/zxdh_rxtx.c | 396 +
drivers/net/zxdh/zxdh_rxtx.h
dev start/stop implementations, start/stop the rx/tx queues.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 2 +
doc/guides/nics/zxdh.rst | 2 +
drivers/net/zxdh/zxdh_ethdev.c| 61 +
drivers/net/zxdh/zxdh_pci.c | 24
drivers/
provided link info update, set link up /down,
and link intr.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 2 +
doc/guides/nics/zxdh.rst | 3 +
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 14 ++-
drivers/net/zxdh/zxdh_eth
(np)network processor release resources in host.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 48
drivers/net/zxdh/zxdh_np.c | 470 +
drivers/net/zxdh/zxdh_np.h | 107
3 files changed, 625 insertions(+)
diff --git a/driv
delete port tables in host.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 18 ++
drivers/net/zxdh/zxdh_msg.h| 1 +
drivers/net/zxdh/zxdh_np.c | 103 +
drivers/net/zxdh/zxdh_np.h | 9 +++
drivers/net/zxdh/zxdh_tables.c | 33
rx/tx queue setup and intr enable implementations.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 4 +
drivers/net/zxdh/zxdh_queue.c | 149 +
drivers/net/zxdh/zxdh_queue.h | 33
3 files changed, 186 insertions(+)
diff --git a/drive
V3:
- use rte_zmalloc and rte_calloc to avoid memset.
- remove unnecessary initialization, which first usage will set.
- adjust some function which is always return 0, changed to void
and skip the ASSERTION later.
- resolved some WARNING:MACRO_ARG_UNUSED issues.
- resolved some other
On 17/12/2024 10:01, Xu, HailinX wrote:
>> -Original Message-
>> From: Kevin Traynor
>> Sent: Wednesday, December 4, 2024 11:59 PM
>> To: sta...@dpdk.org
>> Cc: dev@dpdk.org; Abhishek Marathe ;
>> Ali Alnubani ; David Christensen
>> ; Hemant Agrawal ;
>> Stokes, Ian ; Jerin Jacob ;
>> Mcna
Hi Luca,
There is no error with this series.
The error is caused by the CI doesn't apply any changes with doc/*.
In history, Community decided to exclude doc/*, as doc/* change frequently,
especially the release notes, cause a lot of conflict with main tree.
We manually merged this patch and suc
> -Original Message-
> From: Kevin Traynor
> Sent: Wednesday, December 4, 2024 11:59 PM
> To: sta...@dpdk.org
> Cc: dev@dpdk.org; Abhishek Marathe ;
> Ali Alnubani ; David Christensen
> ; Hemant Agrawal ;
> Stokes, Ian ; Jerin Jacob ;
> Mcnamara, John ; Ju-Hyoung Lee
> ; Kevin Traynor ; Lu
On Mon, Dec 16, 2024 at 10:49 AM David Marchand
wrote:
> > > For now, this series only focus on fixing subsystems using lcore
> > > variables so that those allocations are deferred either in rte_eal_init()
> > > or in the path that does require such lcore variables.
> > >
> > >
> >
> > An idle que
On Mon, Dec 16, 2024 at 3:49 PM David Marchand
wrote:
> $ abidiff --suppr
> /home/dmarchan/git/pub/dpdk.org/main/devtools/libabigail.abignore
> --no-added-syms --headers-dir1
> /home/dmarchan/abi/v24.11/build-gcc-shared/usr/local/include
> --headers-dir2
> /home/dmarchan/builds/main/build-gcc-sha
The lcore variable in this code unit is only used through
rte_power_monitor*() public symbols.
Defer the unconditional lcore variable allocation in those symbols.
Fixes: 18b5049ab4fe ("eal/x86: keep power intrinsics state in lcore variable")
Cc: sta...@dpdk.org
Signed-off-by: David Marchand
---
Now that the per-lcore state was moved into a lcore variable,
there is no reason to align a per-lcore state on a cache line to avoid
false sharing.
Remove this alignment and save a few bytes.
Fixes: 130643319579 ("power: keep per-lcore state in lcore variable")
Signed-off-by: David Marchand
---
The RNG is documented as being seeded as part of EAL init.
Move the initialisation (seeding) helper out of a constructor and
call it explicitly from rte_eal_init() as it was done before commit
3f002f069612 ("eal: replace libc-based random generation with LFSR").
This also moves the unconditional
The lcore variable in this code unit is only used through
rte_power_ethdev_pmgmt_queue_*() public symbols.
Defer the unconditional lcore variable allocation in those symbols.
Fixes: 130643319579 ("power: keep per-lcore state in lcore variable")
Cc: sta...@dpdk.org
Signed-off-by: David Marchand
Add an assert to double check the passed handle is not NULL, as it
points at an initialisation/allocation issue prior to accessing this
lcore variable.
Signed-off-by: David Marchand
---
lib/eal/include/rte_lcore_var.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/eal/include/rte_lcor
As I had reported in rc2, the lcore variables allocation have a
noticeable impact on applications consuming DPDK, even when such
applications does not use DPDK, or use features associated to
some lcore variables.
While the amount has been reduced in a rush before rc2,
there are still cases when th
https://bugs.dpdk.org/show_bug.cgi?id=1604
Bug ID: 1604
Summary: Issues with packet capture counting in dpdk-dumpcap
Product: DPDK
Version: 23.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Hi Hailin,
Thanks very much for the verification.
Regarding the known issue, I'll try to handle it in next release.
Thanks,
Xueming
From: Xu, HailinX
Sent: Tuesday, December 17, 2024 3:54 PM
To: Xueming Li ; sta...@dpdk.org
Cc: dev@dpdk.org ; Abhishek Marathe
Thanks Maxime,
We will analyse further and try pinpointing the regression commit between
DPDK-21.11 & DPDK-21.08.
Will get back with further queries once we have an update.
On Fri, Dec 13, 2024 at 4:17 PM Maxime Coquelin
wrote:
> (with DPDK ML that got removed)
>
> On 12/13/24 11:46, Maxime Coqu
steps:
1.master thread create rte_hash for every socket with same size. each socket
hash with the each socket_id pass by rte_hash_param.socket_id
2.use numasta -p `pidof your_app` like below:
[cid:a0ba8efb-58a9-4cca-b773-724878024a3e]
review the sourcec code dpdk23.11 found that:
it will allocate
Hello,
Any news on the patch? If anything is needed for its review, I am available.
Regards,
On Sunday, December 08, 2024 03:25 CET, Ariel Otilibili
wrote:
> Hello,
>
> This is my first patch to the list; your feedback is much appreciated.
>
> My aim is to understand the internals of DPDK.
46 matches
Mail list logo