[RFC PATCH] dmadev: offload to free source buffer

2023-08-08 Thread Amit Prakash Shukla
This changeset adds support in DMA library to free source DMA buffer by hardware. On a supported hardware, application can pass on the mempool information as part of vchan config when the DMA transfer direction is configured as RTE_DMA_DIR_MEM_TO_DEV. Signed-off-by: Amit Prakash Shukla --- lib/d

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

2023-08-08 Thread Simei Su
This patch applys PI servo algorithm to leverage frequency adjustment API to improve PTP timesync accuracy. 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: Wen

[PATCH 2/3] examples/ptpclient: refine application

2023-08-08 Thread Simei Su
This patch reworks code to split delay request message parsing from follow up message parsing which doesn't break original logic. Signed-off-by: Simei Su Signed-off-by: Wenjun Wu --- examples/ptpclient/ptpclient.c | 48 -- 1 file changed, 32 insertions(+)

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

2023-08-08 Thread Simei Su
This patch introduces a new timesync API "rte_eth_timesync_adjust_fine" which enables finer adjustment of the PHC clock. During PTP timesync, "rte_eth_timesync_adjust_time" focuses on phase adjustment while "rte_eth_timesync_adjust_fine" focuses on frequency adjustment. This new function gets the

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

2023-08-08 Thread Simei Su
This patchset cover below parts: (1)Introduce a new timesync API called "rte_eth_timesync_adjust_freq" that enables frequency adjustment during PTP timesync. This new API aligns with the kernel PTP which already supports frequency adjustment. It brings DPDK closer in alignment with the ker

[PATCH] net/i40e: add new X722 device

2023-08-08 Thread Qiming Yang
Supported new X722 device. Signed-off-by: Qiming Yang --- doc/guides/rel_notes/release_23_11.rst | 3 +++ drivers/net/i40e/base/i40e_common.c| 5 + drivers/net/i40e/base/i40e_devids.h| 2 ++ drivers/net/i40e/i40e_ethdev.c | 2 ++ 4 files changed, 12 insertions(+) diff --git

RE: [PATCH 03/14] common/idpf/base: initial PTP support

2023-08-08 Thread Liu, Mingxia
> -Original Message- > From: Qiao, Wenjing > Sent: Wednesday, August 9, 2023 9:33 AM > To: Wu, Jingjing ; Xing, Beilei > ; > Zhang, Qi Z > Cc: dev@dpdk.org; Liu, Mingxia ; Qiao, Wenjing > ; Su, Simei ; Olech, Milena > > Subject: [PATCH 03/14] common/idpf/base: initial PTP support >

[PATCH 14/14] common/idpf/base: use 'type functionname(args)' style

2023-08-08 Thread Wenjing Qiao
From: Simei Su Instead of splitting the function name and function type into multiple lines, use then in a single line. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su --- drivers/common/idpf/base/idpf_controlq.c | 5 ++--- drivers/common/idpf/base/idpf_controlq_setup.c | 5 ++-

[PATCH 12/14] common/idpf/base: refine comments and alignment

2023-08-08 Thread Wenjing Qiao
From: Simei Su Refine the macros and definitions by using 'tab' spaces and new lines whereever necessary. Also refine the comment in 'idpf_ctlq_setup_regs'. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su --- drivers/common/idpf/base/idpf_controlq.c | 2 +- drivers/common/idpf/b

[PATCH 13/14] common/idpf/base: use GENMASK macro

2023-08-08 Thread Wenjing Qiao
From: Simei Su Instead of using a custom defined macro for generating a mask, use the standard GENMASK macro. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su --- drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 ++--- drivers/common/idpf/base/idpf_lan_txrx.h| 116 +--

[PATCH 11/14] common/idpf/base: refactor descriptor 'ret val' stripping

2023-08-08 Thread Wenjing Qiao
From: Simei Su Conditional check is not necessary to strip and get status bits from the descriptor. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su --- drivers/common/idpf/base/idpf_controlq.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/common/i

[PATCH 10/14] common/idpf/base: use 'void' return type

2023-08-08 Thread Wenjing Qiao
From: Simei Su As idpf_ctlq_deinit always returns success, make it 'void' instead of returning only success. This also changes the return type for idpf_deinit_hw as 'void'. Based on the upstream comments, explicit __le16 typecasting is not necessary as CPU_TO_LE16 is already being used. Signed-

[PATCH 09/14] common/idpf/base: use local pointer before updating 'CQ out'

2023-08-08 Thread Wenjing Qiao
From: Simei Su Instead of updating directly to 'cq_out' double pointer, use a local pointer and update only when we return success. Signed-off-by: Pavan Kumar Linga Signed-off-by: Simei Su --- drivers/common/idpf/base/idpf_controlq.c | 43 +--- 1 file changed, 23 insertion

[PATCH 08/14] common/idpf/base: define non-flexible size structure for ADI

2023-08-08 Thread Wenjing Qiao
From: Simei Su Customer has a requirement to use the legacy fixed size, single chunk structure for ADI creation - one chunk for queue and one chunk for vector. This is described in detail in customer case https://issuetracker.google.com/issues/270157802. On the other hand, upstream code review p

[PATCH 07/14] common/idpf/base: add union for SW cookie fields in ctlq msg

2023-08-08 Thread Wenjing Qiao
From: Simei Su Instead of using something like a byte offset, we can add a union to the struct here to enable direct addressing. Signed-off-by: Alan Brady Signed-off-by: Simei Su --- .mailmap | 1 + drivers/common/idpf/base/idpf_controlq_api.h | 5 + 2

[PATCH 06/14] common/idpf/base: add necessary check

2023-08-08 Thread Wenjing Qiao
From: Simei Su Add necessary check for payload and message buffer. Signed-off-by: Julianx Grajkowski Signed-off-by: Simei Su --- .mailmap | 1 + drivers/common/idpf/base/idpf_common.c | 6 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.mai

[PATCH 05/14] common/idpf/base: add some adi specific fields

2023-08-08 Thread Wenjing Qiao
From: Simei Su a) Add maximum ADI count in capabilities message b) Add PF side ADI index to create_adi message c) Define another constant to indicate 'Function active' state of ADI Signed-off-by: Shailendra Bhatnagar Signed-off-by: Simei Su --- .mailmap | 1 + driv

[PATCH 04/14] common/idpf/base: remove mailbox registers

2023-08-08 Thread Wenjing Qiao
From: Simei Su Removing mailbox register offsets as the mapping to device register offsets are different between CVL and MEV (they are swapped out) individual drivers will define the offsets based on how registers are hardware addressed. However the it will begin with VDEV_MBX_START offset. Sign

[PATCH 03/14] common/idpf/base: initial PTP support

2023-08-08 Thread Wenjing Qiao
From: Simei Su Adding a few PTP capabilities to determine which PTP features are enabled - legacy cross time, ptm, device clock control, PTP Tx timestamp with direct registers access, PTP Tx timestamp using virtchnl messages. Creating structures and opcodes to support feautres introduced by capa

[PATCH 02/14] common/idpf/base: add miss completion capabilities

2023-08-08 Thread Wenjing Qiao
From: Simei Su Add miss completion tag to other capabilities list, to indicate support for detecting a miss completion based on the upper bit of the completion tag. Signed-off-by: Josh Hay Signed-off-by: Simei Su --- .mailmap | 1 + drivers/common/idpf/base/virtchn

[PATCH 01/14] common/idpf/base: enable support for physical port stats

2023-08-08 Thread Wenjing Qiao
From: Simei Su Add support to indicate physical port representor and query its statistics. Signed-off-by: Zhenning Xiao Signed-off-by: Jayaprakash Shanmugam Signed-off-by: Simei Su --- .mailmap | 2 + drivers/common/idpf/base/virtchnl2.h | 80

[PATCH 00/14] update idpf base code

2023-08-08 Thread Wenjing Qiao
This patch set updates idpf base code. Simei Su (14): common/idpf/base: enable support for physical port stats common/idpf/base: add miss completion capabilities common/idpf/base: initial PTP support common/idpf/base: remove mailbox registers common/idpf/base: add some adi specific field

[PATCH v2 29/29] port: make API's stable

2023-08-08 Thread Stephen Hemminger
Follow the guidelines already in deprecation.rst and make the API's stable, even though they are marked as deprecated. Note: this library never properly marked its experimental API's. The API's were in the EXPERIMENTAL section but the macro __rte_experimental was missing. Signed-off-by: Stephen H

[PATCH v2 28/29] table: remove experimental from API

2023-08-08 Thread Stephen Hemminger
Though this library is marked for deprecation in future. This patch follows the guideline in deprecation notice which states the experimental API's will become stable. Signed-off-by: Stephen Hemminger --- doc/guides/rel_notes/deprecation.rst | 2 -- lib/table/rte_swx_table_learner.h| 10 ---

[PATCH v2 27/29] cryptodev: remove experimental from more API's

2023-08-08 Thread Stephen Hemminger
All API's added before 23.03 should be non-experimental. Signed-off-by: Stephen Hemminger --- lib/cryptodev/rte_crypto_sym.h | 1 - lib/cryptodev/rte_cryptodev.h | 32 -- lib/cryptodev/version.map | 77 ++ 3 files changed, 32 insertions(+), 78 d

[PATCH v2 26/29] node: remove experimental tag

2023-08-08 Thread Stephen Hemminger
The node library has been around long enough that experimental tag should be removed. The IPv6 support was added in 23.03 but that is still enough time that it can be marked stable. Signed-off-by: Stephen Hemminger --- MAINTAINERS | 2 +- lib/node/rte_node_eth_api.h | 5 - l

[PATCH v2 25/29] regexdev: remove experimental tag

2023-08-08 Thread Stephen Hemminger
This library was added in 22.11. Time to make it not experimental. Signed-off-by: Stephen Hemminger --- lib/regexdev/rte_regexdev.h | 92 - lib/regexdev/version.map| 2 +- 2 files changed, 1 insertion(+), 93 deletions(-) diff --git a/lib/regexdev/rte_reg

[PATCH v2 24/29] compressdev: remove experimental flag

2023-08-08 Thread Stephen Hemminger
The compressdev can not hide under the experimental flag. Remove the experimental flag and require ABI to be stable. Signed-off-by: Stephen Hemminger --- MAINTAINERS | 2 +- lib/compressdev/rte_comp.h| 6 -- lib/compressdev/rte_compressdev.h | 26 -

[PATCH v2 23/29] ipsec: remove experimental from SA API

2023-08-08 Thread Stephen Hemminger
These API's were added in 21.11, remove experimental flag. Signed-off-by: Stephen Hemminger --- lib/ipsec/rte_ipsec.h | 2 -- lib/ipsec/version.map | 9 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/ipsec/rte_ipsec.h b/lib/ipsec/rte_ipsec.h index 04129926b69f..8162

[PATCH v2 21/29] vhost: remove experimental from some API's

2023-08-08 Thread Stephen Hemminger
All API's that before 22.11 release should have experimental tag removed. Signed-off-by: Stephen Hemminger --- lib/vhost/rte_vhost.h| 5 lib/vhost/rte_vhost_async.h | 19 -- lib/vhost/rte_vhost_crypto.h | 1 - lib/vhost/version.map| 51 ++--

[PATCH v2 22/29] bbdev: remove experimental tag

2023-08-08 Thread Stephen Hemminger
The API's for bbdev were last added to in 22.11. Remove experimental flag now. Signed-off-by: Stephen Hemminger --- lib/bbdev/rte_bbdev.h| 4 lib/bbdev/rte_bbdev_op.h | 2 -- lib/bbdev/version.map| 18 ++ 3 files changed, 6 insertions(+), 18 deletions(-) diff --gi

[PATCH v2 20/29] security: remove experimental flag

2023-08-08 Thread Stephen Hemminger
The rte_security API's were last updated in 22.11. Therefore remove the experimental tag. Signed-off-by: Stephen Hemminger --- lib/security/rte_security.h | 35 --- lib/security/version.map| 17 ++--- 2 files changed, 6 insertions(+), 46 deletions(

[PATCH v2 19/29] member: remove experimental tag

2023-08-08 Thread Stephen Hemminger
The member library last received new API's in 22.11. All the API's should be marked stable by now. Signed-off-by: Stephen Hemminger --- lib/member/rte_member.h | 54 - lib/member/version.map | 12 +++-- 2 files changed, 3 insertions(+), 63 deletions(-

[PATCH v2 18/29] ip_frag: mark a couple of functions stable

2023-08-08 Thread Stephen Hemminger
There were two functions added in 22.11 which were marked as experimental. Remove the experimental tag. Signed-off-by: Stephen Hemminger --- lib/ip_frag/rte_ip_frag.h | 2 -- lib/ip_frag/version.map | 9 ++--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/ip_frag/rte_i

[PATCH v2 17/29] kvargs: remove experimental flag

2023-08-08 Thread Stephen Hemminger
The function rte_kvargs_get_with_value was added in 21.11 so experimental flag can be removed. Signed-off-by: Stephen Hemminger --- lib/kvargs/rte_kvargs.h | 4 lib/kvargs/version.map | 8 +--- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/kvargs/rte_kvargs.h b/lib

[PATCH v2 16/29] power: remove experimental from API's

2023-08-08 Thread Stephen Hemminger
The power management API's were last changed in 22.11 release. Therefore remove experimental for 23.11 release. Signed-off-by: Stephen Hemminger --- lib/power/rte_power.h | 4 --- lib/power/rte_power_guest_channel.h | 4 --- lib/power/rte_power_intel_uncore.h | 9 --- lib/p

[PATCH v2 15/29] meter: remove experimental warning from comments

2023-08-08 Thread Stephen Hemminger
The API's for rte_meter_trtcm were never properly flagged as experimental; missing __rte_experimental but there was an experimental comment in the docbook comment. Remove the comment. Signed-off-by: Stephen Hemminger --- lib/meter/rte_meter.h | 12 1 file changed, 12 deletions(-) d

[PATCH v2 14/29] dmadev: mark API's as not experimental

2023-08-08 Thread Stephen Hemminger
These were added in 20.11 time now to remove experimental flag. Signed-off-by: Stephen Hemminger --- MAINTAINERS | 2 +- lib/dmadev/rte_dmadev.h | 85 - lib/dmadev/version.map | 2 +- 3 files changed, 2 insertions(+), 87 deletions(-) diff -

[PATCH v2 13/29] sched: remove experimental

2023-08-08 Thread Stephen Hemminger
The overcommit and PIE support was added back in 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger --- lib/sched/rte_pie.h | 8 lib/sched/rte_sched.h | 5 - lib/sched/version.map | 18 -- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git

[PATCH v2 12/29] timer: remove experimental from rte_timer_next_ticks

2023-08-08 Thread Stephen Hemminger
Function was added in 20.11, remove experimental flag. Signed-off-by: Stephen Hemminger --- lib/timer/rte_timer.h | 4 lib/timer/version.map | 7 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h index c8710c4dc9b1..df791cfb

[PATCH v2 11/29] hash: remove experimental from toeplitz hash

2023-08-08 Thread Stephen Hemminger
The rte_thash_ functions have been around since 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger --- lib/hash/rte_thash.h | 44 --- lib/hash/rte_thash_gfni.h | 8 --- lib/hash/rte_thash_x86_gfni.h | 8 --- lib/hash/version.map

[PATCH v2 10/29] mbuf: remove experimental from create_extbuf

2023-08-08 Thread Stephen Hemminger
This API was added in 2020 and should no longer be experimental. Signed-off-by: Stephen Hemminger --- lib/mbuf/rte_mbuf.h | 1 - lib/mbuf/version.map | 8 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index 913c459b1cc6..30fa3df

[PATCH v2 08/29] rcu: remove experimental from rte_rcu_qbsr

2023-08-08 Thread Stephen Hemminger
These functions were added back in 2020. Remove experimental flag. Signed-off-by: Stephen Hemminger --- lib/rcu/rte_rcu_qsbr.h | 20 lib/rcu/version.map| 15 --- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/

[PATCH v2 09/29] lpm: remove experimental

2023-08-08 Thread Stephen Hemminger
The function to associate RCU with LPM was added several releases ago. Remove experimental. Signed-off-by: Stephen Hemminger --- lib/lpm/rte_lpm.h | 4 lib/lpm/version.map | 7 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/lpm/rte_lpm.h b/lib/lpm/rte_lpm.h ind

[PATCH v2 07/29] net: remove experimental from functions

2023-08-08 Thread Stephen Hemminger
These functions have been around long enough should no longer be experimental. Signed-off-by: Stephen Hemminger --- lib/net/rte_ip.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h index 7f58dc6f6a9c..2cb5be222cdd 100644 --- a/lib/net/r

[PATCH v2 06/29] pcapng: mark API's as stable

2023-08-08 Thread Stephen Hemminger
This API was added in 23.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger --- lib/pcapng/rte_pcapng.h | 11 --- lib/pcapng/version.map | 6 ++ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcap

[PATCH v2 05/29] pdump: make API's stable

2023-08-08 Thread Stephen Hemminger
The filtering API's were added in 23.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger --- lib/pdump/rte_pdump.h | 12 lib/pdump/version.map | 11 +++ 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/lib/pdump/rte_pdump.h b/lib/pdu

[PATCH v2 04/29] ethdev: mark rte_tm API's as stable

2023-08-08 Thread Stephen Hemminger
These API's have been around since 20.11, mark them as not experimental. Signed-off-by: Stephen Hemminger --- MAINTAINERS| 2 +- lib/ethdev/rte_tm.h| 34 --- lib/ethdev/version.map | 62 -- 3 files changed, 31 insertion

[PATCH v2 03/29] ethdev: mark rte_mtr API's as stable

2023-08-08 Thread Stephen Hemminger
These haven't changed in a while, time has come to make them not experimental. Signed-off-by: Stephen Hemminger --- MAINTAINERS| 2 +- lib/ethdev/rte_mtr.h | 25 + lib/ethdev/version.map | 34 -- 3 files changed, 18 insertion

[PATCH v2 02/29] cmdline: make experimental API's stable

2023-08-08 Thread Stephen Hemminger
These API's have all ben around for several releases. Signed-off-by: Stephen Hemminger --- lib/cmdline/cmdline.h| 1 - lib/cmdline/cmdline_parse.h | 4 lib/cmdline/cmdline_rdline.h | 4 lib/cmdline/version.map | 26 -- 4 files changed, 8 inserti

[PATCH v2 01/29] bpf: make rte_bpf_dump and rte_bpf_convert stable API's

2023-08-08 Thread Stephen Hemminger
These two API's were introduced in 23.11 and can now be made not experimental. Signed-off-by: Stephen Hemminger --- lib/bpf/rte_bpf.h | 2 -- lib/bpf/version.map | 9 ++--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h index 4d71120dbd

[PATCH v2 00/29] promote many API's to stable

2023-08-08 Thread Stephen Hemminger
Since 23.11 is an LTS release it is time to remove the experimental bandaid off many API's. There are about 850 API's marked with experimental on current main branch. This addresses the easy to remove ones and gets it down to about 690 places. The rule is any API that has been in since 22.11 needs

Re: [PATCH 00/20] remove experimental flag from some API's

2023-08-08 Thread Tyler Retzlaff
On Tue, Aug 08, 2023 at 02:33:52PM -0700, Stephen Hemminger wrote: > On Tue, 8 Aug 2023 11:19:12 -0700 > Tyler Retzlaff wrote: > > > On Tue, Aug 08, 2023 at 10:35:07AM -0700, Stephen Hemminger wrote: > > > Since 23.11 is an LTS release it is time to remove the experimental > > > bandaid off many

Reminder - DPDK Tech Board Meeting Tomorrow Wed. Aug. 9th at 8am Pacific/11am Eastern

2023-08-08 Thread Nathan Southern
Good evening, Tomorrow, Wed. Aug. 9th at 8am Pacific/11am Eastern we will have our biweekly DPDK Tech Board meeting. A read-only agenda will be placed here: https://annuel.framapad.org/p/r.0c3cc4d1e011214183872a98f6b5c7db And you can login here: http://jit.si/dpdk Thanks, Nathan Nathan C. So

RE: [PATCH 08/20] rcu: remove experimental from rte_rcu_qbsr

2023-08-08 Thread Honnappa Nagarahalli
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, August 8, 2023 12:35 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Honnappa > Nagarahalli > Subject: [PATCH 08/20] rcu: remove experimental from rte_rcu_qbsr > > These functions were added back in 2020. > Remove experim

Re: [PATCH 00/20] remove experimental flag from some API's

2023-08-08 Thread Stephen Hemminger
On Tue, 8 Aug 2023 11:19:12 -0700 Tyler Retzlaff wrote: > On Tue, Aug 08, 2023 at 10:35:07AM -0700, Stephen Hemminger wrote: > > Since 23.11 is an LTS release it is time to remove the experimental > > bandaid off many API's. There are about 850 API's marked with experimental > > on current main b

Re: C11 atomics adoption blocked

2023-08-08 Thread Tyler Retzlaff
On Tue, Aug 08, 2023 at 10:22:09PM +0200, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Tuesday, 8 August 2023 21.20 > > > > On Tue, Aug 08, 2023 at 07:23:41PM +0100, Bruce Richardson wrote: > > > On Tue, Aug 08, 2023 at 10:53:03AM -0700, Tyler Retzl

RE: C11 atomics adoption blocked

2023-08-08 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Tuesday, 8 August 2023 21.20 > > On Tue, Aug 08, 2023 at 07:23:41PM +0100, Bruce Richardson wrote: > > On Tue, Aug 08, 2023 at 10:53:03AM -0700, Tyler Retzlaff wrote: > > > Hi folks, > > > > > > Moving this discussion to the dev

Re: C11 atomics adoption blocked

2023-08-08 Thread Tyler Retzlaff
On Tue, Aug 08, 2023 at 07:23:41PM +0100, Bruce Richardson wrote: > On Tue, Aug 08, 2023 at 10:53:03AM -0700, Tyler Retzlaff wrote: > > Hi folks, > > > > Moving this discussion to the dev mailing list for broader comment. > > > > Unfortunately, we've hit a roadblock with integrating C11 atomics >

Re: [PATCH] telemetry: avoid truncation of strlcpy return before check

2023-08-08 Thread Bruce Richardson
On Tue, Aug 08, 2023 at 10:59:37AM -0700, Tyler Retzlaff wrote: > On Tue, Aug 08, 2023 at 10:24:41AM +0800, lihuisong (C) wrote: > > > > 在 2023/8/3 5:21, Tyler Retzlaff 写道: > > >strlcpy returns type size_t when directly assigning to > > >struct rte_tel_data data_len field it may be truncated leadi

Re: C11 atomics adoption blocked

2023-08-08 Thread Bruce Richardson
On Tue, Aug 08, 2023 at 10:53:03AM -0700, Tyler Retzlaff wrote: > Hi folks, > > Moving this discussion to the dev mailing list for broader comment. > > Unfortunately, we've hit a roadblock with integrating C11 atomics > for DPDK. The main issue is that GNU C++ prior to -std=c++23 explicitly > ca

Re: [PATCH 00/20] remove experimental flag from some API's

2023-08-08 Thread Tyler Retzlaff
On Tue, Aug 08, 2023 at 10:35:07AM -0700, Stephen Hemminger wrote: > Since 23.11 is an LTS release it is time to remove the experimental > bandaid off many API's. There are about 850 API's marked with experimental > on current main branch. This addresses the easy to remove ones and > gets it down t

Reminder to Register for DPDK Dublin Summit - Sep. 12-13, 2023

2023-08-08 Thread Nathan Southern
Good afternoon DPDK Community, September 12-13, 2023 we will have the DPDK Summit at the Gibson Hotel in Point Square in Dublin. Once again, registration and attendance for this event are *free!* The schedule is posted here, and we have a dynamic two-day line-up of speakers: https://events.linux

Re: [PATCH] telemetry: avoid truncation of strlcpy return before check

2023-08-08 Thread Tyler Retzlaff
On Tue, Aug 08, 2023 at 10:24:41AM +0800, lihuisong (C) wrote: > > 在 2023/8/3 5:21, Tyler Retzlaff 写道: > >strlcpy returns type size_t when directly assigning to > >struct rte_tel_data data_len field it may be truncated leading to > >compromised length check that follows > > > >Since the limit in t

C11 atomics adoption blocked

2023-08-08 Thread Tyler Retzlaff
Hi folks, Moving this discussion to the dev mailing list for broader comment. Unfortunately, we've hit a roadblock with integrating C11 atomics for DPDK. The main issue is that GNU C++ prior to -std=c++23 explicitly cannot be integrated with C11 stdatomic.h. Basically, you can't include the hea

[PATCH 20/20] security: remove experimental flag

2023-08-08 Thread Stephen Hemminger
The rte_security API's were last updated in 22.11. Therefore remove the experimental tag. Signed-off-by: Stephen Hemminger --- lib/security/rte_security.h | 35 --- lib/security/version.map| 17 ++--- 2 files changed, 6 insertions(+), 46 deletions(

[PATCH 19/20] member: remove experimental tag

2023-08-08 Thread Stephen Hemminger
The member library last received new API's in 22.11. All the API's should be marked stable by now. Signed-off-by: Stephen Hemminger --- lib/member/rte_member.h | 54 - lib/member/version.map | 12 +++-- 2 files changed, 3 insertions(+), 63 deletions(-

[PATCH 18/20] ip_frag: mark a couple of functions stable

2023-08-08 Thread Stephen Hemminger
There were two functions added in 22.11 which were marked as experimental. Remove the experimental tag. Signed-off-by: Stephen Hemminger --- lib/ip_frag/rte_ip_frag.h | 2 -- lib/ip_frag/version.map | 9 ++--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/ip_frag/rte_i

[PATCH 17/20] kvargs: remove experimental flag

2023-08-08 Thread Stephen Hemminger
The function rte_kvargs_get_with_value was added in 21.11 so experimental flag can be removed. Signed-off-by: Stephen Hemminger --- lib/kvargs/rte_kvargs.h | 4 lib/kvargs/version.map | 8 +--- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/kvargs/rte_kvargs.h b/lib

[PATCH 16/20] power: remove experimental from API's

2023-08-08 Thread Stephen Hemminger
The power management API's were last changed in 22.11 release. Therefore remove experimental for 23.11 release. Signed-off-by: Stephen Hemminger --- lib/power/rte_power.h | 4 --- lib/power/rte_power_guest_channel.h | 4 --- lib/power/rte_power_intel_uncore.h | 9 --- lib/p

[PATCH 15/20] meter: remove experimental warning from comments

2023-08-08 Thread Stephen Hemminger
The API's for rte_meter_trtcm were never properly flagged as experimental; missing __rte_experimental but there was an experimental comment in the docbook comment. Remove the comment. Signed-off-by: Stephen Hemminger --- lib/meter/rte_meter.h | 12 1 file changed, 12 deletions(-) d

[PATCH 14/20] dmadev: mark API's as not experimental

2023-08-08 Thread Stephen Hemminger
These were added in 20.11 time now to remove experimental flag. Signed-off-by: Stephen Hemminger --- lib/dmadev/rte_dmadev.h | 85 - lib/dmadev/version.map | 2 +- 2 files changed, 1 insertion(+), 86 deletions(-) diff --git a/lib/dmadev/rte_dmadev.h b/l

[PATCH 13/20] sched: remove experimental

2023-08-08 Thread Stephen Hemminger
The overcommit and PIE support was added back in 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger --- lib/sched/rte_pie.h | 8 lib/sched/rte_sched.h | 5 - lib/sched/version.map | 18 -- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git

[PATCH 11/20] hash: remove experimental from toeplitz hash

2023-08-08 Thread Stephen Hemminger
The rte_thash_ functions have been around since 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger --- lib/hash/rte_thash.h | 44 --- lib/hash/rte_thash_gfni.h | 8 --- lib/hash/rte_thash_x86_gfni.h | 8 --- lib/hash/version.map

[PATCH 12/20] timer: remove experimental from rte_timer_next_ticks

2023-08-08 Thread Stephen Hemminger
Function was added in 20.11, remove experimental flag. Signed-off-by: Stephen Hemminger --- lib/timer/rte_timer.h | 4 lib/timer/version.map | 7 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h index c8710c4dc9b1..df791cfb

[PATCH 10/20] mbuf: remove experimental from create_extbuf

2023-08-08 Thread Stephen Hemminger
This API was added in 2020 and should no longer be experimental. Signed-off-by: Stephen Hemminger --- lib/mbuf/rte_mbuf.h | 1 - lib/mbuf/version.map | 8 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index 913c459b1cc6..30fa3df

[PATCH 09/20] lpm: remove experimental

2023-08-08 Thread Stephen Hemminger
The function to associate RCU with LPM was added several releases ago. Remove experimental. Signed-off-by: Stephen Hemminger --- lib/lpm/rte_lpm.h | 4 lib/lpm/version.map | 7 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/lpm/rte_lpm.h b/lib/lpm/rte_lpm.h ind

[PATCH 07/20] net: remove experimental from functions

2023-08-08 Thread Stephen Hemminger
These functions have been around long enough should no longer be experimental. Signed-off-by: Stephen Hemminger --- lib/net/rte_ip.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h index 7f58dc6f6a9c..2cb5be222cdd 100644 --- a/lib/net/r

[PATCH 08/20] rcu: remove experimental from rte_rcu_qbsr

2023-08-08 Thread Stephen Hemminger
These functions were added back in 2020. Remove experimental flag. Signed-off-by: Stephen Hemminger --- lib/rcu/rte_rcu_qsbr.h | 20 lib/rcu/version.map| 15 --- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/

[PATCH 06/20] pcapng: mark API's as stable

2023-08-08 Thread Stephen Hemminger
This API was added in 23.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger --- lib/pcapng/rte_pcapng.h | 11 --- lib/pcapng/version.map | 6 ++ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcap

[PATCH 05/20] pdump: make API's stable

2023-08-08 Thread Stephen Hemminger
The filtering API's were added in 23.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger --- lib/pdump/rte_pdump.h | 12 lib/pdump/version.map | 11 +++ 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/lib/pdump/rte_pdump.h b/lib/pdu

[PATCH 04/20] ethdev: mark rte_tm API's as stable

2023-08-08 Thread Stephen Hemminger
These API's have been around since 20.11, mark them as not experimental. Signed-off-by: Stephen Hemminger --- lib/ethdev/rte_tm.h| 34 --- lib/ethdev/version.map | 62 -- 2 files changed, 30 insertions(+), 66 deletions(-) diff --gi

[PATCH 03/20] ethdev: mark rte_mtr API's as stable

2023-08-08 Thread Stephen Hemminger
These haven't changed in a while, time has come to make them not experimental. Signed-off-by: Stephen Hemminger --- lib/ethdev/rte_mtr.h | 25 + lib/ethdev/version.map | 34 -- 2 files changed, 17 insertions(+), 42 deletions(-) diff --gi

[PATCH 02/20] cmdline: make experimental API's stable

2023-08-08 Thread Stephen Hemminger
These API's have all ben around for several releases. Signed-off-by: Stephen Hemminger --- lib/cmdline/cmdline.h| 1 - lib/cmdline/cmdline_parse.h | 4 lib/cmdline/cmdline_rdline.h | 4 lib/cmdline/version.map | 26 -- 4 files changed, 8 inserti

[PATCH 01/20] bpf: make rte_bpf_dump and rte_bpf_convert stable API's

2023-08-08 Thread Stephen Hemminger
These two API's were introduced in 23.11 and can now be made not experimental. Signed-off-by: Stephen Hemminger --- lib/bpf/rte_bpf.h | 2 -- lib/bpf/version.map | 9 ++--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h index 4d71120dbd

[PATCH 00/20] remove experimental flag from some API's

2023-08-08 Thread Stephen Hemminger
Since 23.11 is an LTS release it is time to remove the experimental bandaid off many API's. There are about 850 API's marked with experimental on current main branch. This addresses the easy to remove ones and gets it down to about 690 places. The rule is any API that has been in since 22.11 needs

RE: [RFC] ethdev: add group set miss actions API

2023-08-08 Thread Ori Kam
Hi Ivan and Tomer, The RFC looks good to me, some comments inline. > -Original Message- > From: Ivan Malov > Sent: Tuesday, August 8, 2023 7:15 PM > > Hi Tomer, > > OK, let's see what others will say. > Minor comment below. > > On Tue, 8 Aug 2023, Tomer Shmilovich wrote: > > > Hi Iva

Re: Drivers, architectures, processor families, etc.

2023-08-08 Thread Philip Prindeville
> On Aug 8, 2023, at 2:17 AM, Bruce Richardson > wrote: > > On Sat, Aug 05, 2023 at 03:32:37PM -0600, Philip Prindeville wrote: >> >> Noticed also that the ARM architecture has configs, but AMD64 seems to be >> wide open... just one generic config. >> >> Is that because some chips, like X

RE: [RFC] ethdev: add group set miss actions API

2023-08-08 Thread Ivan Malov
Hi Tomer, OK, let's see what others will say. Minor comment below. On Tue, 8 Aug 2023, Tomer Shmilovich wrote: Hi Ivan, please see inline comments. Thanks, Tomer -Original Message- From: Ivan Malov Sent: Tuesday, 8 August 2023 2:03 To: Tomer Shmilovich Cc: Ori Kam ; NBU-Contact-Th

RE: [RFC] ethdev: add group set miss actions API

2023-08-08 Thread Tomer Shmilovich
Hi Ivan, please see inline comments. Thanks, Tomer > -Original Message- > From: Ivan Malov > Sent: Tuesday, 8 August 2023 2:03 > To: Tomer Shmilovich > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon > (EXTERNAL) ; Ferruh Yigit ; > Andrew Rybchenko ; dev@dpdk.org > Subject: Re: [RFC] ethdev:

[PATCH v2] doc: update QAT cryptodev guide to run on aarch64

2023-08-08 Thread Dharmik Thakkar
Update guide with instructions to run on Aarch64 based Ampere Altra platform Signed-off-by: Dharmik Thakkar Reviewed-by: Ruifeng Wang --- v2: - Update driver guide with instructions to run on aarch64 instead of release notes. --- .mailmap | 2 +- doc/guides/cryptodevs/q

[Bug 1272] Cant install 0/0 route in fib6 lpm

2023-08-08 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1272 Bug ID: 1272 Summary: Cant install 0/0 route in fib6 lpm Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal P

Re: [dpdk-dev] [PATCH 1/2] common/cnxk: add IPv6 routing ext flow type for cnxk

2023-08-08 Thread Jerin Jacob
On Mon, Jul 3, 2023 at 10:40 AM wrote: > > From: Kiran Kumar K > > Adding support to parse IPV6 routing ext flow type for cnxk. > > Signed-off-by: Kiran Kumar K > Reviewed-by: Satheesh Paul > Tested-by: Jerin Jacob Updated the git commit as follows and applied to dpdk-next-net-mrvl/for-next-

Re: [PATCH v2] eventdev/crypto: fix circular buffer full case

2023-08-08 Thread Jerin Jacob
On Thu, Aug 3, 2023 at 2:03 PM Ganapati Kundapura wrote: > > crypto ops from the circular buffer are not getting flushed > to crypto dev when crypto dev becomes busy and circular buffer > gets full. > > Fix it by flushing ops from circular buffer when circ buffer is full > instead of returning wit

Re: [PATCH] test/event: remove timer state check

2023-08-08 Thread Jerin Jacob
On Fri, Aug 4, 2023 at 9:56 PM Carrillo, Erik G wrote: > > > -Original Message- > > From: pbhagavat...@marvell.com > > Sent: Monday, July 31, 2023 8:29 AM > > To: jer...@marvell.com; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh > > Subject: [PATCH] test/event: remove timer sta

Re: [PATCH] event/cnxk: add asm to support CASP for clang

2023-08-08 Thread Jerin Jacob
On Mon, Jul 24, 2023 at 2:12 PM wrote: > > From: Pavan Nikhilesh > > Clang fails to use register pairs for CASP instruction, use > inline asm to fix register pairs. > > Signed-off-by: Pavan Nikhilesh Updated the git commit as follows and applied to dpdk-next-net-eventdev/for-main. Thanks Autho

Re: [PATCH v2] net/ice: write rx timestamp to the first mbuf segment in scattered rx

2023-08-08 Thread Martin Weiser
Hi, sorry for the first patch. I did not manage to get git send-mail to work with office365 OAuth2 and Thunderbird messed up the format even in text mode. By the way, are there any plans to support hardware timestamping in the vectorized codepath? Best regards, Martin Am 08.08.23 um 13:3

[PATCH v2] net/ice: write rx timestamp to the first mbuf segment in scattered rx

2023-08-08 Thread Martin Weiser
Previously, the rx timestamp was written to the last segment of the mbuf chain, which was unexpected. Signed-off-by: Martin Weiser --- drivers/net/ice/ice_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index 64c4

[PATCH] vdpa/mlx5: fix unregister kick handler order

2023-08-08 Thread Yajun Wu
The mlx5_vdpa_virtq_kick_handler function may still be running and waiting on virtq->virtq_lock while mlx5_vdpa_cqe_event_unset function is trying to re-initialize the virtq->virtq_lock. This causes mlx5_vdpa_virtq_kick_handler thread can't be wake up and can't be unregister. Following print may l

Re: [PATCH] event/cnxk: fix incorrect getwork devargs parsing

2023-08-08 Thread Jerin Jacob
On Mon, Jul 24, 2023 at 2:07 PM wrote: > > From: Pavan Nikhilesh > > CN10K can support up to three types of getwork, use parse value > function to parse the device arguments. > > Fixes: 5fb651552c79 ("event/cnxk: fix SSO and TIM argument parsing") > Cc: sta...@dpdk.org > > Signed-off-by: Pavan Ni

  1   2   >