[dpdk-dev] [v5] doc: define qualification criteria for external library

2024-01-07 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a techboard meeting minutes [1] and past learnings from mailing list discussion. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html https://mails.dpdk.org/archives/dev/2024-January/284849.html Signed-off-by:

Re: [dpdk-dev] [v3] doc: define qualification criteria for external library

2024-01-07 Thread Jerin Jacob
On Sat, Jan 6, 2024 at 12:14 AM Stephen Hemminger wrote: > > On Fri, 5 Jan 2024 17:42:15 +0530 > wrote: > > > > I would a clause about optional dependency. > Something like: > > If external dependency is not available, then it must be detectable > by the > build process. Missing

[PATCH] doc: update command scope information

2024-01-07 Thread skori
From: Sunil Kumar Kori Set of CLI commands are classified into following types; - Commands which must be used in script only. - Commands which must be used via telnet session only. - Commands which can be used either in script or via telnet session. Rename "Dynamic" column to "Scope" to provide

RE: [PATCH] net/ice: fix memory leak

2024-01-07 Thread Wu, Wenjun1
> -Original Message- > From: Zhang, Qi Z > Sent: Monday, January 8, 2024 4:49 AM > To: Yang, Qiming ; Wu, Wenjun1 > > Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH] net/ice: fix memory leak > > Free memory for AQ buffer at icd_move_recfg_lan_txq Free memory for > p

RE: DTS testpmd and SCAPY integration

2024-01-07 Thread Etelson, Gregory
Hello Honnappa, [snip] Hi Gregory, I do not fully understand your proposal, it will be helpful to join the DTS meetings to discuss this further. Agree, let's discuss the proposal details during the DTS meeting. YAML has wide support built around it. By using our own text format, we

RE: DTS testpmd and SCAPY integration

2024-01-07 Thread Honnappa Nagarahalli
> -Original Message- > From: Etelson, Gregory > Sent: Tuesday, December 26, 2023 1:32 AM > To: tho...@monjalon.net; Juraj Linkeš ; > Honnappa Nagarahalli ; Paul Szczepanek > ; Luca Vizzarro ; Yoan > Picchi ; Jeremy Spewock > ; Gregory Etelson ; Patrick > Robb ; c...@dpdk.org; dev@dpdk.o

RE: unnecessary rx callbacks when zero packets

2024-01-07 Thread Honnappa Nagarahalli
> -Original Message- > From: Stephen Hemminger > Sent: Sunday, January 7, 2024 11:37 AM > To: dev@dpdk.org > Subject: unnecessary rx callbacks when zero packets > > I noticed while looking at packet capture that currently the receive callbacks > get called even if there are no packets.

[PATCH] tap: check that file is BPF arch before extracting

2024-01-07 Thread Stephen Hemminger
The script to extract BPF instructions from compiled ELF file would break if the ELF file was incorrectly built. Add simple check to give better message. Fixes: 4e679a5f1212 ("net/tap: add infrastructure to build BPF filter") Signed-off-by: Stephen Hemminger --- drivers/net/tap/bpf/bpf_extract.p

[PATCH 1/1] buildtools: remove absolute paths from pc file

2024-01-07 Thread Srikanth Yalavarthi
When linking with non-versioned libraries, absolute paths of the libraries are added to libdpdk.pc. This patch replaces the absolute path with correct linker flags, -l. https://github.com/mesonbuild/meson/issues/7766 Signed-off-by: Srikanth Yalavarthi --- buildtools/pkg-config/set-static-linker

[PATCH 4/4] ml/cnxk: add adapter dequeue function

2024-01-07 Thread Srikanth Yalavarthi
Implemented ML adapter dequeue function. Signed-off-by: Srikanth Yalavarthi --- drivers/event/cnxk/cn10k_worker.h | 3 +++ drivers/ml/cnxk/cn10k_ml_event_dp.h | 2 ++ drivers/ml/cnxk/cn10k_ml_ops.c | 17 + drivers/ml/cnxk/version.map | 1 + 4 files changed, 23 i

[PATCH 3/4] ml/cnxk: add adapter enqueue function

2024-01-07 Thread Srikanth Yalavarthi
Implemented ML adapter enqueue function. Rename internal fast-path JD preparation function for poll mode. Added JD preparation function for event mode. Updated meson build dependencies for ml/cnxk driver. Signed-off-by: Srikanth Yalavarthi --- drivers/event/cnxk/cn10k_eventdev.c | 3 + drivers

[PATCH 2/4] event/cnxk: implement queue pair add and delete

2024-01-07 Thread Srikanth Yalavarthi
Added structures for ML event adapter. Implemented ML event adapter queue-pair add and delete functions. Signed-off-by: Srikanth Yalavarthi --- drivers/event/cnxk/cn10k_eventdev.c | 103 drivers/event/cnxk/cnxk_eventdev.h | 4 ++ drivers/ml/cnxk/cnxk_ml_ops.h

[PATCH 1/4] event/cnxk: add ML adapter capabilities get

2024-01-07 Thread Srikanth Yalavarthi
Implemented driver function to get ML adapter capabilities. Signed-off-by: Srikanth Yalavarthi --- Depends-on: series-30752 ("Introduce Event ML Adapter") drivers/event/cnxk/cn10k_eventdev.c | 15 +++ drivers/event/cnxk/meson.build | 2 +- drivers/ml/cnxk/cn10k_ml_ops.h |

[PATCH 0/4] Implementation of CNXK ML event adapter driver

2024-01-07 Thread Srikanth Yalavarthi
This series of patches is an implementation of event ML adapter for Marvell's Octeon platform. Srikanth Yalavarthi (4): event/cnxk: add ML adapter capabilities get event/cnxk: implement queue pair add and delete ml/cnxk: add adapter enqueue function ml/cnxk: add adapter dequeue function

[PATCH 09/11] event/ml: add support for runtime params

2024-01-07 Thread Srikanth Yalavarthi
Added support to set and get runtime params for ML adapter. Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/rte_event_ml_adapter.c | 99 + 1 file changed, 99 insertions(+) diff --git a/lib/eventdev/rte_event_ml_adapter.c b/lib/eventdev/rte_event_ml_adapter.c ind

[PATCH 08/11] event/ml: add support to get adapter service ID

2024-01-07 Thread Srikanth Yalavarthi
Added support to get ML adapter service ID. Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/rte_event_ml_adapter.c | 20 1 file changed, 20 insertions(+) diff --git a/lib/eventdev/rte_event_ml_adapter.c b/lib/eventdev/rte_event_ml_adapter.c index 60c10caef68..474aeb632

[PATCH 07/11] event/ml: add adapter start and stop

2024-01-07 Thread Srikanth Yalavarthi
Added ML adapter start and stop functions. Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/eventdev_pmd.h | 42 lib/eventdev/rte_event_ml_adapter.c | 75 + 2 files changed, 117 insertions(+) diff --git a/lib/eventdev/eventdev_pmd.h b/lib/

[PATCH 06/11] event/ml: add support for service function

2024-01-07 Thread Srikanth Yalavarthi
Added support for ML adapter service function for software based event devices. Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/rte_event_ml_adapter.c | 538 1 file changed, 538 insertions(+) diff --git a/lib/eventdev/rte_event_ml_adapter.c b/lib/eventdev/rte_e

[PATCH 05/11] event/ml: add adapter queue pair add and delete

2024-01-07 Thread Srikanth Yalavarthi
Added ML adapter queue-pair add and delete functions Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/eventdev_pmd.h | 54 lib/eventdev/rte_event_ml_adapter.c | 193 2 files changed, 247 insertions(+) diff --git a/lib/eventdev/eventdev_pmd.h b/l

[PATCH 04/11] event/ml: add adapter port get

2024-01-07 Thread Srikanth Yalavarthi
Added ML adapter port get function. Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/rte_event_ml_adapter.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/lib/eventdev/rte_event_ml_adapter.c b/lib/eventdev/rte_event_ml_adapter.c index fed3b67c858..93ba58b3e9e 100644

[PATCH 03/11] event/ml: add adapter create and free

2024-01-07 Thread Srikanth Yalavarthi
Added ML event adapter create and free functions. Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/rte_event_ml_adapter.c | 317 1 file changed, 317 insertions(+) diff --git a/lib/eventdev/rte_event_ml_adapter.c b/lib/eventdev/rte_event_ml_adapter.c index 5b8b02

[PATCH 02/11] event/ml: add ml adapter capabilities get

2024-01-07 Thread Srikanth Yalavarthi
Added library function to get ML adapter capabilities. Signed-off-by: Srikanth Yalavarthi --- lib/eventdev/eventdev_pmd.h | 29 + lib/eventdev/rte_eventdev.c | 27 +++ 2 files changed, 56 insertions(+) diff --git a/lib/eventdev/eventdev_pmd.h

[PATCH 01/11] eventdev: introduce ML event adapter library

2024-01-07 Thread Srikanth Yalavarthi
Introduce event ML adapter APIs. This patch provides information on adapter modes and usage. Application can use this event adapter interface to transfer packets between ML device and event device. Signed-off-by: Srikanth Yalavarthi --- MAINTAINERS |6 + con

[PATCH 00/11] Introduce Event ML Adapter

2024-01-07 Thread Srikanth Yalavarthi
Machine learning event adapter library == DPDK Eventdev library provides event driven programming model with features to schedule events. ML Device library provides an interface to ML poll mode drivers that support Machine Learning inference operations. Event

[PATCH 1/3] mldev: add conversion routines for 32-bit integers

2024-01-07 Thread Srikanth Yalavarthi
Added routines to convert data from 32-bit integer type to float32_t and vice-versa. Signed-off-by: Srikanth Yalavarthi --- lib/mldev/mldev_utils.h| 92 + lib/mldev/mldev_utils_neon.c | 242 + lib/mldev/mldev_utils_scalar.c | 98 +++

[PATCH 3/3] ml/cnxk: add support for additional integer types

2024-01-07 Thread Srikanth Yalavarthi
Added support quantization and dequantization of 32-bit and 64-bit integer types. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cnxk_ml_io.c | 24 drivers/ml/cnxk/mvtvm_ml_model.c | 4 2 files changed, 28 insertions(+) diff --git a/drivers/ml/cnxk/cnx

[PATCH 2/3] mldev: add support for 64-integer data type

2024-01-07 Thread Srikanth Yalavarthi
Added support in mldev spec for 64-bit integer types. Added routines to convert data from 64-bit integer type to float32_t and vice-versa. Signed-off-by: Srikanth Yalavarthi --- lib/mldev/mldev_utils.c| 4 + lib/mldev/mldev_utils.h| 92 ++ lib/mldev/mldev_utils_neon.c

[PATCH 0/3] add support for additional data types

2024-01-07 Thread Srikanth Yalavarthi
Added support for 64-bit integer data types for inference input and output. Extended support for quantization of 32-bit and 64-bit integer data types. Srikanth Yalavarthi (3): mldev: add conversion routines for 32-bit integers mldev: add support for 64-integer data type ml/cnxk: add support

[PATCH 1/1] ml/cnxk: enable data caching for TVM models

2024-01-07 Thread Srikanth Yalavarthi
Enabled data caching for TVM models with MRVL only layers. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/ml/cnxk/cn10k_ml_ops.c b/drivers/ml/cnxk/cn10k_ml_ops.c index 53700387335..834e55e

[PATCH 1/1] ml/cnxk: exclude caching run stats from xstats

2024-01-07 Thread Srikanth Yalavarthi
From: Anup Prabhu Exclude the hardware and firmware latency of model data caching run from xstats calculation. Fixes: 9cfad6c334f2 ("ml/cnxk: update device and model xstats functions") Cc: sta...@dpdk.org Signed-off-by: Anup Prabhu Acked-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_

net/ena: roadmap for 24.03

2024-01-07 Thread Brandes, Shai
ENA 24.03 roadmap: * Add support for uio_pci_generic uio module * Add support for wide LLQ recommendation from the device * Add support for sub-optimal configuration notifications from the device * Restructure rx_drop basic stat to include rx_overruns * Restructure the metrics multi-process functi

RE: [PATCH 0/4] net/mlx5: add modify field ADD fields support

2024-01-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Thursday, December 14, 2023 5:04 AM > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH 0/4] net/mlx5: add modify field ADD fields support > > Before this series, the modify_field ADD operation in mlx5 PMD only allowed > sum of im

RE: [PATCH v2] net/mlx5: fix index choosing in TAG modification

2024-01-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Monday, November 27, 2023 6:01 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Ori Kam > ; Suanming Mou ; Gregory > Etelson ; sta...@dpdk.org > Subject: [PATCH v2] net/mlx5: fix index choosing in TAG mo

RE: [PATCH v2] net/mlx5: fix jump action validation

2024-01-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Monday, November 27, 2023 2:43 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Ori Kam > ; Suanming Mou ; > dek...@mellanox.com; sta...@dpdk.org > Subject: [PATCH v2] net/mlx5: fix jump action validatio

RE: [PATCH v1] doc/mlx5: update IPv6 routing extension matching limitation

2024-01-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Rongwei Liu > Sent: Thursday, November 23, 2023 4:15 AM > To: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > > Subject: [PATCH v1] doc/mlx5: update IPv6 routing extension matching > lim

[PATCH] net/ice: fix memory leak

2024-01-07 Thread Qi Zhang
Free memory for AQ buffer at icd_move_recfg_lan_txq Free memory for profile list at ice_tm_conf_uninit Fixes: 8c481c3bb65b ("net/ice: support queue and queue group bandwidth limit") Cc: sta...@dpdk.org Signed-off-by: Qi Zhang --- drivers/net/ice/ice_tm.c | 12 1 file changed, 12 in

[PATCH v11] gro: fix reordering of packets in GRO layer

2024-01-07 Thread Kumara Parameshwaran
In the current implementation when a packet is received with special TCP flag(s) set, only that packet is delivered out of order. There could be already coalesced packets in the GRO table belonging to the same flow but not delivered. This fix makes sure that the entire segment is delivered with the

[PATCH v10] gro: fix reordering of packets in GRO layer

2024-01-07 Thread Kumara Parameshwaran
In the current implementation when a packet is received with special TCP flag(s) set, only that packet is delivered out of order. There could be already coalesced packets in the GRO table belonging to the same flow but not delivered. This fix makes sure that the entire segment is delivered with the

RE: [RFC] ethdev: introduce entropy calculation

2024-01-07 Thread Ori Kam
Hi > -Original Message- > From: Thomas Monjalon > Sent: Thursday, January 4, 2024 8:19 PM > > 04/01/2024 15:33, Ori Kam: > > Hi Cristian, > > > > > From: Dumitrescu, Cristian > > > Sent: Thursday, January 4, 2024 2:57 PM > > > > > >> > > > > > >> And unless this is specifically defined