Re: [PATCH v2 2/2] net/hns3: fix pointer offset

2024-10-22 Thread lihuisong (C)
Acked-by: Huisong Li 在 2024/10/22 12:01, Jie Hai 写道: If the register values of multiple modules are obtained at a time, the register values are incorrect because the data field to be filled pointing to a wrong address. Update the pointer offset of data to get the correct address. Fixes: dd4b8b

Re: [PATCH v2 1/2] net/hns3: fix variable type

2024-10-22 Thread lihuisong (C)
Acked-by: Huisong Li 在 2024/10/22 12:01, Jie Hai 写道: The patch fixes variable type in case of data trunction. Fixes: dd4b8bba785f ("net/hns3: support reporting names of registers") Cc: sta...@dpdk.org Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_regs.c | 4 ++-- 1 file changed, 2 inse

[PATCH 13/13] net/ngbe: restrict configuration of VLAN strip offload

2024-10-22 Thread Jiawen Wu
There is a hardware limitation that Rx ring config register is not writable when Rx ring is enabled, i.e. the NGBE_RXCFG_ENA bit is set. But disabling the ring when there is traffic will cause ring get stuck. So restrict the configuration of VLAN strip offload only if device is started. Fixes: 59b

[PATCH 12/13] net/ngbe: fix interrupt lost in legacy or MSI mode

2024-10-22 Thread Jiawen Wu
When interrupt is legacy or MSI mode, shared interrupt may cause the interrupt cannot be re-enabled. So fix to read the shared interrupt. Fixes: b9246b8fa280 ("net/ngbe: support link update") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/ngbe/ngbe_ethdev.c | 13 + 1 f

[PATCH 11/13] net/ngbe: reconfigure more MAC Rx registers

2024-10-22 Thread Jiawen Wu
When link status changes, there is a probability that no more packets can be received on the port, due to hardware defects. These MAC Rx registers should be reconfigured to fix this problem. Fixes: b9246b8fa280 ("net/ngbe: support link update") Fixes: a7c5f95ed9c2 ("net/ngbe: reconfigure MAC Rx wh

[PATCH 10/13] net/ngbe: fix driver load bit to inform firmware

2024-10-22 Thread Jiawen Wu
Drv_load bit will be reset to default 0 after hardware LAN reset, reconfigure it to inform firmware that driver is loaded. And set it to 0 when device is closed. Fixes: 3518df5774c7 ("net/ngbe: support device start/stop") Fixes: cc63194e89cb ("net/ngbe: support close and reset device") Cc: sta...@

[PATCH 09/13] net/ngbe: add Tx descriptor error statistics

2024-10-22 Thread Jiawen Wu
Count the number of packets not sent due to Tx descriptor error. Signed-off-by: Jiawen Wu --- drivers/net/ngbe/ngbe_ethdev.c | 6 ++ drivers/net/ngbe/ngbe_rxtx.c | 2 ++ drivers/net/ngbe/ngbe_rxtx.h | 1 + 3 files changed, 9 insertions(+) diff --git a/drivers/net/ngbe/ngbe_ethdev.c b/dr

[PATCH 08/13] net/ngbe: check length of Tx packets

2024-10-22 Thread Jiawen Wu
Add checking of the Tx packet length to avoid TDM fatal error as far as possible. Set the pkt_len=1518 for invalid packet in simple Tx code path, and drop it directly in featured Tx code path. Althrough the hardware does not support TDM desc check. Signed-off-by: Jiawen Wu --- drivers/net/ngbe/n

[PATCH 07/13] net/txgbe: add Tx descriptor error statistics

2024-10-22 Thread Jiawen Wu
Count the number of packets not sent due to Tx descriptor error. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ethdev.c | 6 ++ drivers/net/txgbe/txgbe_rxtx.c | 3 +++ drivers/net/txgbe/txgbe_rxtx.h | 1 + 3 files changed, 10 insertions(+) diff --git a/drivers/net/txgbe/txgbe_eth

[PATCH 05/13] net/txgbe: enable Tx descriptor error interrupt

2024-10-22 Thread Jiawen Wu
Enable Tdm_desc_chk then handle the interrupt of TDM desc error. If it's a non-fatal error, clear the error to reset the queue. If it's a fatal error, require users to manually restart the port. This flow prevents the hardware from PCIe pending due to Tx hang, resulting in a reboot to recover. But

[PATCH 06/13] net/txgbe: check length of Tx packets

2024-10-22 Thread Jiawen Wu
Add checking of the Tx packet length to avoid TDM fatal error as far as possible. Set the pkt_len=1518 for invalid packet in simple Tx code path, and drop it directly in featured Tx code path. Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_rxtx.c | 33 + dr

Re: [PATCH v3 01/18] net/r8169: add PMD driver skeleton

2024-10-22 Thread Stephen Hemminger
On Wed, 23 Oct 2024 11:33:11 +0800 Howard Wang wrote: > Meson build infrastructure, r8169_ethdev minimal skeleton, > header with Realtek NIC device and vendor IDs. > > Signed-off-by: Howard Wang This version is much better than the last. Still has some issues: - git whitespace - braces -

[PATCH 04/13] net/txgbe: fix driver load bit to inform firmware

2024-10-22 Thread Jiawen Wu
Drv_load bit will be reset to default 0 after hardware LAN reset, reconfigure it to inform firmware that driver is loaded. And set it to 0 when device is closed. Fixes: b1f596677d8e ("net/txgbe: support device start") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ethd

[PATCH 03/13] net/txgbe: remove outer UDP checksum capability

2024-10-22 Thread Jiawen Wu
The hardware does not support outer UDP checksum for tunnel packets. It's wrong to claim this Tx offload capability, so fix it. Bugzilla ID: 1529 Fixes: b950203be7f1 ("net/txgbe: support VXLAN-GPE") Fixes: 295968d17407 ("ethdev: add namespace") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- d

[PATCH 02/13] net/txgbe: fix VF-PF mbox interrupt

2024-10-22 Thread Jiawen Wu
There was a incorrect bit to define TXGBE_ICRMISC_VFMBX that prevents the interrupt from being handled correctly. Fixes: a6712cd029a4 ("net/txgbe: add PF module init and uninit for SRIOV") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_regs.h | 2 +- 1 file change

[PATCH 01/13] net/txgbe: fix swfw mbox failure

2024-10-22 Thread Jiawen Wu
There is a unknown bug that the register TXGBE_MNGMBX cannot be written in the loop, when DPDK is built with GCC high version. Access any register before write TXGBE_MNGMBX can fix it. Bugzilla ID: 1531 Fixes: 35c90ecccfd4 ("net/txgbe: add EEPROM functions") Cc: sta...@dpdk.org Signed-off-by: Jia

[PATCH 00/13] Wangxun fixes

2024-10-22 Thread Jiawen Wu
Fix some bugs in txgbe/ngbe, and optimize the Tx flow. Jiawen Wu (13): net/txgbe: fix swfw mbox failure net/txgbe: fix VF-PF mbox interrupt net/txgbe: remove outer UDP checksum capability net/txgbe: fix driver load bit to inform firmware net/txgbe: enable Tx descriptor error interrupt

Re: [PATCH v11 2/2] examples/l3fwd-power: add PM QoS configuration

2024-10-22 Thread lihuisong (C)
Hi Konstantin, 在 2024/10/22 17:10, Konstantin Ananyev 写道: Add PM QoS configuration to declease the delay after sleep in case of entering deeper idle state. I still think it is worth to mention this behavior change somewhere in the docs. Probably release_notes or sample app guides. I see some

Re: [PATCH v3 01/18] net/r8169: add PMD driver skeleton

2024-10-22 Thread Stephen Hemminger
On Wed, 23 Oct 2024 05:59:12 + 王颢 wrote: > Dear Stephen, > > OK, I will fix these issues. > I would like to confirm that each document needs to have a blank line at the > end, correct? > Apologies, but we plan to maintain our current approach regarding stats this > time. > > Best Regards

[v2 12/12] net/enetc: Add MAC and VLAN filter support

2024-10-22 Thread vanshika . shukla
From: Vanshika Shukla Introduces support for: - Up to 4 MAC addresses filtering - Up to 4 VLAN filters Enhances packet filtering capabilities for ENETC4 PMD. Signed-off-by: Vanshika Shukla Signed-off-by: Gagandeep Singh --- doc/guides/nics/features/enetc4.ini | 2 + drivers/net/enetc/base

[v2 11/12] net/enetc: Add link status notification support

2024-10-22 Thread vanshika . shukla
From: Vanshika Shukla This patch supports link event notifications for ENETC4 PMD, enabling: - Link up/down event notifications - Notification of link speed changes Signed-off-by: Gagandeep Singh Signed-off-by: Vanshika Shukla --- doc/guides/nics/features/enetc4.ini | 1 + drivers/net/enet

[v2 10/12] net/enetc: Add link speed and status support

2024-10-22 Thread vanshika . shukla
From: Vanshika Shukla This patch add support for link update operation. Signed-off-by: Vanshika Shukla Signed-off-by: Gagandeep Singh --- doc/guides/nics/features/enetc4.ini | 2 + drivers/net/enetc/base/enetc4_hw.h | 9 ++ drivers/net/enetc/enetc.h | 25 drivers/net/enet

[v2 09/12] net/enetc: Add multicast and promiscuous mode support

2024-10-22 Thread vanshika . shukla
From: Vanshika Shukla Enables ENETC4 PMD to handle multicast and promiscuous modes. Signed-off-by: Vanshika Shukla Signed-off-by: Gagandeep Singh --- doc/guides/nics/features/enetc4.ini | 2 + drivers/net/enetc/enetc.h | 5 + drivers/net/enetc/enetc4_ethdev.c | 40 + driv

[v2 08/12] net/enetc: Add VF to PF messaging support and primary MAC setup

2024-10-22 Thread vanshika . shukla
From: Vanshika Shukla Introduces Virtual Function (VF) to Physical Function (PF) messaging, enabling VFs to communicate with the Linux PF driver for feature enablement. This patch also adds primary MAC address setup capability, allowing VFs to configure their MAC addresses. Signed-off-by: Vansh

[v2 07/12] net/enetc: Add support for multiple queues with RSS

2024-10-22 Thread vanshika . shukla
From: Gagandeep Singh Introduces support for multiple transmit and receive queues in ENETC4 PMD, enabling scalable packet processing, improved throughput, and latency. Packet distribution is handled through Receive Side Scaling (RSS). Signed-off-by: Gagandeep Singh --- doc/guides/nics/features

[v2 04/12] net/enetc: Add TX checksum offload and RX checksum validation

2024-10-22 Thread vanshika . shukla
From: Apeksha Gupta This patch add support for: - L3 (IPv4, IPv6) TX checksum offload - L4 (TCP, UDP) TX checksum offload - RX checksum validation for IPv4, IPv6, TCP, UDP Signed-off-by: Apeksha Gupta Signed-off-by: Gagandeep Singh --- doc/guides/nics/features/enetc4.ini | 2 ++ drivers/net

[v2 06/12] net/enetc: Add packet type parsing support

2024-10-22 Thread vanshika . shukla
From: Apeksha Gupta Introduces packet type parsing for ENETC4 PMD, supporting: - RTE_PTYPE_L2_ETHER (Ethernet II) - RTE_PTYPE_L3_IPV4 (IPv4) - RTE_PTYPE_L3_IPV6 (IPv6) - RTE_PTYPE_L4_TCP (TCP) - RTE_PTYPE_L4_UDP (UDP) - RTE_PTYPE_L4_SCTP (SCTP) - RTE_PTYPE_L4_ICMP (ICMP) - RTE_PTYPE_L4_FRAG (IPv

[v2 05/12] net/enetc: Add basic statistics

2024-10-22 Thread vanshika . shukla
From: Apeksha Gupta Introduces basic statistics collection for ENETC4 PMD, including: - Packet transmit/receive counts - Byte transmit/receive counts - Error counters (TX/RX drops, errors) Signed-off-by: Apeksha Gupta Signed-off-by: Gagandeep Singh --- doc/guides/nics/features/enetc4.ini |

[v2 03/12] net/enetc: Optimize ENETC4 data path

2024-10-22 Thread vanshika . shukla
From: Apeksha Gupta Improves ENETC4 data path on i.MX95 Non-cache coherent platform by: - Adding separate RX and TX functions. - Reducing memory accesses Signed-off-by: Apeksha Gupta Signed-off-by: Gagandeep Singh --- drivers/net/enetc/base/enetc4_hw.h | 2 + drivers/net/enetc/enetc.h

[v2 02/12] net/enetc: Add RX and TX queue APIs for ENETC4 PMD

2024-10-22 Thread vanshika . shukla
From: Apeksha Gupta Introduces queue setup, release, start, and stop APIs for ENETC4 RX and TX queues, enabling: - Queue configuration and initialization - Queue resource management (setup, release) - Queue operation control (start, stop) Signed-off-by: Apeksha Gupta Signed-off-by: Gagandeep S

[v2 00/12] ENETC4 PMD support

2024-10-22 Thread vanshika . shukla
From: Vanshika Shukla This series introduces a new ENETC4 PMD driver for NXP's i.MX95 SoC, enabling basic network operations. V2 changes: Handled code comments by the reviewer in: "net/enetc: Add initial ENETC4 PMD driver support" "net/enetc: Optimize ENETC4 data path" Apeksha

[v2 01/12] net/enetc: Add initial ENETC4 PMD driver support

2024-10-22 Thread vanshika . shukla
From: Apeksha Gupta This patch introduces a new ENETC4 PMD driver for NXP's i.MX95 SoC, enabling basic network operations. Key features include: - Probe and teardown functions - Hardware initialization for both Virtual Functions (VFs) and Physical Function (PF) Signed-off-by: Apeksha Gupta S

[PATCH v3] net/mlx5: fix potential memory leak in meter

2024-10-22 Thread Shun Hao
When meter not enabled, avoid allocate memory for meter profile table, which will not be freed in close process when meter not enabled Fixes: a295c69a8b24 ("net/mlx5: optimize meter profile lookup") Cc: sta...@dpdk.org Signed-off-by: Shun Hao Acked-by: Bing Zhao --- drivers/net/mlx5/linux/mlx5

DTS WG Meeting Minutes - October 10, 2024

2024-10-22 Thread Patrick Robb
# October 10, 2024 Attendees * Patrick Robb * Paul Szczepanek * Luca Vizzarro # Minutes = Gen

DTS WG Meeting Minutes - September 26, 2024

2024-10-22 Thread Patrick Robb
# September 26, 2024 Attendees * Patrick Robb * Jeremy Spewock * Juraj Linkeš * Tomas Durovec * Luca Vizzarro # Minutes =

答复: [PATCH v3 01/18] net/r8169: add PMD driver skeleton

2024-10-22 Thread 王颢
Dear Stephen, OK, I will fix these issues. I would like to confirm that each document needs to have a blank line at the end, correct? Apologies, but we plan to maintain our current approach regarding stats this time. Best Regards, Howard Wang -邮件原件- 发件人: Stephen Hemminger 发送时间: 2024

Community CI Meeting Minutes - October 17, 2024

2024-10-22 Thread Patrick Robb
# October 17, 2024 Attendees 1. Patrick Robb 2. Ali Alnubani 3. Paul Szczepanek 4. Luca Vizzarro # Minutes ==

Community CI Meeting Minutes - October 3, 2024

2024-10-22 Thread Patrick Robb
# October 03, 2024 Attendees 1. Patrick Robb 2. Luca Vizzarro 3. Aaron Conole 4. Ali Alnubani 5. Paul Szczepanek 6. Adam Hassick # Minutes ==

Community CI Meeting Minutes - September 19, 2024

2024-10-22 Thread Patrick Robb
# September 19, 2024 Attendees 1. Patrick Robb 2. Ali Alnubani 3. Jeremy Spewock 4. Juraj Linkeš 5. Luca Vizzarro 6. Alex Chapman 7. Aaron Conole # Minutes =

[PATCH] ntnic: remove unnecessary null free check

2024-10-22 Thread Stephen Hemminger
No need for a if() check before calling free() since NULL is allowed. Found by nullfree.cocci. Fixes: 1d3f62a0c4f1 ("net/ntnic: add base init and deinit of flow API") Cc: okl-...@napatech.com Signed-off-by: Stephen Hemminger --- drivers/net/ntnic/nthw/flow_api/flow_api.c | 3 +-- 1 file changed,

[PATCH v9 6/6] power: rename library sources for cpu frequency management

2024-10-22 Thread Sivaprasad Tummala
This patch renames the existing core power library source files from rte_power.* to rte_power_cpufreq.* for better clarity v9: - documentation update Signed-off-by: Sivaprasad Tummala --- app/test/test_power.c| 2 +- app/test/test_power_cpufreq.c

[PATCH v9 0/6] power: refactor power management library

2024-10-22 Thread Sivaprasad Tummala
This patchset refactors the power management library, addressing both core and uncore power management. The primary changes involve the creation of dedicated directories for each driver within 'drivers/power/core/*' and 'drivers/power/uncore/*'. This refactor significantly improves code organizati

[PATCH v9 4/6] drivers/power: uncore support for AMD EPYC processors

2024-10-22 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v9: - documentation update v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- doc/guides/prog_guide/powe

[PATCH v9 3/6] test/power: removed function pointer validations

2024-10-22 Thread Sivaprasad Tummala
After refactoring the power library, power management operations are now consistently supported regardless of the operating environment, making function pointer checks unnecessary and thus removed from applications. v2: - removed function pointer validation in l3fwd-power app. Signed-off-by: Siv

[PATCH v9 5/6] maintainers: update for drivers/power

2024-10-22 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index cd78bc7db1..91742f2261 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1743,6 +1743,7 @@ M: Anatoly Burakov M: David Hunt

[PATCH v9 2/6] power: refactor uncore power management library

2024-10-22 Thread Sivaprasad Tummala
This patch refactors the power management library, addressing uncore power management. The primary changes involve the creation of dedicated directories for each driver within 'drivers/power/uncore/*'. The adjustment of meson.build files enables the selective activation of individual drivers. This

[PATCH v9 0/6] power: refactor power management library

2024-10-22 Thread Sivaprasad Tummala
This patchset refactors the power management library, addressing both core and uncore power management. The primary changes involve the creation of dedicated directories for each driver within 'drivers/power/core/*' and 'drivers/power/uncore/*'. This refactor significantly improves code organizati

[PATCH v9 1/6] power: refactor core power management library

2024-10-22 Thread Sivaprasad Tummala
This patch introduces a comprehensive refactor to the core power management library. The primary focus is on improving modularity and organization by relocating specific driver implementations from the 'lib/power' directory to dedicated directories within 'drivers/power/core/*'. The adjustment of m

Re: [PATCH] mbuf: add transport mode ESP packet type

2024-10-22 Thread Nithin Dabilpuram
>And we definitely need RTE_PTYPE_INNER_L4_ESP for ESP over UDP support. Isn't this already taken care when mbuf->packet_type = (RTE_PTYPE_L4_UDP | RTE_PTYPE_TUNNEL_ESP) ? On Tue, Oct 22, 2024 at 6:49 PM Alexander Kozyrev wrote: > > > I am curious, where is the driver that implements this? > I'll

[PATCH v12 0/3] power: introduce PM QoS interface

2024-10-22 Thread Huisong Li
The deeper the idle state, the lower the power consumption, but the longer the resume time. Some service are delay sensitive and very except the low resume time, like interrupt packet receiving mode. And the "/sys/devices/system/cpu/cpuX/power/pm_qos_resume_latency_us" sysfs interface is used to s

[PATCH v12 2/3] examples/l3fwd-power: fix data overflow when parse command line

2024-10-22 Thread Huisong Li
Many variables are 'uint32_t', like, 'pause_duration', 'scale_freq_min' and so on. They use parse_int() to parse it from command line. But overflow problem occurs when this function return. Fixes: 59f2853c4cae ("examples/l3fwd_power: add configuration options") Cc: sta...@dpdk.org Signed-off-by:

[PATCH v12 3/3] examples/l3fwd-power: add PM QoS configuration

2024-10-22 Thread Huisong Li
The '--cpu-resume-latency' can use to control C-state selection. Setting the CPU resume latency to 0 can limit the CPU just to enter C0-state to improve performance, which also may increase the power consumption of platform. Signed-off-by: Huisong Li Acked-by: Morten Brørup Acked-by: Chengwen Fe

[PATCH v12 1/3] power: introduce PM QoS API on CPU wide

2024-10-22 Thread Huisong Li
The deeper the idle state, the lower the power consumption, but the longer the resume time. Some service are delay sensitive and very except the low resume time, like interrupt packet receiving mode. And the "/sys/devices/system/cpu/cpuX/power/pm_qos_resume_latency_us" sysfs interface is used to s

[PATCH v3 18/18] doc/guides/nics: add documents for r8169 pmd

2024-10-22 Thread Howard Wang
Signed-off-by: Howard Wang --- MAINTAINERS| 2 ++ doc/guides/nics/features/r8169.ini | 32 ++ doc/guides/nics/index.rst | 1 + doc/guides/nics/r8169.rst | 17 4 files changed, 52 insertions(+) create mode 10

[PATCH v3 12/18] net/r8169: implement Tx path

2024-10-22 Thread Howard Wang
Add implementation for TX datapath. Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.c | 6 + drivers/net/r8169/r8169_ethdev.h | 11 + drivers/net/r8169/r8169_rxtx.c | 680 ++- 3 files changed, 681 insertions(+), 16 deletions(-) diff --git a/drivers

[PATCH v3 10/18] net/r8169: add link status and interrupt management

2024-10-22 Thread Howard Wang
Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_base.h | 5 +- drivers/net/r8169/r8169_ethdev.c | 278 ++- drivers/net/r8169/r8169_ethdev.h | 3 + drivers/net/r8169/r8169_hw.c | 8 +- drivers/net/r8169/r8169_hw.h | 3 + drivers/net/r8169/r8169_

[PATCH v3 08/18] net/r8169: add support for phy configuration

2024-10-22 Thread Howard Wang
This patch contains phy config, ephy config and so on. Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.c | 10 + drivers/net/r8169/r8169_ethdev.h | 6 + drivers/net/r8169/r8169_phy.c| 446 +++ drivers/net/r8169/r8169_phy.h| 100 +++ 4 file

[PATCH v3 02/18] net/r8169: add logging structure

2024-10-22 Thread Howard Wang
Implement logging macros for debug purposes. Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.c | 9 ++ drivers/net/r8169/r8169_logs.h | 47 2 files changed, 56 insertions(+) create mode 100644 drivers/net/r8169/r8169_logs.h diff --git a/dri

[PATCH v3 17/18] net/r8169: add driver_start and driver_stop

2024-10-22 Thread Howard Wang
rtl8125ap and rtl8125bp need driver start and stop whether dash is enabled or not. Signed-off-by: Howard Wang --- drivers/net/r8169/base/rtl8126a_mcu.h | 1 + drivers/net/r8169/r8169_base.h| 6 +- drivers/net/r8169/r8169_dash.c| 149 +- drivers/net/r81

[PATCH v3 16/18] net/r8169: add support for getting fw version

2024-10-22 Thread Howard Wang
Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/net/r8169/r8169_ethdev.c b/drivers/net/r8169/r8169_ethdev.c index 52f2f4bd47..f0fe04b397 100644 --- a/drivers/net/r8169/r8169_ethdev.c +++ b/drivers/ne

[PATCH v3 14/18] net/r8169: implement promisc and allmulti modes

2024-10-22 Thread Howard Wang
Add support for promiscuous/allmulticast modes configuration. Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.c | 67 1 file changed, 67 insertions(+) diff --git a/drivers/net/r8169/r8169_ethdev.c b/drivers/net/r8169/r8169_ethdev.c index 3597fe5982

[PATCH v3 15/18] net/r8169: impelment MTU configuration

2024-10-22 Thread Howard Wang
Add support for updating MTU value. Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/net/r8169/r8169_ethdev.c b/drivers/net/r8169/r8169_ethdev.c index 44daf78ffd..52f2f4bd47 100644 --- a/drivers/net/

[PATCH v3 13/18] net/r8169: implement device statistics

2024-10-22 Thread Howard Wang
Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_base.h | 16 +++ drivers/net/r8169/r8169_ethdev.c | 48 +++ drivers/net/r8169/r8169_ethdev.h | 3 ++ drivers/net/r8169/r8169_hw.c | 80 drivers/net/r8169/r8169_hw.h | 6 +++ 5 f

[PATCH v3 11/18] net/r8169: implement Rx path

2024-10-22 Thread Howard Wang
Add implementation for RX datapath. Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_base.h | 24 + drivers/net/r8169/r8169_ethdev.c | 76 ++- drivers/net/r8169/r8169_ethdev.h | 18 + drivers/net/r8169/r8169_rxtx.c | 779 ++- 4 files changed, 894 insertio

[PATCH v3 09/18] net/r8169: add support for hw initialization

2024-10-22 Thread Howard Wang
Signed-off-by: Howard Wang --- drivers/net/r8169/meson.build| 1 + drivers/net/r8169/r8169_base.h | 43 +++ drivers/net/r8169/r8169_dash.c | 89 + drivers/net/r8169/r8169_dash.h | 34 ++ drivers/net/r8169/r8169_ethdev.c | 47 ++- drivers/net/r8169/r8169_ethdev.h | 30 +- driv

[PATCH v3 05/18] net/r8169: add support for hw config

2024-10-22 Thread Howard Wang
Implement the rtl_hw_config function to configure the hardware. Signed-off-by: Howard Wang --- drivers/net/r8169/meson.build| 1 + drivers/net/r8169/r8169_base.h | 125 ++ drivers/net/r8169/r8169_ethdev.c | 2 + drivers/net/r8169/r8169_ethdev.h | 15 +- drivers/net/r8169/r8169_hw.

[PATCH v3 06/18] net/r8169: add phy registers access routines

2024-10-22 Thread Howard Wang
Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.h | 1 + drivers/net/r8169/r8169_phy.c| 219 +++ drivers/net/r8169/r8169_phy.h| 18 +++ 3 files changed, 238 insertions(+) diff --git a/drivers/net/r8169/r8169_ethdev.h b/drivers/net/r8169/r8169_

[PATCH v3 03/18] net/r8169: add hardware registers access routines

2024-10-22 Thread Howard Wang
Add implementation for hardware registers access routines. Signed-off-by: Howard Wang --- drivers/net/r8169/meson.build| 1 + drivers/net/r8169/r8169_base.h | 384 +++ drivers/net/r8169/r8169_ethdev.h | 1 + drivers/net/r8169/r8169_hw.c | 94 d

[PATCH v3 04/18] net/r8169: implement core logic for Tx/Rx

2024-10-22 Thread Howard Wang
Add RX/TX function prototypes for further datapath development. Signed-off-by: Howard Wang --- drivers/net/r8169/meson.build| 1 + drivers/net/r8169/r8169_ethdev.c | 17 ++ drivers/net/r8169/r8169_ethdev.h | 3 ++ drivers/net/r8169/r8169_rxtx.c | 57 ++

[PATCH v3 01/18] net/r8169: add PMD driver skeleton

2024-10-22 Thread Howard Wang
Meson build infrastructure, r8169_ethdev minimal skeleton, header with Realtek NIC device and vendor IDs. Signed-off-by: Howard Wang --- MAINTAINERS | 7 ++ drivers/net/meson.build | 1 + drivers/net/r8169/meson.build| 7 ++ drivers/net/r8169/r8169_base.h

[PATCH v3 00/18] Modify some code as suggested by the maintainer.

2024-10-22 Thread Howard Wang
Latest DPDK has different better macros for printing log. Howard Wang (18): net/r8169: add PMD driver skeleton net/r8169: add logging structure net/r8169: add hardware registers access routines net/r8169: implement core logic for Tx/Rx net/r8169: add support for hw config net/r8169: ad

Re:RE: [EXTERNAL] [PATCH] test/graph: fix graph autotest second test failure

2024-10-22 Thread Huichao Cai
At present rte_graph_destroy will only clean up the struct rte_node and struct graph_node, not the struct node, rte_node_clone creates the struct node, inserts the global node_list linked list, there is no function to clean up the node_list linked list, if you want to clean up the node create

Re: [PATCH v8 0/6] power: refactor power management library

2024-10-22 Thread Stephen Hemminger
On Tue, 22 Oct 2024 18:41:26 + Sivaprasad Tummala wrote: > This patchset refactors the power management library, addressing both > core and uncore power management. The primary changes involve the > creation of dedicated directories for each driver within > 'drivers/power/core/*' and 'drivers

Re: [PATCH v6 0/3] add ec points to sm2 op

2024-10-22 Thread Stephen Hemminger
On Tue, 22 Oct 2024 20:05:57 +0100 Arkadiusz Kusztal wrote: > In the case when PMD cannot support the full process of the SM2, > but elliptic curve computation only, additional fields > are needed to handle such a case. > > v2: > - rebased against the 24.11 code > v3: > - added feature flag > -

Re: [v4 16/42] bus/fslmc: dynamic IOVA mode configuration

2024-10-22 Thread Stephen Hemminger
On Wed, 23 Oct 2024 00:42:29 +0530 vanshika.shu...@nxp.com wrote: > + if (mem_rsp->mp_param.result == SOCKET_OK) { > + rte_memcpy(&fslmc_memsegs, > + &mem_rsp->memsegs, > + sizeof(struct fslmc_dmaseg_list)); >

Re: [PATCH v6 2/3] crypto/qat: add sm2 encryption/decryption function

2024-10-22 Thread Stephen Hemminger
On Tue, 22 Oct 2024 20:05:59 +0100 Arkadiusz Kusztal wrote: > + uint32_t alg_bytesize = cookie->alg_bytesize; > + > + rte_memcpy(asym_op->sm2.c1.x.data, cookie->output_array[0], > alg_bytesize); > + rte_memcpy(asym_op->sm2.c1.y.data, cookie->output_array[1], > alg_bytesize); > +

eal: -n or -r options are ignored when --in-memory is used

2024-10-22 Thread Igor Gutorov
Hi, I've noticed an issue of `rte_memory_get_nchannel()` or `rte_memory_get_nrank()` always returning zero regardless of the -n or -r options set. I think this is due to `--in-memory` forcing `conf->no_shconf = 1` [1], which leads to `rte_eal_memdevice_init()` never being executed [2]. I do not

[v4 41/42] net/dpaa2: add support for C-VLAN and MAC

2024-10-22 Thread vanshika . shukla
From: Vanshika Shukla This patch adds the support for DPDMUX_METHOD_C_VLAN_MAC method which implements DPDMUX based on C-VLAN and MAC address. Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_mux.c | 2 +- drivers/net/dpaa2/mc/fsl_dpdmux.h | 16 2 files changed,

Re: [PATCH v6 12/47] net/bnxt: tf_ulp: add vxlan-gpe base support

2024-10-22 Thread Ajit Khaparde
On Tue, Oct 22, 2024 at 9:07 AM Sriharsha Basavapatna wrote: > > On Mon, Oct 21, 2024 at 9:24 PM Stephen Hemminger > wrote: > > > > On Mon, 21 Oct 2024 13:55:32 +0530 > > Sriharsha Basavapatna wrote: > > > > > From: Randy Schacher > > > > > > - Adds vxlan-gpe into ulp layer > > > - Adds vxlan-g

Re: [RFC v3 0/2] An API for Stashing Packets into CPU caches

2024-10-22 Thread Stephen Hemminger
On Tue, 22 Oct 2024 18:37:09 + Wathsala Wathawana Vithanage wrote: > > 2. The API's should be used in the drivers and core, not exposed up > > to the application. Most of the hot data structures are in the > > drivers now. > > > PMDs don't know which CPU and cache level to use

Re: [PATCH] web: adding section to explain recheck rebase option

2024-10-22 Thread Patrick Robb
I absentmindedly sent this to the dev mailing list instead of the web mailing list... I will resubmit.

[PATCH] web: adding section to explain recheck rebase option

2024-10-22 Thread Patrick Robb
The UNH-IOL Community Lab now supports an option to re-apply a patch series for a recheck request to a specific branch before starting the retests. This commit updates the dpdk testing page, adding an explanation of the rebase option and how it compares to the basic recheck function, and provides a

[PATCH v4 20/22] event/cnxk: add Rx/Tx event vector support

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add Event vector support for CN20K Rx/Tx adapter. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn20k_eventdev.c | 185 ++- drivers/event/cnxk/cn20k_tx_worker.h | 84 ++ drivers/event/cnxk/cn20k_worker.h| 63

Re: [PATCH v2] rawdev: add API to get device from index

2024-10-22 Thread David Marchand
On Tue, Oct 8, 2024 at 9:40 AM Akhil Goyal wrote: > > Added an internal API for PMDs to get raw device pointer > from a device id. > > Signed-off-by: Akhil Goyal > Reviewed-by: Hemant Agrawal Applied, thanks. Can someone send a followup patch cleaning raw/cnxk_bphy and raw/ifpga that implemen

[PATCH v6 3/3] app/test: add test sm2 C1/Kp test cases

2024-10-22 Thread Arkadiusz Kusztal
This commit adds tests cases to be used when C1 or kP elliptic curve points need to be computed. Signed-off-by: Arkadiusz Kusztal --- app/test/test_cryptodev_asym.c | 138 - app/test/test_cryptodev_sm2_test_vectors.h | 112 - 2 files changed, 246 i

[PATCH v6 2/3] crypto/qat: add sm2 encryption/decryption function

2024-10-22 Thread Arkadiusz Kusztal
This commit adds SM2 elliptic curve based asymmetric encryption and decryption to the Intel QuickAssist Technology PMD. Signed-off-by: Arkadiusz Kusztal --- doc/guides/cryptodevs/features/qat.ini| 1 + doc/guides/rel_notes/release_24_11.rst| 4 + .../common/qat/qat_adf/icp_qa

[PATCH v6 1/3] cryptodev: add ec points to sm2 op

2024-10-22 Thread Arkadiusz Kusztal
In the case when PMD cannot support the full process of the SM2, but elliptic curve computation only, additional fields are needed to handle such a case. Points C1, kP therefore were added to the SM2 crypto operation struct. Signed-off-by: Arkadiusz Kusztal --- doc/guides/rel_notes/release_24_1

[PATCH v6 0/3] add ec points to sm2 op

2024-10-22 Thread Arkadiusz Kusztal
In the case when PMD cannot support the full process of the SM2, but elliptic curve computation only, additional fields are needed to handle such a case. v2: - rebased against the 24.11 code v3: - added feature flag - added QAT patches - added test patches v4: - replaced feature flag with capabili

[v4 38/42] net/dpaa2: store drop priority in mbuf

2024-10-22 Thread vanshika . shukla
From: Apeksha Gupta store drop priority in mbuf from fd. Signed-off-by: Sachin Saxena Signed-off-by: Apeksha Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 1 + drivers/net/dpaa2/dpaa2_rxtx.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw

[PATCH v4 18/22] event/cnxk: support CN20K Tx adapter fast path

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add support for event eth Tx adapter fastpath operations. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn20k_eventdev.c | 29 +++ drivers/event/cnxk/cn20k_tx_worker.h | 176 +++ drivers/event/cnxk/meson.build | 20

[PATCH v4 09/22] event/cnxk: add CN20K event port quiesce

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add CN20K event port quiesce function. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn20k_eventdev.c | 60 + 1 file changed, 60 insertions(+) diff --git a/drivers/event/cnxk/cn20k_eventdev.c b/drivers/event/cnxk/cn20k_eventdev.c inde

[PATCH v4 12/22] event/cnxk: add CN20K device start

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add CN20K start function along with few cleanup API's to maintain sanity. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn10k_eventdev.c | 103 +-- drivers/event/cnxk/cn20k_eventdev.c | 76 drivers/event/cnxk/cnxk_comm

[PATCH v4 22/22] event/cnxk: add CN20K timer adapter

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add event timer adapter support for CN20K platform. Implement new HWWQE insertion feature supported by CN20K platform. Signed-off-by: Pavan Nikhilesh --- drivers/common/cnxk/roc_tim.c| 6 +- drivers/event/cnxk/cn20k_eventdev.c | 16 ++- drivers/event/cnxk/cn20

[PATCH v4 21/22] common/cnxk: update timer base code

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Update event timer base code to support configuring HW accelerated timer arm and cancel. Signed-off-by: Pavan Nikhilesh --- drivers/common/cnxk/hw/tim.h| 5 ++ drivers/common/cnxk/roc_mbox.h | 38 - drivers/common/cnxk/roc_tim.c | 84 ++

[PATCH v4 17/22] event/cnxk: support CN20K Tx adapter

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add support for event eth Tx adapter. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn20k_eventdev.c | 126 +++ drivers/event/cnxk/cn20k_eventdev.h | 4 + drivers/event/cnxk/cn20k_tx_worker.h | 16 3 files changed, 146 insertions(

[PATCH v4 19/22] common/cnxk: add SSO event aggregator

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add configuration APIs for CN20K SSO event aggregator which allows SSO to generate event vectors. Signed-off-by: Pavan Nikhilesh --- drivers/common/cnxk/hw/sso.h| 33 drivers/common/cnxk/roc_mbox.h | 21 +++ drivers/common/cnxk/roc_model.h | 13 ++

[PATCH v4 16/22] event/cnxk: support CN20K Rx adapter fast path

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add support for event eth Rx adapter fastpath operations. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn20k_eventdev.c | 122 - drivers/event/cnxk/cn20k_worker.c | 54 -- drivers/event/cnxk/cn20k_worker.h | 165

[PATCH v4 15/22] event/cnxk: support CN20K Rx adapter

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add support for CN20K event eth Rx adapter. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn20k_eventdev.c | 121 +++- drivers/event/cnxk/cn20k_eventdev.h | 4 + 2 files changed, 124 insertions(+), 1 deletion(-) diff --git a/drivers/even

[PATCH v4 13/22] event/cnxk: add CN20K device stop and close

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add event device stop and close callback functions. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn20k_eventdev.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/event/cnxk/cn20k_eventdev.c b/drivers/event/cnxk/cn20k_eventdev.c

[PATCH v4 06/22] event/cnxk: add CN20K event port configuration

2024-10-22 Thread pbhagavatula
From: Pavan Nikhilesh Add SSO HWS a.k.a event port setup, release, link, unlink functions. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn10k_eventdev.c | 63 ++- drivers/event/cnxk/cn20k_eventdev.c | 174 drivers/event/cnxk/cn20k_eventdev.h

  1   2   3   4   >