[PATCH v3 6/6] net/macb: add necessary docs and update related files

2024-12-09 Thread Wencheng Li
Added missing documentation in doc/guides/nics, mailmap entry, and updated MAINTAINERS file. Signed-off-by: Wencheng Li --- .mailmap | 1 + MAINTAINERS| 6 ++ doc/guides/nics/features/macb.ini | 27 +++

[PATCH v3 5/6] net/macb: fix tab errors in meson.build file

2024-12-09 Thread Wencheng Li
Replace tabs with spaces to resolve indentation issues in meson.build file. Fixes: 97fd6a929cf8 ("net/macb: add new driver") Cc: liwench...@phytium.com.cn Signed-off-by: Wencheng Li --- drivers/net/macb/base/meson.build | 25 - drivers/net/macb/meson.build | 6 +++-

[PATCH v3 4/6] net/macb: zero ol_flags in each recv function

2024-12-09 Thread Wencheng Li
Because macb driver does not support hardware offload, ol_flags field of mbuf structure needs to be zeroed in recv function. Fixes: 97fd6a929cf8 ("net/macb: add new driver") Cc: liwench...@phytium.com.cn Signed-off-by: Wencheng Li --- drivers/net/macb/macb_rxtx.c | 2 ++ drivers/net/m

[PATCH v3 3/6] net/macb: fix logic error in macb_rxq_rearm function

2024-12-09 Thread Wencheng Li
Fixed an issue in the macb_rxq_rearm function where descriptors were incorrectly set when mbuf allocation failed, leading to abnormal behavior of the network card. Fixes: e02b0b31cbdc ("net/macb: add NEON vectorized Rx/Tx") Cc: liwench...@phytium.com.cn Signed-off-by: Wencheng Li --- drivers/ne

[PATCH v3 2/6] net/macb: add NEON vectorized Rx/Tx

2024-12-09 Thread Wencheng Li
To optimize Rx/Tx burst process, add NEON vector instructions on arm architecture. Signed-off-by: Wencheng Li --- drivers/net/macb/macb_rxtx.c | 2 + drivers/net/macb/macb_rxtx_vec_neon.c | 672 ++ drivers/net/macb/meson.build | 4 + 3 files

[PATCH v2 15/15] net/zxdh: mtu update ops implementations

2024-12-09 Thread Junlong Wang
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 | 4 ++ drivers/net/zxdh/zxdh_ethdev_ops.c | 78 ++ drivers/net/zxdh/zxdh_ethdev_o

RE: txgbe: vlan offload setting errors

2024-12-09 Thread Jiawen Wu
> > > Hello everyone, > > > I recently added a txgbe port and enabled vlan offload. > > > However, when I checked the dpdk logs, I noticed the following error: > > > "2024-12-09T10:32:26.420709+08:00 txgbe_vlan_offload_set(): > > > Please stop port first." > > > > You should stop the device first,

RE: txgbe: vlan offload setting errors

2024-12-09 Thread Wangyunjian(wangyunjian,TongTu)
> -Original Message- > From: Jiawen Wu [mailto:jiawe...@trustnetic.com] > Sent: Tuesday, December 10, 2024 10:00 AM > To: Wangyunjian(wangyunjian,TongTu) ; > dev@dpdk.org > Cc: liwei (DT) ; xiawei (H) > Subject: RE: txgbe: vlan offload setting errors > > > -Original Message- > > F

[PATCH v2 13/15] net/zxdh: rss hash config/update, reta update/get

2024-12-09 Thread Junlong Wang
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 | 53 +++- drivers/net/zxdh/zxdh_ethdev.h | 3 + drivers/net/zxdh/zxdh_ethdev_op

[PATCH v2 10/15] net/zxdh: mac set/add/remove ops implementations

2024-12-09 Thread Junlong Wang
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

[PATCH v2 12/15] net/zxdh: vlan filter/ offload ops implementations

2024-12-09 Thread Junlong Wang
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 | 221 + drivers/net/zxd

[PATCH v2 11/15] net/zxdh: promisc/allmulti ops implementations

2024-12-09 Thread Junlong Wang
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 | 18 +++ drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 132 ++

[PATCH v2 09/15] net/zxdh: link info update, set link up/down

2024-12-09 Thread Junlong Wang
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 | 13 ++ drivers/net/zxdh/zxdh_ethd

[PATCH v2 07/15] net/zxdh: provided dev simple tx implementations

2024-12-09 Thread Junlong Wang
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

[PATCH v2 08/15] net/zxdh: provided dev simple rx implementations

2024-12-09 Thread Junlong Wang
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

[PATCH v2 06/15] net/zxdh: dev start/stop ops implementations

2024-12-09 Thread Junlong Wang
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/

[PATCH v2 04/15] net/zxdh: port tables unint implementations

2024-12-09 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 19 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 113 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 36

[PATCH v2 05/15] net/zxdh: rx/tx queue setup and intr enable

2024-12-09 Thread Junlong Wang
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

[PATCH v2 02/15] net/zxdh: zxdh np uninit implementation

2024-12-09 Thread Junlong Wang
(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 | 494 - drivers/net/zxdh/zxdh_np.h | 107 +++ 3 files changed, 647 insertions(+), 2 deletions(-) di

[PATCH v2 00/15] net/zxdh: updated net zxdh driver

2024-12-09 Thread Junlong Wang
V2: - resolve code style and github-robot build issue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit implementation net/

raw/gdtc: use standard macros to optimize code style

2024-12-09 Thread Yong Zhang
Use RTE_BIT to optimize non-standard macro definitions Signed-off-by: Yong Zhang --- drivers/raw/gdtc/gdtc_rawdev.c | 16 drivers/raw/gdtc/gdtc_rawdev.h | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/raw/gdtc/gdtc_rawdev.c b/drivers/raw/gdt

RE: txgbe: vlan offload setting errors

2024-12-09 Thread Jiawen Wu
> -Original Message- > From: Wangyunjian(wangyunjian,TongTu) > Sent: Monday, December 9, 2024 8:30 PM > To: dev@dpdk.org; jiawe...@trustnetic.com; jianw...@trustnetic.com > Cc: liwei (DT) ; xiawei (H) > Subject: txgbe: vlan offload setting errors > > Hello everyone, > I recently added a

Re: [PATCH RESEND v7 2/5] ethdev: fix skip valid port in probing callback

2024-12-09 Thread lihuisong (C)
Hi Ferruh, Stephen and Thomas, Can you take a look at this patch? After all, it is an issue in ethdev layer. This also is the fruit we disscussed with Thomas and Ferruh before. Please go back to this thread. If we don't need this patch, please let me know. I will drop it from my upstreaming li

Re: [EXTERNAL] Re: [PATCH 1/2] lib/dmadev: eliminate undefined behavior

2024-12-09 Thread fengchengwen
On 2024/12/10 7:21, Jerin Jacob wrote: > > >> -Original Message- >> From: Bruce Richardson >> Sent: Monday, December 9, 2024 4:58 AM >> To: Andre Muezerie ; Jerin Jacob >> >> Cc: Chengwen Feng ; Kevin Laatz >> ; dev@dpdk.org >> Subject: [EXTERNAL] Re: [PATCH 1/2] lib/dmadev: eliminate u

RE: [EXTERNAL] Re: [PATCH 1/2] lib/dmadev: eliminate undefined behavior

2024-12-09 Thread Jerin Jacob
> -Original Message- > From: Bruce Richardson > Sent: Monday, December 9, 2024 4:58 AM > To: Andre Muezerie ; Jerin Jacob > > Cc: Chengwen Feng ; Kevin Laatz > ; dev@dpdk.org > Subject: [EXTERNAL] Re: [PATCH 1/2] lib/dmadev: eliminate undefined behavior > > On Fri, Dec 06, 2024 at 11:

[PATCH v1 1/1] dts: add EAL sanity check suite

2024-12-09 Thread Dean Marx
Add a test suite to replace hello_world which simply starts and stops a testpmd session. The user can use this as a sanity check to verify their configuration. Signed-off-by: Dean Marx --- dts/tests/TestSuite_eal.py | 28 1 file changed, 28 insertions(+) create mode

[PATCH v1 0/1] dts: add EAL sanity check suite

2024-12-09 Thread Dean Marx
Adds a test suite to DTS which the user can have as a sanity check for their EAL configuration. This can be used as a replacement for the hello_world suite. Dean Marx (1): dts: add EAL sanity check suite dts/tests/TestSuite_eal.py | 28 1 file changed, 28 insertion

[RFC PATCH 1/1] dts: add SUT cleanup to framework

2024-12-09 Thread Dean Marx
Add method cleanup_sut to framework that removes a DPDK source from a SUT node at the conclusion of a testrun. This will only run when the DPDK source is being copied from the DTS engine node during the testrun (when remote=false in the conf.yaml). Signed-off-by: Dean Marx --- dts/framework/runn

[RFC PATCH 0/1] dts: add SUT cleanup to framework

2024-12-09 Thread Dean Marx
Adds/modifies methods in sut_node, node, and runner to remove dpdk tarball/tree from remote server after execution ends. If the user specifies the remote option in the configuration, the removal step is skipped. This attempts to fix the problem of multiple users running on the same server, where sh

Re: [PATCH 0/3] Defer lcore variables allocation

2024-12-09 Thread David Marchand
On Mon, Dec 9, 2024 at 4:39 PM Mattias Rönnblom wrote: > On 2024-12-09 12:03, David Marchand wrote: > > On Fri, Dec 6, 2024 at 12:02 PM Mattias Rönnblom > > wrote: > >> On 2024-12-05 18:57, David Marchand wrote: > >>> As I had reported in rc2, the lcore variables allocation have a > >>> noticeab

Re: 22.11.7 patches review and test

2024-12-09 Thread Luca Boccassi
On Mon, 9 Dec 2024 at 03:38, Yanghang Liu wrote: > > I tested below 18 scenarios on RHEL 9.2 and didn't find any new dpdk issues. > > VM with device assignment(PF) throughput testing(1G hugepage size): PASS > VM with device assignment(PF) throughput testing(2M hugepage size) : PASS > VM with devic

Re: [PATCH 0/3] Defer lcore variables allocation

2024-12-09 Thread Mattias Rönnblom
On 2024-12-09 12:03, David Marchand wrote: Hello, On Fri, Dec 6, 2024 at 12:02 PM Mattias Rönnblom wrote: On 2024-12-05 18:57, David Marchand wrote: As I had reported in rc2, the lcore variables allocation have a noticeable impact on applications consuming DPDK, even when such applications d

Re: GCP cloud : Virtio-PMD performance Issue

2024-12-09 Thread Mukul Sinha
Thanks @maxime.coque...@redhat.com Have included dev@dpdk.org On Fri, Dec 6, 2024 at 2:11 AM Maxime Coquelin wrote: > Hi Mukul, > > DPDK upstream mailing lists should be added to this e-mail. > I am not allowed to provide off-list support, all discussions should > happen upstream. > > If this i

Re: GCP cloud : Virtio-PMD performance Issue

2024-12-09 Thread Mukul Sinha
GCP-dev team @jeroe...@google.com @rush...@google.com @joshw...@google.com Please do check on this & get back. On Fri, Dec 6, 2024 at 4:24 AM Mukul Sinha wrote: > Thanks @maxime.coque...@redhat.com > Have included dev@dpdk.org > > > On Fri, Dec 6, 2024 at 2:11 AM Maxime Coquelin > wrote: >

Re: [PATCH 1/2] lib/dmadev: eliminate undefined behavior

2024-12-09 Thread Bruce Richardson
On Fri, Dec 06, 2024 at 11:27:52AM -0800, Andre Muezerie wrote: > MSVC compiler issues warnings like the one below: > > lib\dmadev\rte_dmadev_trace_fp.h(36): > warning C5101: use of preprocessor directive in > function-like macro argument list is undefined behavior > > Indeed, looking at

txgbe: vlan offload setting errors

2024-12-09 Thread Wangyunjian(wangyunjian,TongTu)
Hello everyone, I recently added a txgbe port and enabled vlan offload. However, when I checked the dpdk logs, I noticed the following error: "2024-12-09T10:32:26.420709+08:00 txgbe_vlan_offload_set(): Please stop port first." Upon reviewing the txgbe pmd driver code, I discovered that the va

Re: [PATCH 0/3] Defer lcore variables allocation

2024-12-09 Thread David Marchand
Hello, On Fri, Dec 6, 2024 at 12:02 PM Mattias Rönnblom wrote: > > On 2024-12-05 18:57, David Marchand wrote: > > 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 feature

[DPDK/meson Bug 1593] meson_tests/driver link_bonding_autotest test failed

2024-12-09 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1593 Bug ID: 1593 Summary: meson_tests/driver link_bonding_autotest test failed Product: DPDK Version: 22.11 Hardware: x86 OS: All Status: UNCONFIRMED Severity: normal

graph: dispatch mode with libevent for control plane

2024-12-09 Thread Robin Jarry
Hi folks, I had a look at the graph dispatch mode and wondered if it could be adapted to be used with event loops for "slow path" processing. The use case I have in mind is having lcores dedicated for control plane operations which are not latency sensitive. It would be nice to allow data pl

RE: [PATCH] net/mlx5: do not poll CQEs when no available elts

2024-12-09 Thread Slava Ovsiienko
Acked-by: Viacheslav Ovsiienko > -Original Message- > From: Gavin Hu > Sent: Friday, December 6, 2024 2:58 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Dariusz Sosnowski ; Slava > Ovsiienko ; Bing Zhao ; Ori > Kam ; Suanming Mou ; Matan > Azrad ; Alexander Kozyrev > Subject: [PATCH] net