Re: [PATCH] devtools: fix version variable not initialized

2024-06-27 Thread huangdengdui
On 2024/6/27 22:28, David Marchand wrote: > On Wed, Apr 17, 2024 at 11:32 AM Dengdui Huang > wrote: >> >> The version variable is not initialized. Therefore, if the -V option >> is not specified, the value of $version is obtained from the context, >> which may cause the version map parsing fail

[PATCH] dma/idxd: fix failure to configure a device instance for DSA

2024-06-27 Thread Wenwu Ma
In ubuntu 24.04, DSA's workqueue has a new driver_name file in sysfs, DPDK needs to write a correct value to this file when configuring a device instance using the dpdk_idxd_cfg.py script, otherwise it will fail to be configured, this patch fixes the issue. Signed-off-by: Wenwu Ma --- drivers/dm

Re: [PATCH v4 1/2] power: introduce PM QoS API on CPU wide

2024-06-27 Thread lihuisong (C)
在 2024/6/27 23:06, Stephen Hemminger 写道: On Thu, 27 Jun 2024 14:00:10 +0800 Huisong Li wrote: + char buf[BUFSIZ] = {0}; BUFSIZ is 4K and you probably don't need all of that. I rember the maximum buffer length of sysfs show in Linux is BUFSIZ. Just from the same size, here is ok to re

RE: [PATCH v3] config/arm: add Ampere AmpereOneX platform

2024-06-27 Thread Yutang Jiang
Superseded. The latest updated patch name is "config/arm: add Ampere AmpereOneAC04 platform" Best Regards, Yutang Jiang > On 2024/6/27 10:44 AM, Yutang Jiang wrote: > > Signed-off-by: Yutang Jiang > > --- > > config/arm/arm64_ampereonex_linux_gcc | 17 + > > config/arm/meson

RE: [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform

2024-06-27 Thread Yutang Jiang
Due to changes in product family naming conventions, this updated version has no other changes except for some string adjustments. Hi Thomas, According to your suggestion, this version has also added a small description of the platform. Best Regards, Yutang Jiang > -Original Message-

RE: [PATCH v3 1/2] bus/pci: fix secondary process PCI uio resource map problem

2024-06-27 Thread Chaoyong He
> 19/04/2024 05:26, Chaoyong He: > > From: Zerun Fu > > > > For the primary process, the logic loops all BARs and will skip the > > map of BAR with an invalid physical address (0), also will assign > > 'uio_res->nb_maps' with the real mapped BARs number. But for the > > secondary process, instead

Re: [PATCH v5] eal: verify mmu type for DPDK support (ppc64le)

2024-06-27 Thread David Christensen
On 5/29/24 11:32 AM, David Christensen wrote: IBM POWER systems support more than one type of memory management unit (MMU). The Power ISA 3.0 specification, which applies to P9 and later CPUs, defined a new Radix MMU which, among other things, allows an anonymous memory page mapping to be con

Community CI Meeting Minutes - June 27, 2024

2024-06-27 Thread Patrick Robb
# Attendees 1. Patrick Robb 2. Paul Szczepanek 3. Luca Vizzarro 4. Nicholas Pratte 5. Aaron Conole 6. Dean Marx 7. Jeremy Spewock 8. Juraj Linkeš 9. Manit Mahajan 10. Tomas Durovec 11. Adam Hassick

Testpmd usage in new DTS

2024-06-27 Thread Patrick Robb
Hi Thomas, Last November when we chatted in tech board about 2024 DTS goals, you said testpmd should be the primary tool used to drive the testsuites, and that if testpmd was missing some support for any DPDK features we want to test in DTS, then the support should be added into testpmd. So, we h

RE: [PATCH 1/1] maintainers: update for vmbus/mana/netvsc drivers

2024-06-27 Thread Long Li
> Subject: [PATCH 1/1] maintainers: update for vmbus/mana/netvsc drivers > > Add myself as maintainer for vmbus, mana and netvsc. > > Signed-off-by: Wei Hu Reviewed-by: Long Li > --- > MAINTAINERS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index

RE: [PATCH] bpf: don't verify classic bpfs

2024-06-27 Thread Konstantin Ananyev
> > > > When classic BPFs with lots of branching instructions are compiled, > > > > __rte_bpf_bpf_validate runs way too slow. A simple bpf such as: > > > > 'ether host a0:38:6d:af:17:eb or b3:a3:ff:b6:c1:ef or ...' 12 times > > > > > > > > results in ~1 minute of bpf validation. > > > > This patch

[PATCH v2 3/3] test/bpf: add extra test cases for bpf convert

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev Add few extra cases to catch problems similar to: https://bugs.dpdk.org/show_bug.cgi?id=1465 Plus made it dump cBPF filter and converted eBPF program to make things easier to track. Suggested-by: Isaac Boukris Signed-off-by: Konstantin Ananyev Acked-by: Morten Brørup

[PATCH v2 2/3] bfp: fix load hangs with six IPv6 addresses

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev As described in: https://bugs.dpdk.org/show_bug.cgi?id=1465 converting from following cBPF filter: "host 1::1 or host 1::1 or host 1::1 or host 1::1 or host 1::1 or host 1::1" taking too long for BPF verifier ito complete (up to 25 seconds). Looking at it I didn't find an

[PATCH v2 1/3] bfp: fix MOV instruction evaluation

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev Verifier might left some register-state values uninitialized while evaluating MOV instructions. Add explicit initialization. Fixes: 8021917293d0 ("bpf: add extra validation for input BPF program") Cc: sta...@dpdk.org Signed-off-by: Konstantin Ananyev Acked-by: Morten B

[PATCH v2 0/3] fix bpf load hangs with six IPv6 addresses

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev v2: - fix compilation warnings - fix nit in comments (Stephen) Konstantin Ananyev (3): bfp: fix MOV instruction evaluation bfp: fix load hangs with six IPv6 addresses test/bpf: add extra test cases for bpf convert app/test/test_bpf.c| 6 + lib/bpf/bpf_val

Re: [PATCH v4 000/103] Update net/ice base driver to latest upstream snapshot

2024-06-27 Thread Bruce Richardson
On Wed, Jun 26, 2024 at 06:33:36PM +0100, Bruce Richardson wrote: > On Wed, Jun 26, 2024 at 12:40:48PM +0100, Anatoly Burakov wrote: > > This is a patchset loosely based on internal development tree which > > tracked ICE driver development over a period of time since last > > snapshot update. > >

Re: [PATCH] net/ice: support FEC feature

2024-06-27 Thread Medvedkin, Vladimir
Hi Mingjin, On 11/04/2024 10:45, Mingjin Ye wrote: This patch enable three Forward Error Correction(FEC) related ops in ice driver. As no speed information can get from HW, this patch only show FEC capability. Signed-off-by: Mingjin Ye --- doc/guides/nics/features/ice.ini | 1 + doc/guides

RE: [PATCH] buildtools: fix build with clang 17

2024-06-27 Thread Ali Alnubani
> -Original Message- > From: David Marchand > Sent: Thursday, June 27, 2024 3:37 PM > To: Ali Alnubani > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; sta...@dpdk.org; Bruce Richardson > ; Mingjin Ye > Subject: Re: [PATCH] buildtools: fix build with clang 17 > > On Wed, M

DPDK Release Status Meeting 2024-06-27

2024-06-27 Thread Mcnamara, John
Release status meeting minutes 2024-06-27 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Debian/Microsoft * Intel * Marvell * Nvidia * Red Hat Release Dates - The following are the current/update

Re: [PATCH] bpf: don't verify classic bpfs

2024-06-27 Thread Thomas Monjalon
16/05/2024 11:36, Konstantin Ananyev: > > > On Sun, 12 May 2024 08:55:45 +0300 > > Yoav Winstein wrote: > > > > > When classic BPFs with lots of branching instructions are compiled, > > > __rte_bpf_bpf_validate runs way too slow. A simple bpf such as: > > > 'ether host a0:38:6d:af:17:eb or b3:a3

Re: [PATCH v2 2/2] eal: add Arm WFET in power management intrinsics

2024-06-27 Thread Thomas Monjalon
19/06/2024 08:45, Wathsala Vithanage: > --- a/lib/eal/arm/include/rte_cpuflags_64.h > +++ b/lib/eal/arm/include/rte_cpuflags_64.h > @@ -36,6 +36,7 @@ enum rte_cpu_flag_t { > RTE_CPUFLAG_SVEF64MM, > RTE_CPUFLAG_SVEBF16, > RTE_CPUFLAG_AARCH64, > + RTE_CPUFLAG_WFXT, > }; It may

Re: [PATCH v4 00/13] Optionally have rte_memcpy delegate to compiler memcpy

2024-06-27 Thread Mattias Rönnblom
On Thu, Jun 27, 2024 at 08:10:19AM -0700, Stephen Hemminger wrote: > On Thu, 27 Jun 2024 13:06:22 +0200 > Mattias Rönnblom wrote: > > > On Wed, Jun 26, 2024 at 10:16:06PM +0200, Morten Brørup wrote: > > > > From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > > > > Sent: Wednesday, 26 June 202

Re: [PATCH v4 00/13] Optionally have rte_memcpy delegate to compiler memcpy

2024-06-27 Thread Stephen Hemminger
On Thu, 27 Jun 2024 13:06:22 +0200 Mattias Rönnblom wrote: > On Wed, Jun 26, 2024 at 10:16:06PM +0200, Morten Brørup wrote: > > > From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > > > Sent: Wednesday, 26 June 2024 20.48 > > > > > > On Wed, Jun 26, 2024 at 05:24:04PM +0200, Maxime Coquelin

Re: [PATCH v2] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-06-27 Thread Thomas Monjalon
04/05/2024 02:59, Stephen Hemminger: > On Fri, 3 May 2024 19:27:30 +0100 > Daniel Gregory wrote: > > > The ARM implementation of rte_pause uses RTE_BUILD_BUG_ON to check > > memorder, which is not constant. This causes compile errors when it is > > enabled with RTE_ARM_USE_WFE. eg. > > > > ../l

Re: [PATCH] doc: documentation update for idxd driver

2024-06-27 Thread Stephen Hemminger
On Thu, 27 Jun 2024 04:42:14 + Shaiq Wani wrote: > Added a note to avoid usage errors by end user. > > Signed-off-by: Shaiq Wani If it is going in the documentation, it needs more explanation as to what that parameters do.

Re: [PATCH v3 0/2] deque: add multithread unsafe deque library

2024-06-27 Thread Thomas Monjalon
02/05/2024 22:19, Aditya Ambadipudi: > As previously discussed in the mailing list [1] we are sending out this > patch that provides the implementation and unit test cases for the > RTE_DEQUE library. This includes functions for creating a RTE_DEQUE > object. Allocating memory to it. Deleting that

Re: [PATCH v9 0/4] hash: add SVE support for bulk key lookup

2024-06-27 Thread Thomas Monjalon
30/04/2024 18:27, Yoan Picchi: > This patchset adds SVE support for the signature comparison in the cuckoo > hash lookup and improves the existing NEON implementation. These > optimizations required changes to the data format and signature of the > relevant functions to support dense hitmasks (no p

RE: [PATCH v1] crypto/ipsec_mb: use new ipad/opad calculation API

2024-06-27 Thread Wathsala Wathawana Vithanage
Acked-by: Wathsala Vithanage > Subject: [PATCH v1] crypto/ipsec_mb: use new ipad/opad calculation API > > From: Pablo de Lara > > IPSec Multi-buffer library v1.4 added a new API to calculate inner/outer > padding for HMAC-SHAx/MD5. > > Signed-off-by: Pablo de Lara > Signed-off-by: Brian Dool

Re: [PATCH] devtools: fix version variable not initialized

2024-06-27 Thread David Marchand
On Wed, Apr 17, 2024 at 11:32 AM Dengdui Huang wrote: > > The version variable is not initialized. Therefore, if the -V option > is not specified, the value of $version is obtained from the context, > which may cause the version map parsing failure. > > Fixes: 6edec7f202ac ("devtools: list symbols

Re: [PATCH v3 1/2] bus/pci: fix secondary process PCI uio resource map problem

2024-06-27 Thread Thomas Monjalon
19/04/2024 05:26, Chaoyong He: > From: Zerun Fu > > For the primary process, the logic loops all BARs and will skip > the map of BAR with an invalid physical address (0), also will > assign 'uio_res->nb_maps' with the real mapped BARs number. But > for the secondary process, instead of loops all

Re: [PATCH v2] graph: fix head move when graph walk in mcore dispatch

2024-06-27 Thread Thomas Monjalon
28/03/2024 09:32, Yan, Zhirun: > From: Wu, Jingjing > > --- a/lib/graph/rte_graph_model_mcore_dispatch.h > > +++ b/lib/graph/rte_graph_model_mcore_dispatch.h > > @@ -100,9 +100,8 @@ rte_graph_walk_mcore_dispatch(struct rte_graph > > *graph) > > node = (struct rte_node *)RTE_PTR_ADD(gra

Re: [PATCH 0/2] provide toolchain abstracted __builtin_constant_p

2024-06-27 Thread Thomas Monjalon
Recheck-request: iol-compile-amd64-testing, iol-unit-amd64-testing, iol-intel-Functional, iol-compile-arm64-testing, iol-unit-arm64-testing, github-robot

Re: [PATCH v3 2/2] eventdev: add support for enqueue reorder

2024-06-27 Thread Jerin Jacob
On Thu, Jun 27, 2024 at 12:01 AM Sevincer, Abdullah wrote: > > Hi Jerin my responses below: > >+# Is this feature or limitation? > This is a new feature to enable enqueuing to PMD in any order when the > underlined hardware device needs enqueues in a strict dequeue order. > >+# What is the use ca

Linux Foundation DPDK Project Budget 2024 Summary

2024-06-27 Thread Giller, Robin
Dear DPDK Community Members, I am writing on behalf of the DPDK governing board to share a high level summary of the 2024 project budget, as approved by the governing board members. This is a new practice that we are establishing to provide visibility to the community on where the project budge

Re: [PATCH v3] dmadev: fix structure alignment

2024-06-27 Thread Thomas Monjalon
20/03/2024 10:31, fengchengwen: > Reviewed-by: Chengwen Feng > > On 2024/3/20 15:23, Wenwu Ma wrote: > > The structure rte_dma_dev needs to be aligned to the cache line, but > > the return value of malloc may not be aligned to the cache line. When > > we use memset to clear the rte_dma_dev object

RE: [PATCH 0/3] fix bpf load hangs with six IPv6 addresses

2024-06-27 Thread Morten Brørup
> From: Konstantin Ananyev > > Konstantin Ananyev (3): > bfp: fix MOV instruction evaluation > bfp: fix load hangs with six IPv6 addresses > test/bpf: add extra test cases for bpf convert > > app/test/test_bpf.c| 6 + > lib/bpf/bpf_validate.c | 314 ++

Re: [PATCH] buildtools: fix invalid symbols

2024-06-27 Thread David Marchand
On Thu, Jun 27, 2024 at 12:57 PM Bruce Richardson wrote: > > On Thu, Jun 27, 2024 at 10:11:44AM +, Mingjin Ye wrote: > > ELF files generated by higher version compilers wrap multiple > > symbols prefixed with "this_pmd_name". > > > > This patch fixes the issue by filtering invalid symbols. > >

Re: [PATCH] buildtools: fix build with clang 17

2024-06-27 Thread David Marchand
On Wed, Mar 20, 2024 at 5:30 PM David Marchand wrote: > > Hello Ali, Thomas, > > On Wed, Mar 20, 2024 at 5:01 PM Ali Alnubani wrote: > > > > On Fedora 39 with Clang 17.0.3 and ASan enabled, > > RTE_PMD_EXPORT_NAME seems to be done twice for a single > > lib, which results in load_drivers() return

[PATCH 1/1] maintainers: update for vmbus/mana/netvsc drivers

2024-06-27 Thread Wei Hu
Add myself as maintainer for vmbus, mana and netvsc. Signed-off-by: Wei Hu --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c9adff9846..58947b57ce 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -624,6 +624,7 @@ F: app/test/test_vdev.c VMBUS

RE: [PATCH] app/eventdev: increase default queue depth for cryptodev

2024-06-27 Thread Gujjar, Abhinandan S
Acked-by: Abhinandan Gujjar > -Original Message- > From: Aakash Sasidharan > Sent: Thursday, June 27, 2024 10:45 AM > To: Jerin Jacob > Cc: gak...@marvell.com; ano...@marvell.com; vvelum...@marvell.com; > asasidha...@marvell.com; Gujjar, Abhinandan S > ; dev@dpdk.org > Subject: [PATCH]

[PATCH 3/3] test/bpf: add extra test cases for bpf convert

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev Add few extra cases to catch problems similar to: https://bugs.dpdk.org/show_bug.cgi?id=1465 Plus made it dump cBPF filter and converted eBPF program to make things easier to track. Suggested-by: Isaac Boukris Signed-off-by: Konstantin Ananyev --- app/test/test_bpf.c

[PATCH 2/3] bfp: fix load hangs with six IPv6 addresses

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev As described in: https://bugs.dpdk.org/show_bug.cgi?id=1465 converting from following cBPF filter: "host 1::1 or host 1::1 or host 1::1 or host 1::1 or host 1::1 or host 1::1" taking too long for BPF verifier ito complete (up to 25 seconds). Looking at it I didn't find an

[PATCH 1/3] bfp: fix MOV instruction evaluation

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev Verifier might left some register-state values uninitialized while evaluating MOV instructions. Add explicit initialization. Fixes: 8021917293d0 ("bpf: add extra validation for input BPF program") Cc: sta...@dpdk.org Signed-off-by: Konstantin Ananyev --- lib/bpf/bpf_v

[PATCH 0/3] fix bpf load hangs with six IPv6 addresses

2024-06-27 Thread Konstantin Ananyev
From: Konstantin Ananyev Konstantin Ananyev (3): bfp: fix MOV instruction evaluation bfp: fix load hangs with six IPv6 addresses test/bpf: add extra test cases for bpf convert app/test/test_bpf.c| 6 + lib/bpf/bpf_validate.c | 314 ++--- 2 files c

Re: Hairpin Queues Throughput ConnectX-6

2024-06-27 Thread Mário Kuka
Hi Dmitry, Thank you for your helpful reply. Try enabling "Explicit Tx rule" mode if possible. I was able to achieve 137 Mpps @ 64B with the following command: dpdk-testpmd -a 21:00.0 -a c1:00.0 --in-memory -- \ -i --rxq=1 --txq=1 --hairpinq=8 --hairpin-mode=0x10 Based o this I was able

Re: [PATCH] buildtools: fix invalid symbols

2024-06-27 Thread David Marchand
On Thu, Jun 27, 2024 at 12:36 PM Mingjin Ye wrote: > > ELF files generated by higher version compilers wrap multiple > symbols prefixed with "this_pmd_name". > > This patch fixes the issue by filtering invalid symbols. > > Bugzilla ID: 1466 > Fixes: 6c4bf8f42432 ("buildtools: add Python pmdinfogen

Re: [PATCH v4 00/13] Optionally have rte_memcpy delegate to compiler memcpy

2024-06-27 Thread Mattias Rönnblom
On Wed, Jun 26, 2024 at 10:16:06PM +0200, Morten Brørup wrote: > > From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > > Sent: Wednesday, 26 June 2024 20.48 > > > > On Wed, Jun 26, 2024 at 05:24:04PM +0200, Maxime Coquelin wrote: > > > > > > > > > On 6/26/24 16:58, Stephen Hemminger wrote: > >

Re: [PATCH] buildtools: fix invalid symbols

2024-06-27 Thread Bruce Richardson
On Thu, Jun 27, 2024 at 10:11:44AM +, Mingjin Ye wrote: > ELF files generated by higher version compilers wrap multiple > symbols prefixed with "this_pmd_name". > > This patch fixes the issue by filtering invalid symbols. > > Bugzilla ID: 1466 > Fixes: 6c4bf8f42432 ("buildtools: add Python pm

[PATCH] buildtools: fix invalid symbols

2024-06-27 Thread Mingjin Ye
ELF files generated by higher version compilers wrap multiple symbols prefixed with "this_pmd_name". This patch fixes the issue by filtering invalid symbols. Bugzilla ID: 1466 Fixes: 6c4bf8f42432 ("buildtools: add Python pmdinfogen") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- buildtools

RE: [EXTERNAL] [PATCH v3 1/2] cryptodev: fix crypto callbacks on unsetting callbacks macro

2024-06-27 Thread Kundapura, Ganapati
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Thursday, June 27, 2024 11:50 AM > To: Kundapura, Ganapati ; > ferruh.yi...@amd.com; Richardson, Bruce ; > m...@smartsharesystems.com; tho...@monjalon.net > Cc: fanzhang@gmail.com; Senthil, Bala ; Gujjar, > Abhinandan S ; Mcna

[PATCH v3 2/2] cryptodev: validate crypto callbacks from next node

2024-06-27 Thread Ganapati Kundapura
Crypto callbacks are invoked on checking from head node which is always valid pointer. This patch checks next node from the head node if callbacks registered before invoking callbacks. Fixes: 1c3ffb95595e ("cryptodev: add enqueue and dequeue callbacks") Signed-off-by: Ganapati Kundapura --- v3

[PATCH v4 1/2] cryptodev: fix crypto callbacks on unsetting callbacks macro

2024-06-27 Thread Ganapati Kundapura
Crypto callbacks APIs are available in header files but when the macro RTE_CRYPTO_CALLBACKS unset, test application need to put #ifdef in its code. The test application should be able to build and run, regardless DPDK library is built with RTE_CRYPTO_CALLBACKS defined or not. Added ENOTSUP from t

[PATCH 2/2] net/cnxk: avoid NPC Rx and MCAM entries disable

2024-06-27 Thread Rahul Bhansali
For inline IPsec, Rx misses are observed during dev stop process. There can be a situation of 2nd pass packets are being dropped and can cause a buffer leak. To handle such case, will avoid NPC Rx and MCAM entries disable in dev stop. These will be handled in dev close routine. Signed-off-by: Rahu

[PATCH 1/2] common/cnxk: enable second pass RQ in mask config

2024-06-27 Thread Rahul Bhansali
This will enable second pass RQ and drop interrupt by default in mask configuration to avoid buffer leak possibilities during dev stop and interrupts to indicate drops if any. Signed-off-by: Rahul Bhansali --- drivers/common/cnxk/roc_features.h | 6 ++ drivers/common/cnxk/roc_nix_inl.c | 9

[DPDK/ethdev Bug 1473] [dpdk-24.07] vxlan/vxlan_ipv6_checksum_offload: IPV6-Vxlan TX droped by outer sw csum

2024-06-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1473 Bug ID: 1473 Summary: [dpdk-24.07] vxlan/vxlan_ipv6_checksum_offload: IPV6-Vxlan TX droped by outer sw csum Product: DPDK Version: 24.07 Hardware: x86 OS: Linux

RE: [EXTERNAL] [PATCH v2] examples/fips_validation: fix coverity issues

2024-06-27 Thread Akhil Goyal
Recheck-request: iol-intel-Performance

[PATCH v2] mbuf: fix API to copy mbuf dynamic fields

2024-06-27 Thread Shijith Thotton
Fixed rte_mbuf_dynfield_copy() API to copy dynamic fields from one mbuf to another. When RTE_IOVA_AS_PA is not defined during the build, an additional dynamic field (dynfield2) becomes available. This field should be conditionally copied to ensure the complete duplication of dynamic fields between

RE: [PATCH v3] config/arm: add Ampere AmpereOneX platform

2024-06-27 Thread Yutang Jiang
Hi Ruifeng, Thank you for reviewing. Temporarily suspended. Colleagues remind that the company has just standardized external naming rules, and the time happens to be between the v2 and v3 of this patch. Wait for me to go through again the internal process before sending it to the DPDK communit

[PATCH v5 22/23] net/ntnic: add MAC PCS register interface module

2024-06-27 Thread Serhii Iliushyk
Add API for MAC and PCS(Physical Coding Sublayer) Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/include/nt4ga_link.h| 1 + .../link_mgmt/link_100g/nt4ga_link_100g.c | 393 +++- drivers/net/ntnic/meson.build | 1 + .../net/ntnic/nthw/core/include/nthw_co

[PATCH v5 18/23] net/ntnic: add NIM module

2024-06-27 Thread Serhii Iliushyk
Add API for control NIM Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 34 +++ drivers/net/ntnic/include/nt4ga_adapter.h | 3 + drivers/net/ntnic/include/nt4ga_link.h| 13 + drivers/net/ntnic/include/ntnic_nim.h | 61 + .../link_mg

[PATCH v5 20/23] net/ntnic: add QSFP28 support

2024-06-27 Thread Serhii Iliushyk
Includes support for QSFP28 Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/include/ntnic_nim.h| 21 ++ drivers/net/ntnic/link_mgmt/nt4ga_link.c | 25 +++ drivers/net/ntnic/nim/i2c_nim.c | 267 ++- drivers/net/ntnic/nim/nim_defines.h | 1 + 4 files

[PATCH v5 23/23] net/ntnic: add GMF (Generic MAC Feeder) module

2024-06-27 Thread Serhii Iliushyk
Add API for Generic MAC Feeder Signed-off-by: Serhii Iliushyk --- .../link_mgmt/link_100g/nt4ga_link_100g.c | 8 ++ drivers/net/ntnic/meson.build | 1 + .../net/ntnic/nthw/core/include/nthw_core.h | 1 + .../net/ntnic/nthw/core/include/nthw_gmf.h| 64 + d

[PATCH v5 21/23] net/ntnic: add GPIO PHY module

2024-06-27 Thread Serhii Iliushyk
Add GPIO API for communication with NIM Signed-off-by: Serhii Iliushyk --- v5 * Fix Typo/Spelling --- drivers/net/ntnic/include/nt4ga_link.h| 1 + .../link_mgmt/link_100g/nt4ga_link_100g.c | 71 - drivers/net/ntnic/meson.build | 1 + .../net/ntnic/nthw/co

[PATCH v5 19/23] net/ntnic: add QSFP support

2024-06-27 Thread Serhii Iliushyk
Includes support for QSFP and QSFP+. Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/include/ntnic_nim.h | 10 + .../link_mgmt/link_100g/nt4ga_link_100g.c | 12 +- drivers/net/ntnic/nim/i2c_nim.c | 310 +- drivers/net/ntnic/nim/i2c_nim.h

[PATCH v5 17/23] net/ntnic: add link 100G module

2024-06-27 Thread Serhii Iliushyk
Add ntnic 100G link support. Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 12 - .../link_mgmt/link_100g/nt4ga_link_100g.c | 49 +++ drivers/net/ntnic/meson.build | 1 + drivers/net/ntnic/ntnic_mod_reg.c |

[PATCH v5 13/23] net/ntnic: add reset module for the NT200A0X smartNIC

2024-06-27 Thread Serhii Iliushyk
Add API for reset NT200 and FW 9563 Signed-off-by: Serhii Iliushyk --- v5 * Fix Typo/Spelling --- .../include/ntnic_nthw_fpga_rst_nt200a0x.h| 81 +++ drivers/net/ntnic/meson.build | 3 + .../net/ntnic/nthw/core/include/nthw_core.h | 2 + .../net/ntnic/nthw/core/include

[PATCH v5 15/23] net/ntnic: add MAC and packet features

2024-06-27 Thread Serhii Iliushyk
Add basic control for MAC addresses packets and queues Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/include/ntos_drv.h | 15 +++ drivers/net/ntnic/ntnic_ethdev.c | 39 ++-- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/drivers/net/ntn

[PATCH v5 16/23] net/ntnic: add link management module

2024-06-27 Thread Serhii Iliushyk
Add link control API Signed-off-by: Serhii Iliushyk --- v5 * Fix Typo/Spelling --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 6 + drivers/net/ntnic/include/nt4ga_adapter.h | 5 +- drivers/net/ntnic/include/nt4ga_link.h | 84 +++ drivers/net/ntnic/link_mgmt/nt4ga_link.c | 176 +

[PATCH v5 14/23] net/ntnic: add clock profiles for the NT200A0X smartNIC

2024-06-27 Thread Serhii Iliushyk
Add API for control clock NT200 and FW 9563 Signed-off-by: Serhii Iliushyk --- .../ntnic/include/clock_profiles_structs.h| 35 + .../include/ntnic_nthw_fpga_rst_nt200a0x.h| 1 + drivers/net/ntnic/meson.build | 2 + .../net/ntnic/nthw/core/include/nthw_core.h | 2

[PATCH v5 06/23] net/ntnic: add NT NIC driver dependencies

2024-06-27 Thread Serhii Iliushyk
Add structures and interfaces specific for NT smartNiC Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/include/ntdrv_4ga.h | 17 ++ drivers/net/ntnic/include/ntos_drv.h| 33 drivers/net/ntnic/include/ntos_system.h | 21 ++ drivers/net/ntnic/meson.build | 1 + drive

[PATCH v5 10/23] net/ntnic: add core platform functionality

2024-06-27 Thread Serhii Iliushyk
Add ntnic platform interfaces for FPGA registers Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/meson.build | 1 + .../net/ntnic/nthw/core/include/nthw_core.h | 16 + .../net/ntnic/nthw/core/include/nthw_hif.h| 151 .../net/ntnic/nthw/core/include/nthw_iic.h

[PATCH v5 12/23] net/ntnic: add support of the NT200A0X smartNIC

2024-06-27 Thread Serhii Iliushyk
Add ntnic support for NT200A0X NIC Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 6 +++ drivers/net/ntnic/meson.build | 1 + .../net/ntnic/nthw/core/include/nthw_fpga.h | 7 +++ .../nthw/core/nt200a0x/nthw_fpga_nt200a0x.c | 54 +

[PATCH v5 11/23] net/ntnic: add FPGA initialization functionality

2024-06-27 Thread Serhii Iliushyk
Enable FPGA initialization Signed-off-by: Serhii Iliushyk --- v5 * Fix Typo/Spelling --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 52 +++- drivers/net/ntnic/meson.build | 7 + .../net/ntnic/nthw/core/include/nthw_core.h | 4 + .../net/ntnic/nthw/core/include/nthw_fp

[PATCH v5 08/23] net/ntnic: add adapter initialization

2024-06-27 Thread Serhii Iliushyk
Add interfaces for initialize the adapter Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 148 ++ drivers/net/ntnic/include/nt4ga_adapter.h | 40 ++ drivers/net/ntnic/include/ntdrv_4ga.h | 2 + drivers/net/ntnic/meson.build

[PATCH v5 07/23] net/ntnic: add core platform functionality

2024-06-27 Thread Serhii Iliushyk
Add ntnic basic platform interfaces Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/include/ntos_drv.h | 2 + drivers/net/ntnic/meson.build | 2 + drivers/net/ntnic/nthw/nthw_drv.h | 88 ++ drivers/net/ntnic/nthw/nthw_platform.c | 14 +++

[PATCH v5 04/23] net/ntnic: add NT utilities implementation

2024-06-27 Thread Serhii Iliushyk
Add ntnic utilities. Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/meson.build | 2 ++ drivers/net/ntnic/ntnic_ethdev.c | 2 ++ drivers/net/ntnic/ntutil/include/nt_util.h | 28 ++ drivers/net/ntnic/ntutil/nt_util.c | 33

[PATCH v5 02/23] net/ntnic: add logging implementation

2024-06-27 Thread Serhii Iliushyk
Add ntnic specific implementation for logging Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/meson.build | 2 + drivers/net/ntnic/ntlog/include/ntlog.h | 49 +++ drivers/net/ntnic/ntlog/ntlog.c | 53 + drivers/net/ntnic/ntnic_e

[PATCH v5 05/23] net/ntnic: add VFIO module

2024-06-27 Thread Serhii Iliushyk
Add ntnic VFIO functionality. Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/meson.build | 1 + drivers/net/ntnic/ntnic_ethdev.c | 20 +- drivers/net/ntnic/ntnic_vfio.c | 235 + drivers/net/ntnic/ntnic_vfio.h | 29 +++

[PATCH v5 01/23] net/ntnic: add ethdev and makes PMD available

2024-06-27 Thread Serhii Iliushyk
Add ntnic ethdev base implementation Signed-off-by: Serhii Iliushyk --- .mailmap | 1 + MAINTAINERS| 7 doc/guides/nics/features/ntnic.ini | 9 + doc/guides/nics/index.rst | 1 + doc/guides/nics/ntnic.rst | 43

[PATCH v5 03/23] net/ntnic: add minimal initialization for PCI device

2024-06-27 Thread Serhii Iliushyk
add implementation for probe/init and remove/deinit of the PCI device Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/ntnic_ethdev.c | 104 ++- 1 file changed, 103 insertions(+), 1 deletion(-) diff --git a/drivers/net/ntnic/ntnic_ethdev.c b/drivers/net/ntnic/ntn

[PATCH v3] config/arm: add Ampere AmpereOneX platform

2024-06-27 Thread Yutang Jiang
Signed-off-by: Yutang Jiang --- config/arm/arm64_ampereonex_linux_gcc | 17 + config/arm/meson.build| 19 +++ 2 files changed, 36 insertions(+) create mode 100644 config/arm/arm64_ampereonex_linux_gcc diff --git a/config/arm/arm64_ampereonex_linux

Re: [PATCH v3] config/arm: add Ampere AmpereOneX platform

2024-06-27 Thread Ruifeng Wang
On 2024/6/27 10:44 AM, Yutang Jiang wrote: Signed-off-by: Yutang Jiang --- config/arm/arm64_ampereonex_linux_gcc | 17 + config/arm/meson.build| 19 +++ 2 files changed, 36 insertions(+) create mode 100644 config/arm/arm64_ampereonex_linux_gc