Re: [PATCH v3 2/3] eal: handle sysconf(_SC_PAGESIZE) negative return value

2025-06-28 Thread Stephen Hemminger
On Sat, 28 Jun 2025 18:45:44 +0200 Morten Brørup wrote: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Friday, 27 June 2025 20.30 > > > > 27/06/2025 19:49, Morten Brørup: > > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > Sent: Friday, 27 June 2025 19.35 > > >

Re: [PATCH v1 1/3] net/rnp: add check firmware respond info

2025-06-28 Thread Stephen Hemminger
On Wed, 18 Jun 2025 20:11:11 +0800 Wenbo Cao wrote: > diff --git a/drivers/net/rnp/rnp_ethdev.c b/drivers/net/rnp/rnp_ethdev.c > index de1c077f61..7b996913c8 100644 > --- a/drivers/net/rnp/rnp_ethdev.c > +++ b/drivers/net/rnp/rnp_ethdev.c > @@ -751,17 +751,17 @@ rnp_get_speed_caps(struct rte_eth_

Re: [PATCH v1 0/4] net/ntnic: implement start, stop and deferred start for Rx/Tx queues

2025-06-28 Thread Stephen Hemminger
On Fri, 20 Jun 2025 13:27:03 +0200 Oleksandr Kolomeiets wrote: > This patchset includes: > > * feature start/stop queues on HW layer. > * feature deferred start for queues. > * Improvement for memory mappings when IOMMU is unoptimized. > * Improvement for logging > > Ol

RE: [PATCH v3 2/3] eal: handle sysconf(_SC_PAGESIZE) negative return value

2025-06-28 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, 27 June 2025 20.30 > > 27/06/2025 19:49, Morten Brørup: > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > Sent: Friday, 27 June 2025 19.35 > > > > > > 27/06/2025 18:38, Morten Brørup: > > > > > From: Thomas Monjalon

Re: [EXTERNAL] [PATCH v3 0/2] uadk: realize async mode

2025-06-28 Thread Zhangfei Gao
On Fri, 27 Jun 2025 at 23:41, Zhangfei Gao wrote: > > On Wed, 25 Jun 2025 at 20:14, Akhil Goyal wrote: > > > > > Realize async mode to replace sync mode for better performance > > > > > > v3: > > > uadk 2.9 is released > > > use different label name to fix build warning: > > > "duplicate la

RE: [PATCH v3 1/3] eal/unix: fix log message for madvise() failure

2025-06-28 Thread Morten Brørup
> From: Morten Brørup > Sent: Friday, 27 June 2025 19.51 > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Friday, 27 June 2025 19.34 > > > > 27/06/2025 18:47, Morten Brørup: > > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > Sent: Friday, 27 June 2025 17.56 > > >

[V3 17/18] net/hinic3: add FDIR flow control module

2025-06-28 Thread Feifei Wang
From: Yi Chen Added support for rte_flow, including ethertype, IPv4, IPv6, and tunnel VXLAN. In addition, user can add or delete filters. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/net/hinic3/hinic3_ethdev.c | 82 ++ drivers/net/hinic3/hinic3_ethdev.h

[V3 15/18] net/hinic3: add MML and EEPROM access feature

2025-06-28 Thread Feifei Wang
From: Xin Wang Add man-machine language support and implements the get eeprom method. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- drivers/net/hinic3/hinic3_ethdev.c| 13 + drivers/net/hinic3/mml/hinic3_dbg.c | 171 + drivers/net/hinic3/mml/hin

[V3 18/18] drivers/net: add hinic3 PMD build and doc files

2025-06-28 Thread Feifei Wang
From: Yi Chen The meson.build file is added to this patch to enable the hinic3 compilation function. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- doc/guides/nics/features/hinic3.ini | 62 + drivers/net/hinic3/base/meson.build | 50

[V3 16/18] net/hinic3: add RSS promiscuous ops

2025-06-28 Thread Feifei Wang
From: Xin Wang Add RSS and promiscuous ops related function codes. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- drivers/net/hinic3/hinic3_ethdev.c | 370 + drivers/net/hinic3/hinic3_ethdev.h | 31 +++ 2 files changed, 401 insertions(+

[V3 11/18] net/hinic3: add a mailbox communication module

2025-06-28 Thread Feifei Wang
From: Yi Chen This patch adds support for mailbox of hinic3 PMD driver, mailbox is used for communication between PF/VF driver and MPU. This patch provides mailbox-related data structures and functional code. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/n

[V3 14/18] net/hinic3: add Rx/Tx functions

2025-06-28 Thread Feifei Wang
From: Feifei Wang This patch add package sending and receiving function codes. Signed-off-by: Feifei Wang Signed-off-by: Yi Chen Reviewed-by: Xin Wang --- drivers/net/hinic3/hinic3_ethdev.c | 15 +- drivers/net/hinic3/hinic3_rx.c | 305 +++- drivers/net/hinic3/hinic3_tx.c |

[V3 12/18] net/hinic3: add device initialization

2025-06-28 Thread Feifei Wang
From: Xin Wang This patch contains data structures and function codes related to device initialization. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- drivers/net/hinic3/hinic3_ethdev.c | 514 + drivers/net/hinic3/hinic3_ethdev.h | 119 +

[V3 09/18] net/hinic3: add a NIC business configuration module

2025-06-28 Thread Feifei Wang
From: Yi Chen The items of configurations and queries for NIC business include MAC, VLAN, MTU, RSS and so on. These configurations and queries are handled by mgmt module. This patch introduces related data structures and function codes. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by:

[V3 10/18] net/hinic3: add context and work queue support

2025-06-28 Thread Feifei Wang
From: Xin Wang Work queue is used for cmdq and tx/rx buff description. Nic business needs to configure cmdq context and txq/rxq context. This patch adds data structures and function codes for work queue and context. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- dr

[V3 08/18] net/hinic3: add module about hardware operation

2025-06-28 Thread Feifei Wang
From: Yi Chen Add code and data structure for hardware operation, including configuration, query, initialization and release. Signed-off-by: Yi Chen Signed-off-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/net/hinic3/base/hinic3_hw_cfg.c | 240 ++ drivers/net/hinic3/base/hinic3_

[V3 07/18] net/hinic3: add mgmt module function code

2025-06-28 Thread Feifei Wang
From: Yi Chen Mgmt module is a kind of administration module for the chip. It is responsible for handling administration command from host. It mainly uses aeq to implement. This patch adds related data structures, packaged interfaces and function codes. Signed-off-by: Yi Chen Reviewed-by: Xin W

[V3 05/18] net/hinic3: add NIC event module

2025-06-28 Thread Feifei Wang
From: Xin Wang Currently, there are two types of events: pf/vf connection status and port information printing. This patch contains related data structures and function codes. Signed-off-by: Xin Wang Reviewed-by: Yi Chen Reviewed-by: Feifei Wang --- drivers/net/hinic3/base/hinic3_nic_event.c

[V3 04/18] net/hinic3: add support for cmdq mechanism

2025-06-28 Thread Feifei Wang
From: Xin Wang Micocode is named ucode in SP series NIC. Its main responsibility is data transmission and reception. But it can also handle some administration works. It uses cmdq mechanism. This patch introduces data structures, initialization, interfaces, and commands sending functions of cmdq.

[V3 06/18] net/hinic3: add eq mechanism function code

2025-06-28 Thread Feifei Wang
From: Yi Chen Eqs include aeq and ceq. Aeq is a kind of queue for mgmt asynchronous message and mgmt command response message. This patch introduces data structures, initialization, and related interfaces about aeq. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- dr

[V3 03/18] net/hinic3: add hardware interfaces of BAR operation

2025-06-28 Thread Feifei Wang
From: Yi Chen This patch adds some HW interfaces for bar operatioin interfaces, including: mapped bar address geeting, HW attributes getting, msi-x reg operation, function type getting and so on. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/net/hinic3/bas

[V3 02/18] net/hinic3: add basic header files

2025-06-28 Thread Feifei Wang
From: Xin Wang Add HW registers definition header file for SP series NIC. Add some headers that define commands and basic defines for use in the code. Signed-off-by: Xin Wang Reviewed-by: Yi Chen Reviewed-by: Feifei Wang --- drivers/net/hinic3/base/hinic3_cmd.h| 231

[V3 01/18] add some basic files about hinic3 driver

2025-06-28 Thread Feifei Wang
From: Yi Chen This patch adds some basic files to describe the hinic3 driver. Signed-off-by: Feifei Wang Signed-off-by: Yi Chen Reviewed-by: Xin Wang --- .mailmap | 4 +- MAINTAINERS| 6 +++ doc/guides/nics/hinic3.rst |

[V3 00/18] add hinic3 pmd driver

2025-06-28 Thread Feifei Wang
From: Yi Chen The hinic3 PMD (**librte_net_hinic3**) provides poll mode driver support for 25Gbps/100Gbps/200Gbps Huawei SPx series Network Adapters. Feifei Wang (2): net/hinic3: add dev ops net/hinic3: add Rx/Tx functions Xin Wang (7): net/hinic3: add basic header files net/hinic3: add