RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-10 Thread Morten Brørup
> From: Stefan Laesser [mailto:stefan.laes...@omicronenergy.com] > Sent: Tuesday, 3 September 2024 13.43 > > Add the packet timestamp from TPACKET_V2 to the mbuf > dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP > is enabled. > > TPACKET_V2 provides the timestamp with nanose

RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-10 Thread Stefan Lässer
> > From: Stefan Lässer [mailto:stefan.laes...@omicronenergy.com] > > Sent: Friday, 6 September 2024 08.23 > > > > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > > Sent: Tuesday, 3 September 2024 18.22 > > > > > > > > On Tue, 3 Sep 2024 13:43:06 +0200 > > > > Stefan Laesser

[PATCH v4 1/1] testpmd: add hairpin-map parameter

2024-09-10 Thread Gregory Etelson
Hairpin offloads packet forwarding between ports. Packet is expected on Rx port , Rx queue and is forwarded to Tx port Tx queue . Testpmd implements a static hairpin configuration scheme. The new parameter allows explicit selection of Rx and Tx ports and queues in hairpin configuration. The new

RE: [RFC PATCH 1/3] graph: add feature arc support

2024-09-10 Thread Kiran Kumar Kokkilagadda
> -Original Message- > From: Nitin Saxena > Sent: Saturday, September 7, 2024 1:01 PM > To: Jerin Jacob ; Kiran Kumar Kokkilagadda > ; Nithin Kumar Dabilpuram > ; Zhirun Yan > Cc: dev@dpdk.org; Nitin Saxena > Subject: [RFC PATCH 1/3] graph: add feature arc support > > add feature arc

[RFC] doc: restructure the introduction

2024-09-10 Thread Stephen Hemminger
Add an about DPDK section (taken from web site), and a glossary. Split the Programmer's Guide and Devices section. Signed-off-by: Stephen Hemminger --- Rough draft as starting point. Need to also cleanup headers of the sub-sections doc/guides/glossary/index.rst | 26 ++

Re: [RFC 0/2] introduce LLC aware functions

2024-09-10 Thread Stephen Hemminger
On Wed, 11 Sep 2024 03:13:14 + "Varghese, Vipin" wrote: > > Agreed. This one of those cases where the existing project hwloc which is > > part > > of open-mpi is more complete and well supported. It supports multiple OS's > > and can deal with more quirks. > > Thank you Stephen for the in

Re: [PATCH v2 04/19] net/xsc: add xsc device init and uninit

2024-09-10 Thread Stephen Hemminger
On Wed, 11 Sep 2024 10:07:25 +0800 "WanRenyong" wrote: > + > + sprintf(path, "%s/device/uevent", dev_path); better to use snprintf for safety > + while (fgets(line, sizeof(line), file) == line) { > + size_t len = strlen(line); > + > + /* Truncate long lines. */ >

RE: [RFC 0/2] introduce LLC aware functions

2024-09-10 Thread Varghese, Vipin
[AMD Official Use Only - AMD Internal Distribution Only] > > On 2024-09-09 16:22, Varghese, Vipin wrote: > > [AMD Official Use Only - AMD Internal Distribution Only] > > > > > > > >>> > >>> > >>> Thank you Mattias for the comments and question, please let me try > >>> to explain the same below

RE: [RFC 0/2] introduce LLC aware functions

2024-09-10 Thread Varghese, Vipin
[AMD Official Use Only - AMD Internal Distribution Only] > > > > > > Thank you Mattias for the comments and question, please let me try > > > to explain the same below > > > > > >> We shouldn't have a separate CPU/cache hierarchy API instead? > > > > > > Based on the intention to bring in CPU l

[PATCH v2 16/19] net/xsc: configure xsc device hardware table

2024-09-10 Thread WanRenyong
Configure hardware table to enable transmission and reception of the queues. Signed-off-by: WanRenyong Signed-off-by: Xiaoxiong Zhang --- drivers/net/xsc/meson.build | 1 + drivers/net/xsc/xsc_ctrl.h | 22 + drivers/net/xsc/xsc_ethdev.c | 39 drivers/net/xsc/xsc_flow.c | 1

[PATCH v2 17/19] net/xsc: add dev link and MTU ops

2024-09-10 Thread WanRenyong
XSC PMD does not support update link right now, in order to start device successfully link_update function always return 0. Signed-off-by: WanRenyong --- doc/guides/nics/features/xsc.ini | 1 + drivers/net/xsc/xsc_ethdev.c | 50 drivers/net/xsc/xsc_utils.c

[PATCH v2 19/19] net/xsc: add dev basic stats ops

2024-09-10 Thread WanRenyong
Implement xsc ethdev basic stats get and reset functions. Signed-off-by: WanRenyong --- doc/guides/nics/features/xsc.ini | 1 + drivers/net/xsc/xsc_ethdev.c | 76 drivers/net/xsc/xsc_rxtx.c | 11 - drivers/net/xsc/xsc_rxtx.h | 15 +++ 4 f

[PATCH v2 15/19] net/xsc: add ethdev Tx burst

2024-09-10 Thread WanRenyong
Implement xsc PMD transmit function. Signed-off-by: WanRenyong Signed-off-by: Rong Qian --- doc/guides/nics/features/xsc.ini | 4 + drivers/net/xsc/xsc_rxtx.c | 231 ++- drivers/net/xsc/xsc_rxtx.h | 9 ++ 3 files changed, 242 insertions(+), 2 deletion

[PATCH v2 18/19] net/xsc: add dev infos get

2024-09-10 Thread WanRenyong
Implement xsc ethdev information get function. Signed-off-by: WanRenyong --- drivers/net/xsc/xsc_ethdev.c | 60 1 file changed, 60 insertions(+) diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c index bc5e827d70..ba3c215112 100644 ---

[PATCH v2 12/19] net/xsc: add ethdev RSS hash ops

2024-09-10 Thread WanRenyong
Implement xsc ethdev RSS hash config get and update functions. Signed-off-by: WanRenyong --- doc/guides/nics/features/xsc.ini | 3 +++ drivers/net/xsc/xsc_ctrl.h | 27 drivers/net/xsc/xsc_ethdev.c | 43 +++- drivers/net/xsc/xsc_ethdev.h

[PATCH v2 14/19] net/xsc: add ethdev Rx burst

2024-09-10 Thread WanRenyong
Implement xsc PMD receive function. Signed-off-by: WanRenyong Signed-off-by: Xiaoxiong Zhang --- drivers/net/xsc/xsc_rxtx.c | 189 - drivers/net/xsc/xsc_rxtx.h | 9 ++ 2 files changed, 197 insertions(+), 1 deletion(-) diff --git a/drivers/net/xsc/xsc_rxtx.

[PATCH v2 11/19] net/xsc: add mailbox and structure

2024-09-10 Thread WanRenyong
Mailbox is a communication channel between driver and firmware. Signed-off-by: WanRenyong --- drivers/net/xsc/xsc_ctrl.c | 8 drivers/net/xsc/xsc_ctrl.h | 31 +++ 2 files changed, 39 insertions(+) diff --git a/drivers/net/xsc/xsc_ctrl.c b/drivers/net/xsc/xs

[PATCH v2 13/19] net/xsc: add ethdev start and stop ops

2024-09-10 Thread WanRenyong
Implement xsc ethdev start and stop function. Signed-off-by: WanRenyong Signed-off-by: Rong Qian --- drivers/net/xsc/meson.build | 1 + drivers/net/xsc/xsc_ctrl.h | 152 ++- drivers/net/xsc/xsc_defs.h | 2 + drivers/net/xsc/xsc_dev.h| 3 + drivers/net/xsc/xsc_ethdev.c | 740 +

[PATCH v2 09/19] net/xsc: initial representor eth device

2024-09-10 Thread WanRenyong
Initialize xsc eth device private data. Signed-off-by: WanRenyong --- drivers/net/xsc/xsc_defs.h | 2 +- drivers/net/xsc/xsc_dev.h| 3 + drivers/net/xsc/xsc_ethdev.c | 64 + drivers/net/xsc/xsc_ethdev.h | 30 ++ drivers/net/xsc/xsc_utils.c | 105 +

[PATCH v2 08/19] net/xsc: create eth devices for representor ports

2024-09-10 Thread WanRenyong
Each representor port is a rte ethernet device. Signed-off-by: WanRenyong --- drivers/net/xsc/xsc_ethdev.c | 87 drivers/net/xsc/xsc_ethdev.h | 1 + 2 files changed, 88 insertions(+) diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c i

[PATCH v2 07/19] net/xsc: add representor ports probe

2024-09-10 Thread WanRenyong
XSC representor port is designed to store representor resources. In addition to common representor ports, xsc device is a special representor port. Signed-off-by: WanRenyong Signed-off-by: Na Na --- drivers/net/xsc/xsc_defs.h | 24 +++ drivers/net/xsc/xsc_dev.c | 103 +++

[PATCH v2 10/19] net/xsc: add ethdev configure and rxtx queue setup ops

2024-09-10 Thread WanRenyong
Implement xsc ethdev configure, Rx and Tx queue setup functions. Signed-off-by: WanRenyong --- v2: * fix compilation warning --- drivers/net/xsc/xsc_ethdev.c | 171 +++ drivers/net/xsc/xsc_ethdev.h | 6 ++ drivers/net/xsc/xsc_rxtx.h | 115 +++

[PATCH v2 06/19] net/xsc: initialize hardware information

2024-09-10 Thread WanRenyong
Getting hardware information is done by ioctl command, which contains the information of xsc device, as well as the common information of the NIC board. Signed-off-by: WanRenyong --- drivers/net/xsc/xsc_dev.c | 63 +++ drivers/net/xsc/xsc_dev.h | 32 ++

[PATCH v2 03/19] net/xsc: add PCI device probe and remove

2024-09-10 Thread WanRenyong
Support the following Yunsilicon NICs to be probed: - metaScale-200 - metaScale-200S - metaScale-50 - metaScale-100Q Signed-off-by: WanRenyong Signed-off-by: Na Na --- drivers/net/xsc/xsc_defs.h | 12 ++ drivers/net/xsc/xsc_ethdev.c | 74 drivers/net/

[PATCH v2 04/19] net/xsc: add xsc device init and uninit

2024-09-10 Thread WanRenyong
XSC device is a concept of low level device used to manage hardware resource and to interact with firmware. Signed-off-by: WanRenyong --- v2: * fix compilation error caused by missing dependency --- drivers/net/xsc/meson.build | 20 + drivers/net/xsc/xsc_defs.h | 23 + drivers/net

[PATCH v2 05/19] net/xsc: add ioctl command interface

2024-09-10 Thread WanRenyong
IOCTL command interface is one of methods used to interact with firmware by PMD. By using ioctl interface, PMD sends command to the kernel module, then the kernel module translates the command and sends it to firmware, at last, the kernel module send back PDM the result from firmware. Signed-off-b

[PATCH v2 01/19] net/xsc: add doc and minimum build framework

2024-09-10 Thread WanRenyong
Add minimum PMD code, doc and build infrastructure for xsc. Signed-off-by: WanRenyong --- v2: * fix compilation error --- .mailmap | 4 MAINTAINERS | 9 + doc/guides/nics/features/xsc.ini | 9 + doc/guides/nics/index.rst

[PATCH v2 00/19] XSC PMD for Yunsilicon NICs

2024-09-10 Thread WanRenyong
This xsc PMD (**librte_net_xsc**) provides poll mode driver for Yunsilicon metaScale serials NICs. Features: - - MTU update - TSO - RSS hash - RSS key update - RSS reta update - L3 checksum offload - L4 checksum offload - Inner L3 checksum - Inner L4 checksum - Basic stats Support NICs:

[PATCH v2 02/19] net/xsc: add log macro

2024-09-10 Thread WanRenyong
Add log macro to print runtime messages and trace functions. Signed-off-by: WanRenyong --- drivers/net/xsc/xsc_ethdev.c | 11 + drivers/net/xsc/xsc_log.h| 44 2 files changed, 55 insertions(+) create mode 100644 drivers/net/xsc/xsc_log.h diff --

Re: ci: version.map check

2024-09-10 Thread Ferruh Yigit
On 9/11/2024 1:08 AM, Morten Brørup wrote: >> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] >> Sent: Wednesday, 11 September 2024 01.48 >> >> On 9/10/2024 5:56 PM, Morten Brørup wrote: >>> It would be convenient if the CI checked that the symbols in >> version.map files actually exist in the res

Re: [PATCH v3] doc: add new driver guidelines

2024-09-10 Thread Ferruh Yigit
On 9/10/2024 3:58 PM, Nandini Persad wrote: > This document was created to assist contributors > in creating DPDK drivers, providing suggestions > and guidelines for how to upstream effectively. > There are minor differences in this v3 and v2, isn't this version on top of v2, can those changes be

Re: [PATCH 1/2] dts: add blocked ports to EalParams

2024-09-10 Thread Patrick Robb
Reviewed-by: Patrick Robb

Re: [PATCH 2/2] dts: add blocklist test suite

2024-09-10 Thread Patrick Robb
Barring a couple updates needed due to framework changes, this looks good and runs on a Broadcom 975908 25G NIC I used for testing. It runs fine after switching to invoking the testpmd shell via the context manager, and removing the use of "testpmd.close()." Once a new version is submitted with th

RE: ci: version.map check

2024-09-10 Thread Morten Brørup
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] > Sent: Wednesday, 11 September 2024 01.48 > > On 9/10/2024 5:56 PM, Morten Brørup wrote: > > It would be convenient if the CI checked that the symbols in > version.map files actually exist in the resulting code. > > > > Is there instances that i

Re: ci: version.map check

2024-09-10 Thread Ferruh Yigit
On 9/10/2024 5:56 PM, Morten Brørup wrote: > It would be convenient if the CI checked that the symbols in version.map > files actually exist in the resulting code. > Is there instances that is not the case?

Community CI Meeting Minutes - September 5, 2024

2024-09-10 Thread Patrick Robb
# September 5, 2024 Attendees 1. Patrick Robb 2. Ali Alnubani 3. Jeremy Spewock 4. Juraj Linkeš 5. Luca Vizzarro 6. Alex Chapman 7. Paul Szczepanek 8. Aaron Conole ##

DTS WG Meeting Minutes - August 29, 2024

2024-09-10 Thread Patrick Robb
# August 29, 2024 Attendees * Patrick Robb * Luca Vizzarro * Paul Szczepanek * Jeremy Spewock * Alex Chapman # Minutes ==

RE: 21.11.8 patches review and test

2024-09-10 Thread Ali Alnubani
> -Original Message- > From: Kevin Traynor > Sent: Friday, September 6, 2024 12:53 PM > To: Ali Alnubani ; sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > David Christensen ; Hemant Agrawal > ; Ian Stokes ; Jerin Jacob > ; John McNamara ; Ju- > Hyoung Lee ; Luca Boccassi ; Pei > Z

Re: Crash in tap pmd when using more than 8 rx queues

2024-09-10 Thread Ferruh Yigit
On 9/10/2024 5:58 PM, Stephen Hemminger wrote: > On Fri, 6 Sep 2024 12:16:47 +0100 > Ferruh Yigit wrote: > >> On 9/5/2024 1:55 PM, Edwin Brossette wrote: >>> Hello, >>> >>> I have recently stumbled into an issue with my DPDK-based application >>> running the failsafe pmd. This pmd uses a tap devi

Minutes of teh Technical Board Meeting, Sept 4,2024

2024-09-10 Thread Stephen Hemminger
Minutes of Technical Board Meeting, 4-Sept-2024 Members Attending = Aaron Conole Bruce Richardson Hemant Agrawal Honappa Nagarahalli Jerin Jacob Kevin Traynor Konstantin Ananyev Maxime Coquelin Stephen Hemminger (chair) Thomas Monjalon NOTE The technical board meetings are on

Re: Crash in tap pmd when using more than 8 rx queues

2024-09-10 Thread Stephen Hemminger
On Fri, 6 Sep 2024 12:16:47 +0100 Ferruh Yigit wrote: > On 9/5/2024 1:55 PM, Edwin Brossette wrote: > > Hello, > > > > I have recently stumbled into an issue with my DPDK-based application > > running the failsafe pmd. This pmd uses a tap device, with which my > > application fails to start if m

ci: version.map check

2024-09-10 Thread Morten Brørup
It would be convenient if the CI checked that the symbols in version.map files actually exist in the resulting code. -Morten

Re: [PATCH v2 1/1] bbdev: removing unnecessaray symbols from version map

2024-09-10 Thread Maxime Coquelin
On 8/28/24 01:03, Nicolas Chautru wrote: A number of inline functions should not be in the version map since ABI versionning would be irrelevant. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.h| 1 - lib/bbdev/rte_bbdev_op.h | 2 -- lib/bbdev/version.map| 24 +-

Re: [PATCH 1/6] eal: add static per-lcore memory allocation facility

2024-09-10 Thread Stephen Hemminger
On Tue, 10 Sep 2024 12:44:49 +0200 Mattias Rönnblom wrote: > "lcore" is just another word for "EAL thread." The lcore variables exist > in one instance for every thread with an lcore id, thus also for > registered non-EAL threads (i.e., threads which are not lcores). > > I've tried to summariz

Re: [RFC v6 0/6] Lcore variables

2024-09-10 Thread Stephen Hemminger
On Tue, 10 Sep 2024 08:41:19 +0200 Mattias Rönnblom wrote: > On 2024-09-02 16:42, Morten Brørup wrote: On a related note, latest GCC supports annotating the address space of variables. Kernel uses it for RCU. It would be good if DPDK could do this for: - per lcore data - data in

Re: [PATCH v2 1/1] drivers/baseband: device queues initialization

2024-09-10 Thread Maxime Coquelin
On 8/23/24 16:56, Hernan Vargas wrote: Cosmetic change to keep code consistency in PMD for queue initialization set to zero. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 1 + drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c

Re: [PATCH v2 3/3] test/bbdev: update for queue stats

2024-09-10 Thread Maxime Coquelin
On 8/13/24 01:42, Nicolas Chautru wrote: Update to include in test application the queue stats for the enqueue_depth_avail counter. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/ap

Re: [PATCH v2 2/3] baseband/acc: refactor queue status update

2024-09-10 Thread Maxime Coquelin
On 8/13/24 01:42, Nicolas Chautru wrote: Introducing common function for queue stats update within the acc PMDs. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 18 drivers/baseband/acc/rte_acc100_pmd.c | 45 ++-- drivers/baseband/acc/r

Re: [PATCH v2 1/3] bbdev: new queue stat for available enqueue depth

2024-09-10 Thread Maxime Coquelin
On 8/13/24 01:41, Nicolas Chautru wrote: Capturing additional queue stats counter for the depth of enqueue batch still available on the given queue. This can help application to monitor that depth at run time. Signed-off-by: Nicolas Chautru --- doc/guides/rel_notes/release_24_11.rst | 3 ++

Re: [PATCH] baseband/fpga_5gnr_fec: remove useless cast

2024-09-10 Thread Maxime Coquelin
On 7/25/24 19:17, Stephen Hemminger wrote: The rte_pktmbuf_mtod_offset macro already includes a type cast so casting the result just adds extra cast. Found by cocci/mtod-offset.cocci Signed-off-by: Stephen Hemminger --- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 4 ++-- 1 file c

Re: [PATCH v5] virtio: optimize stats counters performance

2024-09-10 Thread Maxime Coquelin
On 8/1/24 18:03, Morten Brørup wrote: Optimized the performance of updating the virtio statistics counters by reducing the number of branches. Ordered the packet size comparisons according to the probability with typical internet traffic mix. Signed-off-by: Morten Brørup --- v5: * Do not in

Re: [PATCH] vhost-user: optimize stats counters performance

2024-09-10 Thread Maxime Coquelin
On 8/2/24 16:32, Morten Brørup wrote: Optimized the performance of updating the statistics counters by reducing the number of branches. Ordered the packet size comparisons according to the probability with typical internet traffic mix. Signed-off-by: Morten Brørup --- lib/vhost/virtio_net

[PATCH v3] doc: add new driver guidelines

2024-09-10 Thread Nandini Persad
This document was created to assist contributors in creating DPDK drivers, providing suggestions and guidelines for how to upstream effectively. Co-authored-by: Ferruh Yigit Co-authored-by: Thomas Mojalon Signed-off-by: Nandini Persad Acked-by: Chengwen Feng --- doc/guides/contributing/new_dr

Re: [PATCH v2 6/6] doc: dpdk documentation changes for new dts config

2024-09-10 Thread Juraj Linkeš
On 5. 7. 2024 19:13, Nicholas Pratte wrote: Adjusted DPDK documentation to reflect the changes made to the dts conf.yaml configuration file. Looking at the changes to conf.yaml, looks like there are missing pieces (such as moved vdevs and memory_channels), but the patch no longer applies

Re: [PATCH v2 5/6] dts: add conditional behavior for test suite

2024-09-10 Thread Juraj Linkeš
On 5. 7. 2024 19:13, Nicholas Pratte wrote: There is some odd functionality/behavior in how the --test-suite parameters interacts in conjunction with the 'test_suites' attribute in the config file. If a user leaves an empty list underneath 'test_suites,' or if they negate the attribute entirel

Re: [PATCH v2 4/6] dts: Rework DPDK Attributes In SUT Node Config

2024-09-10 Thread Juraj Linkeš
diff --git a/dts/framework/config/conf_yaml_schema.json b/dts/framework/config/conf_yaml_schema.json index e65ea45058..b31f4d8dbe 100644 --- a/dts/framework/config/conf_yaml_schema.json +++ b/dts/framework/config/conf_yaml_schema.json @@ -150,14 +150,21 @@ "os": { "$r

Re: [PATCH v2 3/6] dts: Self-Discovering Architecture Change

2024-09-10 Thread Juraj Linkeš
On 5. 7. 2024 19:13, Nicholas Pratte wrote: The 'arch' attribute in the conf.yaml is unnecessary, as this can be readily discovered within the constructor of any given node. Since OS is determined within user configuration, finding system arch can be done both reliably and easily within the fr

Re: [PATCH v2 2/6] dts: Use First Core Logic Change

2024-09-10 Thread Juraj Linkeš
On 5. 7. 2024 19:13, Nicholas Pratte wrote: Removed use_first_core from the conf.yaml in favor of determining this within the framework. use_first_core continue to serve a purpose in that it is only enabled when core 0 is explicitly provided in the configuration. Any other configuration, inclu

[PATCH v2] vfio: check iova if already mapped before do map

2024-09-10 Thread Yunjian Wang
From: Lipei Liang When mapping two adjacent memory areas A and B, the current implementation merges them into one segment, known as area C. However, if areas A and B are mapped again, there will be separate entries for A, C, and B in the memory maps, as C divides A and B. This means that if A and

RE: [PATCH 1/6] eal: add static per-lcore memory allocation facility

2024-09-10 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Tuesday, 10 September 2024 12.45 > > On 2024-09-10 11:32, Morten Brørup wrote: > >> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > >> Sent: Tuesday, 10 September 2024 09.04 > >> > >> Introduce DPDK per-lcore id variab

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

2024-09-10 Thread lihuisong (C)
Hi chengwen, 在 2024/9/10 10:26, fengchengwen 写道: Hi Huisong, On 2024/8/9 17:50, Huisong Li wrote: Add PM QoS configuration to declease the delay after sleep in case of entering deeper idle state. Signed-off-by: Huisong Li Acked-by: Morten Brørup --- examples/l3fwd-power/main.c | 24 ++

RE: [EXTERNAL] Re: [RFC 0/3] Introduce event prefetching

2024-09-10 Thread Pavan Nikhilesh Bhagavatula
> On 2024-09-10 10:31, pbhagavat...@marvell.com wrote: > > From: Pavan Nikhilesh > > > > Event prefetching improves scheduling performance by pre-scheduling > events to > > event ports when dequeues are issued. This series introduces various types > and > > levels of prefetching to the eventdev li

Re: [PATCH v2 1/6] dts: Remove build target config and list of devices

2024-09-10 Thread Juraj Linkeš
The subject line should be all lowercase (except for abbreviations and maybe some other exceptions). On 5. 7. 2024 19:13, Nicholas Pratte wrote: Remove the list of devices from the schema, as these are unuesed. Typo: unuesed Likewise, removed build-target information since these is not curr

[PATCH v1 0/9] Update IAVF Base Driver

2024-09-10 Thread Soumyadeep Hore
Updated the IAVF Base driver with latest sharedcode patches. Ahmed Zaki (2): common/iavf: define the maximum MSIX index common/iavf: add RSS CONFIG hash function Jacob Keller (1): common/iavf: update the PTP enablement in virtchnl Julian Grajkowski (1): common/iavf: add RefSync support

[PATCH v1 8/9] common/iavf: introduce QGRP capabilities to replace ADQ caps

2024-09-10 Thread Soumyadeep Hore
From: Sudheer Mogilappagari Currently VIRTCHNL_VF_OFFLOAD_ADQ cap is used for VF ADQ functionality with i40e PF and VIRTCHNL_VF_OFFLOAD_ADQ_V2 cap is used for functionality with ice PF. Above caps makes the IAVF code complicated with additional checks all around TC configuration and TC filter co

[PATCH v1 9/9] common/iavf: add RSS CONFIG hash function

2024-09-10 Thread Soumyadeep Hore
From: Ahmed Zaki Add VIRTCHNL_OP_CONFIG_RSS_HFUNC that allows the iavf to select the VF's hash function. Signed-off-by: Ahmed Zaki Signed-off-by: Soumyadeep Hore --- drivers/common/iavf/virtchnl.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/common/iavf/vir

[PATCH v1 7/9] common/iavf: add RefSync support

2024-09-10 Thread Soumyadeep Hore
From: Julian Grajkowski Update virtchnl to reflect RefSync implementation. Reading and modifying DPLL input pin configuration, including Esync/RefSync option, is possible on VM using sysfs. The request is passed from the VM via virtchnl message to the host driver and results in an admin command b

[PATCH v1 6/9] common/iavf: add flex descriptor fields enum

2024-09-10 Thread Soumyadeep Hore
From: Mateusz Polchlopek Flex descriptor has fields like DD, EOP or RXE defined under other addresses than legacy descriptor. This commit introduces enum with bits definitions for flex one. Signed-off-by: Mateusz Polchlopek Signed-off-by: Soumyadeep Hore --- drivers/common/iavf/iavf_type.h |

[PATCH v1 5/9] common/iavf: add commands for HQOS management

2024-09-10 Thread Soumyadeep Hore
From: Lukasz Plachno Add VIRTCHNL operations for managing scheduling nodes for VSI subtree. E822/E830 adapters allows VNet based scheduling tree configuration. Management of scheduling nodes up to VSIs is done by devlink interface. Signed-off-by: Lukasz Plachno Signed-off-by: Soumyadeep Hore

[PATCH v1 4/9] common/iavf: define the maximum MSIX index

2024-09-10 Thread Soumyadeep Hore
From: Ahmed Zaki The iAVF 1.1 standard defines the maximum number of interrupts to be 64. Following other defines in iavf_resgister.h, define the VFINT_DYN_MAX_INDEX to be 63. This will allow us to check the maximum number of interrupts that we can ask from the OS. Signed-off-by: Ahmed Zaki Sig

[PATCH v1 3/9] common/iavf: add GNSS support over VF

2024-09-10 Thread Soumyadeep Hore
From: Jun Zhang This patch enables VF access to GNSS Console I2C. Most of the opcodes in this implementation map directly to the AQ commands for GNSS Console I2C Read and Write for GNSS status, configuration, and NMEA messages. Additionally there is VF and PF negotiation on GNSS Access Capabili

[PATCH v1 2/9] common/iavf: add SyncE support over VF

2024-09-10 Thread Soumyadeep Hore
From: Piotr Gardocki This patch enables to VF access to all SyncE related operations. Most of the opcodes in this implementation map directly to the AQ commands. Additionally there is a VIRTCHNL_OP_SYNCE_GET_HW_INFO opcode which should be used by VF to discover all hardware related details requi

[PATCH v1 1/9] common/iavf: update the PTP enablement in virtchnl

2024-09-10 Thread Soumyadeep Hore
From: Jacob Keller The virtchnl now supports the PTP Tx Timestamp attributes in iavf. Signed-off-by: Jacob Keller Signed-off-by: Soumyadeep Hore --- drivers/common/iavf/virtchnl.h | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/common/iavf/virtc

Re: [PATCH v1 3/3] dts: rework test suite and dts runner to include test_run configs

2024-09-10 Thread Juraj Linkeš
On 4. 9. 2024 20:18, Jeremy Spewock wrote: On Wed, Aug 21, 2024 at 2:43 PM Nicholas Pratte wrote: diff --git a/dts/framework/test_suite.py b/dts/framework/test_suite.py index 694b2eba65..fd51796a06 100644 --- a/dts/framework/test_suite.py +++ b/dts/framework/test_suite.py @@ -20,6 +20,7 @@

Re: [PATCH 11/11] drivers: use per line logging in helpers

2024-09-10 Thread David Marchand
On Sat, Sep 7, 2024 at 4:56 PM David Marchand wrote: > > Use RTE_LOG_LINE in existing macros that append a \n. > > Signed-off-by: David Marchand > --- [snip] > diff --git a/drivers/net/octeon_ep/otx_ep_common.h > b/drivers/net/octeon_ep/otx_ep_common.h > index 7d5dd91a77..ea9788757e 100644 > -

Re: [PATCH 1/6] eal: add static per-lcore memory allocation facility

2024-09-10 Thread Mattias Rönnblom
On 2024-09-10 11:32, Morten Brørup wrote: From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] Sent: Tuesday, 10 September 2024 09.04 Introduce DPDK per-lcore id variables, or lcore variables for short. Throughout the descriptions and comments, please replace "lcore id" with "lcore" (

Re: [PATCH v1 2/3] dts: rework testbed_model Port objects to contain unique identifiers

2024-09-10 Thread Juraj Linkeš
On 21. 8. 2024 20:43, Nicholas Pratte wrote: In order to leverage the usability of unique identifiers on ports, the testbed_model Port object needs some refactoring/trimming of obsolete or needless attributes. Bugzilla ID: 1478 Signed-off-by: Nicholas Pratte --- dts/framework/testbed_mode

Re: [PATCH v1 1/3] dts: rework port attributes in config module

2024-09-10 Thread Juraj Linkeš
As a general note, it's possible we should wait with these changes for the Pydantic changes which could simplify a lot of what we want to do with the config (not just this, but also the split and removing excess attributes). On 21. 8. 2024 20:43, Nicholas Pratte wrote: The current design requ

[PATCH] net/r8169: add logging structure

2024-09-10 Thread Howard Wang
Implement logging macros for debug purposes. Signed-off-by: Howard Wang --- drivers/net/r8169/r8169_ethdev.c | 40 drivers/net/r8169/r8169_logs.h | 53 2 files changed, 93 insertions(+) create mode 100644 drivers/net/r8169/r8169_logs.h

[PATCH v2 2/3] net/ice: add frequency adjustment support for PTP

2024-09-10 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH v2 1/3] ethdev: add frequency adjustment API

2024-09-10 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/features.rst | 4 +++- doc/guides/rel_notes/release_24_11.rst | 30 +++--- lib/ethdev/ethdev_driver.h | 5 + lib/ethde

[PATCH v2 0/3] add frequency adjustment support for PTP

2024-09-10 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support --- v2: rte_eth_timesync_adjust_freq marked as experimental. Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency

[PATCH v2 3/3] examples/ptpclient: add frequency adjustment support

2024-09-10 Thread Mingjin Ye
This patch adds PI servo algorithm to support frequency adjustment API for IEEE1588 PTP. For example, the command for starting ptpclient with PI algorithm is: ./build/examples/dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 --controller=pi Signed-off-by: Simei Su Signed-off-by: Wenjun Wu

[PATCH 13/33] common/cnxk: add cn20k NIX register definitions

2024-09-10 Thread Nithin Dabilpuram
From: Satha Rao Add cn20k NIX register definitions. Signed-off-by: Satha Rao Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/hw/nix.h | 524 + drivers/common/cnxk/hw/rvu.h | 7 +- drivers/common/cnxk/roc_mbox.h | 52 drivers/common/cnxk/roc

Re: [RFC v1 0/1] dts: separate allowed values from json schema

2024-09-10 Thread Juraj Linkeš
On 7. 8. 2024 17:01, Luca Vizzarro wrote: Hi Nicholas, Thank you for the proposal. The way I see it is that JSON schema can be very developer unfriendly to read, therefore I would not rely on it for this purpose. Adding $refs as well could start making it more complicated for this purpose.

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

2024-09-10 Thread lihuisong (C)
Hi Chengwen, Thanks for your review. 在 2024/9/10 10:00, fengchengwen 写道: Hi Huisong Please see comments inline. Thanks On 2024/8/9 17:50, Huisong Li wrote: The deeper the idle state, the lower the power consumption, but the longer the resume time. Some service are delay sensitive and very e

RE: [PATCH 1/6] eal: add static per-lcore memory allocation facility

2024-09-10 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Tuesday, 10 September 2024 09.04 > > Introduce DPDK per-lcore id variables, or lcore variables for short. Throughout the descriptions and comments, please replace "lcore id" with "lcore" (e.g. "per-lcore variables"), when ref

[PATCH 12/33] net/cnxk: move PMD function defines to common code

2024-09-10 Thread Nithin Dabilpuram
Move PMD function definitions to common code for cn9k/cn10k since they are declared commonly. Also remove the reference to 'struct rte_security_session' since it is now a driver internal structure and not exported to application code. Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn10k_

[PATCH v5 8/8] zsda: add zsda crypto-session and compile file

2024-09-10 Thread Hanxiao Li
Add new file zsda_sym_session.c, zsda_symsession.h and modify drivers/common/zsda/meson.build Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build| 16 +- drivers/crypto/zsda/zsda_sym_session.c | 503 + drivers/crypto/zsda/zsda_sym_session.h | 82

[PATCH v5 5/8] zsda: modify files for introducing zsda cryptodev

2024-09-10 Thread Hanxiao Li
It is necessary to make necessary modifications to existing files based on the newly introduced content Signed-off-by: Hanxiao Li --- MAINTAINERS | 3 ++ drivers/common/zsda/zsda_common.h | 50 +++ drivers/common/zsda/zsda_device.c | 42 +++-

[PATCH v5 4/8] zsda: add zsda compressdev driver and interface

2024-09-10 Thread Hanxiao Li
Add zsda compressdev driver and enqueue, dequeue interface. Signed-off-by: Hanxiao Li --- drivers/compress/zsda/zsda_comp.c | 361 drivers/compress/zsda/zsda_comp.h | 27 ++ drivers/compress/zsda/zsda_comp_pmd.c | 453 ++ drivers/compress/zsd

[PATCH v5 7/8] zsda: add zsda crypto-sym

2024-09-10 Thread Hanxiao Li
Add new file zsda_sym.c, zsda_sym.h in drivers/crypto/zsda Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_sym.c | 286 + drivers/crypto/zsda/zsda_sym.h | 25 +++ 2 files changed, 311 insertions(+) create mode 100644 drivers/crypto/zsda/zsda_sym.c create

[PATCH v5 3/8] zsda: add support for queue operation

2024-09-10 Thread Hanxiao Li
Add queue initialization, release, enqueue, dequeue and other interface. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 720 ++ drivers/common/zsda/zsda_qp.h | 160 2 files changed, 880 insertions(+) create mode 100644 drivers/common/zsda/

[PATCH v5 6/8] zsda: add zsda crypto-pmd

2024-09-10 Thread Hanxiao Li
Add new file zsda_sym_pmd.c, zsda_sym_pmd.h in drivers/crypto/zsda Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_sym_capabilities.h | 112 + drivers/crypto/zsda/zsda_sym_pmd.c | 429 drivers/crypto/zsda/zsda_sym_pmd.h | 35 ++ 3 files changed,

[PATCH v5 2/8] zsda: add support for zsdadev operations

2024-09-10 Thread Hanxiao Li
Add support for zsdadev operations such as dev_start and dev_stop. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_device.c | 476 ++ drivers/common/zsda/zsda_device.h | 103 +++ 2 files changed, 579 insertions(+) create mode 100644 drivers/common/zsda/zsd

Re: [PATCH v2] dts: Testbed And Node Configuration Split

2024-09-10 Thread Juraj Linkeš
create mode 100644 dts/execution_conf.yaml As Jeremy mentioned, this is a duplicate. I guess this patch needs to be rebased as it mentions executions all over the place. create mode 100644 dts/node_conf.yaml create mode 100644 dts/testbed_conf.yaml And this should be named test_run_c

[PATCH v5 1/8] zsda: Introduce zsda device drivers

2024-09-10 Thread Hanxiao Li
Introduce driver support for ZSDA which can help to accelerate storage data process. Signed-off-by: Hanxiao Li --- MAINTAINERS | 4 + config/rte_config.h | 4 + drivers/common/zsda/meson.build | 25 +++ drivers/common/zsda/zsda_common.c | 168 ++

Re: [RFC 0/3] Introduce event prefetching

2024-09-10 Thread Mattias Rönnblom
On 2024-09-10 10:31, pbhagavat...@marvell.com wrote: From: Pavan Nikhilesh Event prefetching improves scheduling performance by pre-scheduling events to event ports when dequeues are issued. This series introduces various types and levels of prefetching to the eventdev library. I would avoid

[PATCH 33/33] net/cnxk: add PMD API to retrieve the model string

2024-09-10 Thread Nithin Dabilpuram
From: Srujana Challa This patch adds PMD API to retrieve the model string. This API allows applications to get the HW model string directly. Signed-off-by: Srujana Challa --- drivers/net/cnxk/cnxk_ethdev.c | 7 +++ drivers/net/cnxk/rte_pmd_cnxk.h | 9 + drivers/net/cnxk/version.ma

[PATCH 32/33] net/cnxk: add option to enable custom inbound sa usage

2024-09-10 Thread Nithin Dabilpuram
From: Srujana Challa Introduces a device argument (custom_inb_sa) to activate the usage of custom inbound SA. If inline device is used then this device argument will be required for both inline device and eth device. With custom_inb_sa configuration, application can do the post processing of inli

  1   2   >