Re: [PATCH v2] common/cnxk: reserve last LMT line for control ops

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 6:51 PM Rahul Bhansali wrote: > > As rte_eth_dev_configure() can be called from any EAL or non-EAL cores. > And in case of non-EAL core, LMT address will not be a valid. So, > reserving last LMT line 2047 for control path specific functionality. > > Signed-off-by: Rahul Bha

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

2023-09-27 Thread Su, Simei
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Monday, September 18, 2023 10:55 PM > To: Su, Simei ; tho...@monjalon.net; > andrew.rybche...@oktetlabs.ru; Rybalchenko, Kirill > ; Zhang, Qi Z > Cc: dev@dpdk.org; Wu, Wenjun1 > Subject: Re: [PATCH 3/3] examples/ptpclient: add

RE: [PATCH] lib/cryptodev: move RSA padding information into xform

2023-09-27 Thread Gowrishankar Muthukrishnan
Hi Arek, > > RSA padding information could be a xform entity rather than part of > > crypto op, as it seems associated with hashing algorithm used for the > > entire crypto session, where this algorithm is used in message digest > > itself. Even in virtIO standard spec, this info is associated in

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

2023-09-27 Thread Su, Simei
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Monday, September 18, 2023 10:51 PM > To: Su, Simei ; tho...@monjalon.net; > andrew.rybche...@oktetlabs.ru; Rybalchenko, Kirill > ; Zhang, Qi Z > Cc: dev@dpdk.org; Wu, Wenjun1 > Subject: Re: [PATCH 1/3] ethdev: add frequency a

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

2023-09-27 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 Signed-off-by: Jerin Jacob --- v2: - Added "Meson build integration" and "

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

2023-09-27 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a Techboard meeting minutes [1]. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html Signed-off-by: Jerin Jacob --- doc/guides/contributing/index.rst | 1 + doc/guides/contributing/library_dep

[PATCH v1] net/idpf: fix incorrect status calculation

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Fix the incorrect ingress packet number calculation. Fixes: 7514d76d407b ("net/idpf: add basic statistics") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- drivers/net/idpf/idpf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/idp

Re: [PATCH v3 34/35] ml/cnxk: update dependency info in driver docs

2023-09-27 Thread Jerin Jacob
On Thu, Sep 28, 2023 at 6:41 AM Srikanth Yalavarthi wrote: > > Added information related to external library dependencies > for ml/cnxk driver. > > Signed-off-by: Srikanth Yalavarthi > --- > doc/guides/mldevs/cnxk.rst | 28 > 1 file changed, 28 insertions(+) > > diff

Re: [PATCH v4 01/12] eventdev: introduce event DMA adapter library

2023-09-27 Thread Jerin Jacob
On Thu, Sep 28, 2023 at 2:15 AM Thomas Monjalon wrote: > > 27/09/2023 20:12, Jerin Jacob: > > Use ethdev/dma for all patches like other adapters. > > > > Rewrite suggestion: > > > > eventdev/dma: introduce event dma adapter > > While changing the title, please keep DMA uppercased after the colon.

RE: [PATCH v8 0/9] add rte flow support for cpfl

2023-09-27 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Yuying > Sent: Wednesday, September 27, 2023 8:54 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Subject: [PATCH v8 0/9] add rte flow support for cpfl > > From: Yuying Zhang > > This patchset add rte flow su

RE: [PATCH v7 6/8] net/cpfl: add fxp rule module

2023-09-27 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Yuying > Sent: Wednesday, September 27, 2023 2:17 AM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Subject: [PATCH v7 6/8] net/cpfl: add fxp rule module > > From: Yuying Zhang > > Implement FXP rule creation /

[PATCH v1 5/5] net/mlx5: implement IPv6 routing push remove

2023-09-27 Thread Rongwei Liu
Reserve the push data buffer for each job and the maximum length is set to 128 for now. Only supports type IPPROTO_ROUTING when translating the rte flow action. Remove actions must be shared globally and only supports next layer as TCP or UDP. Signed-off-by: Rongwei Liu --- doc/guides/nics/fea

[PATCH v1 4/5] net/mlx5/hws: add setter for IPv6 routing push remove

2023-09-27 Thread Rongwei Liu
The rte action will be translated to multiple dr_actions which need different setters to program them. In order to leverage the existing setter logic, there is a new callback introduce which called fetch_opt with unique parameter. For each setter, it may have different reparsing properties. Sette

[PATCH v1 3/5] net/mlx5/hws: add IPv6 routing extension push remove actions

2023-09-27 Thread Rongwei Liu
Add two dr_actions to implement IPv6 routing extension push and remove, the new actions are multiple actions combination instead of new types. Basically, there are two modify headers plus one reformat action. Action order is the same as encap and decap actions. Signed-off-by: Rongwei Liu --- dr

[PATCH v1 2/5] net/mlx5/hws: fix potential wrong rte_errno value

2023-09-27 Thread Rongwei Liu
A valid rte_errno is desired when DR layer api returns error and it can't over-write the value set by under-layer. Fixes: 0a2657c4ff4d ("net/mlx5/hws: support insert header action") Cc: hamd...@nvidia.com Signed-off-by: Rongwei Liu --- drivers/net/mlx5/hws/mlx5dr_action.c | 2 +- 1 file changed

[PATCH v1 1/5] net/mlx5: sample the srv6 last segment

2023-09-27 Thread Rongwei Liu
When removing the IPv6 routing extension header from the packets, the destination address should be updated to the last one in the segment list. Enlarge the hardware sample scope to cover the last segment. Signed-off-by: Rongwei Liu --- drivers/net/mlx5/mlx5.c | 41 +

[PATCH v1 0/5] Support IPv6 routing extension push remove action

2023-09-27 Thread Rongwei Liu
Add PMD implementation to support IPv6 routing extension push/remove action. Rongwei Liu (5): net/mlx5: sample the srv6 last segment net/mlx5/hws: fix potential wrong rte_errno value net/mlx5/hws: add IPv6 routing extension push remove actions net/mlx5/hws: add setter for IPv6 routing push

RE: [PATCH v2 00/10] add the support of ipsec offload

2023-09-27 Thread Chaoyong He
> On 9/26/2023 3:49 AM, Chaoyong He wrote: > > This patch series add the support of ipsec offload feature, includes: > > * Implement the communication channel between PMD and firmware through > > mailbox. > > * Implement the ipsec offload related APIs based the security framework. > > * Implement

RE: [PATCH 02/10] net/nfp: add TLVs capability parsing

2023-09-27 Thread Chaoyong He
> On 9/25/2023 7:06 AM, Chaoyong He wrote: > > From: Shihong Wang > > > > Add TLV capabilities to the BAR, TLVs is fit for expressing > > capabilities of applications running on programmable hardware. > > > > Here application referred is bitstream or FW, right? Yes, it is. > And PCIe BAR is used

RE: [PATCH 01/10] mailmap: update contributor entry

2023-09-27 Thread Chaoyong He
> On 9/25/2023 7:06 AM, Chaoyong He wrote: > > From: Shihong Wang > > > > Add contributor entries to .mailmap file. > > > > .mailmap changes can be squashed to patch that introduces a new name, no > need to have a separate patch for it. I can squash this while merging. > Okay, I will do it in t

RE: [PATCH v1 1/7] bbdev: add FFT version member in driver info

2023-09-27 Thread Chautru, Nicolas
Hi Maxime, Hemant, I wanted initially to keep it fairly open hence a hash table for the windows profiles, but it is also possible to expose something more descriptive, that would work as well actually. Ie. + /** FFT windowing width for 2048 FFT. */ + uint16_t fft_window_width[RTE_B

RE: [PATCH v2 6/7] baseband/acc: introduce the new VRB2 variant

2023-09-27 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, September 27, 2023 6:40 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v2 6/7] baseband/acc: introduce the new VRB2 varian

RE: [PATCH v2 5/7] baseband/acc: add support for MLD operation

2023-09-27 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, September 27, 2023 1:41 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v2 5/7] baseband/acc: add support for MLD operation

Re: [PATCH v4 01/12] eventdev: introduce event DMA adapter library

2023-09-27 Thread Thomas Monjalon
27/09/2023 20:12, Jerin Jacob: > Use ethdev/dma for all patches like other adapters. > > Rewrite suggestion: > > eventdev/dma: introduce event dma adapter While changing the title, please keep DMA uppercased after the colon. Also, do we need "event" as it is in eventdev? eventdev/dma: introduce

[PATCH 0/3] net/mlx5: support indirect list actions

2023-09-27 Thread Gregory Etelson
- Add support for indirect list actions acting as HWS mirror. - Add support for METER_MARK as indirect list action. Gregory Etelson (3): net/mlx5: reformat HWS code net/mlx5: support HWS mirror action net/mlx5: support indirect list METER_MARK action -- 2.39.2

RE: [EXT] Re: [PATCH v2 00/34] Implemenation of revised ml/cnxk driver

2023-09-27 Thread Srikanth Yalavarthi
> -Original Message- > From: Jerin Jacob > Sent: 21 September 2023 17:46 > To: Srikanth Yalavarthi > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Anup Prabhu ; > Prince Takkar ; Srikanth Yalavarthi > > Subject: [EXT] Re: [PATCH v2 00/34] Implemenation of revised ml/cnxk drive

RE: [EXT] Re: [PATCH v1 19/34] ml/cnxk: support config and close of tvmdp library

2023-09-27 Thread Srikanth Yalavarthi
> -Original Message- > From: Jerin Jacob > Sent: 21 September 2023 18:02 > To: Srikanth Yalavarthi > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Anup Prabhu ; > Prince Takkar ; Srikanth Yalavarthi > > Subject: [EXT] Re: [PATCH v1 19/34] ml/cnxk: support config and close of >

RE: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-27 Thread Srikanth Yalavarthi
> -Original Message- > From: Jerin Jacob > Sent: 21 September 2023 17:38 > To: Srikanth Yalavarthi ; David Marchand > > Cc: Prince Takkar ; dev@dpdk.org; Shivah Shankar > Shankar Narayan Rao ; Anup Prabhu > ; Srikanth Yalavarthi > Subject: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of

[PATCH v3 35/35] ml/cnxk: update release notes for 23.11

2023-09-27 Thread Srikanth Yalavarthi
Updated 23.11 release notes for ml/cnxk driver. Signed-off-by: Srikanth Yalavarthi --- doc/guides/rel_notes/release_23_11.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst index ca31ac5985..7e1d31f680 1006

[PATCH v3 34/35] ml/cnxk: update dependency info in driver docs

2023-09-27 Thread Srikanth Yalavarthi
Added information related to external library dependencies for ml/cnxk driver. Signed-off-by: Srikanth Yalavarthi --- doc/guides/mldevs/cnxk.rst | 28 1 file changed, 28 insertions(+) diff --git a/doc/guides/mldevs/cnxk.rst b/doc/guides/mldevs/cnxk.rst index 197e1ed

[PATCH v3 33/35] ml/cnxk: enable creation of mvtvm virtual device

2023-09-27 Thread Srikanth Yalavarthi
Enable support to create a mvtvm virtual device on system's without a PCI based ML HW accelerator. Signed-off-by: Srikanth Yalavarthi --- doc/guides/mldevs/cnxk.rst | 49 +++- drivers/ml/cnxk/cn10k_ml_dev.c | 8 ++ drivers/ml/cnxk/cn10k_ml_dev.h | 3 + drivers/ml/cnxk/cnxk_ml_

[PATCH v3 32/35] ml/cnxk: enable fast-path ops for TVM models

2023-09-27 Thread Srikanth Yalavarthi
From: Anup Prabhu Enable fast-path ops support for TVM models. Models would use TVMDP library function calls to execute inference operations for Hybrid and LLVM model sub-types. For TVM MRVL model subtypes that have a single MRVL layer, the inference requests are directly enqueued to hardware by

[PATCH v3 30/35] ml/cnxk: add generic ML malloc and free callback

2023-09-27 Thread Srikanth Yalavarthi
Implemented generic ML malloc and free callbacks Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 30 ++ drivers/ml/cnxk/cn10k_ml_ops.h | 3 +++ drivers/ml/cnxk/mvtvm_ml_ops.c | 2 ++ 3 files changed, 35 insertions(+) diff --git a/drivers/ml/

[PATCH v3 31/35] ml/cnxk: support quantize and dequantize callback

2023-09-27 Thread Srikanth Yalavarthi
From: Prince Takkar Added support for quantize and dequantize callback functions for TVM models. Signed-off-by: Prince Takkar --- drivers/ml/cnxk/mvtvm_ml_ops.c | 129 + drivers/ml/cnxk/mvtvm_ml_ops.h | 4 + 2 files changed, 133 insertions(+) diff --git a/dri

[PATCH v3 29/35] ml/cnxk: implement I/O alloc and free callbacks

2023-09-27 Thread Srikanth Yalavarthi
Implemented callback functions for IO allocation and free for Glow layers. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 87 ++ drivers/ml/cnxk/cn10k_ml_ops.h | 3 ++ drivers/ml/cnxk/mvtvm_ml_ops.c | 2 + 3 files changed, 92 insertions(

[PATCH v3 28/35] ml/cnxk: enable reporting model runtime as xstats

2023-09-27 Thread Srikanth Yalavarthi
Added model xstats entries to compute runtime latency. Allocated internal resources for TVM model xstats. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 9 +++ drivers/ml/cnxk/cn10k_ml_ops.h | 2 + drivers/ml/cnxk/cnxk_ml_ops.c| 131 ++

[PATCH v3 27/35] ml/cnxk: support device dump for TVM models

2023-09-27 Thread Srikanth Yalavarthi
Enabled support to print TVM model layer info. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cnxk_ml_model.c | 7 +++- drivers/ml/cnxk/mvtvm_ml_model.c | 59 drivers/ml/cnxk/mvtvm_ml_model.h | 2 ++ drivers/ml/cnxk/mvtvm_ml_stubs.c | 8 + drivers

[PATCH v3 25/35] ml/cnxk: support start and stop for TVM models

2023-09-27 Thread Srikanth Yalavarthi
Added support to start and stop TVM models. TVM model start would invoke layer start for all Glow layers part of the model. TVM model stop would invoke layer stop for all Glow layers part of the model. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Anup Prabhu --- drivers/ml/cnxk/cn10k_ml_op

[PATCH v3 26/35] ml/cnxk: update internal TVM model info structure

2023-09-27 Thread Srikanth Yalavarthi
From: Prince Takkar Added support to update internal model info structure for TVM models. Signed-off-by: Prince Takkar Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/mvtvm_ml_model.c | 65 drivers/ml/cnxk/mvtvm_ml_model.h | 2 + drivers/ml/cnxk/mvtvm_

[PATCH v3 23/35] ml/cnxk: update internal info for TVM model

2023-09-27 Thread Srikanth Yalavarthi
Enabled updating internal IO info structures for TVM model. Compute static fields related to the model I/O. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cnxk_ml_ops.c| 4 ++ drivers/ml/cnxk/mvtvm_ml_model.c | 111 +++ drivers/ml/cnxk/mvtvm_ml_model.h |

[PATCH v3 24/35] ml/cnxk: enable model unload in tvmdp library

2023-09-27 Thread Srikanth Yalavarthi
Enable unloading model using external tvmdp library. Updated layer unload callback to support multiple layers. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Anup Prabhu --- drivers/ml/cnxk/cn10k_ml_ops.c | 8 +--- drivers/ml/cnxk/cnxk_ml_ops.c| 7 +-- drivers/ml/cnxk/mvtvm_m

[PATCH v3 22/35] ml/cnxk: fetch layer info and load TVM model

2023-09-27 Thread Srikanth Yalavarthi
Added support to fetch TVM model layer information and update internal structures based on the layer information Set callback functions for layer load and unload and enable model loading using TVMDP library. Added support to fetch full metadata after model load. Signed-off-by: Srikanth Yalavarthi

[PATCH v3 19/35] ml/cnxk: add structures to support TVM model type

2023-09-27 Thread Srikanth Yalavarthi
Introduced model type, sub-type and layer type. Added internal structures for TVM model objects. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ocm.c | 3 ++ drivers/ml/cnxk/cn10k_ml_ops.c | 6 ++- drivers/ml/cnxk/cnxk_ml_model.h | 66 +++- dri

[PATCH v3 21/35] ml/cnxk: add support to parse TVM model objects

2023-09-27 Thread Srikanth Yalavarthi
Added support to parse TVM model objects from the model archive buffer. Added support to check for all expected objects and copy TVM model objects to internal buffers. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Anup Prabhu --- drivers/ml/cnxk/cnxk_ml_ops.c| 5 ++- drivers/ml/cnxk/mv

[PATCH v3 20/35] ml/cnxk: add support for identify model type

2023-09-27 Thread Srikanth Yalavarthi
Enable support to parse model buffer to identify the model type and model sub-type. Enabled basic checks for Glow model type buffer. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Anup Prabhu --- drivers/ml/cnxk/cnxk_ml_model.c | 49 drivers/ml/cnxk/cnxk_ml_mode

[PATCH v3 17/35] ml/cnxk: move error handling to cnxk layer

2023-09-27 Thread Srikanth Yalavarthi
Move error type structures to cnxk layer. cn10k layer to handle fw and hw error sub-types only. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_dev.h | 41 ++- drivers/ml/cnxk/cn10k_ml_ops.c | 93 +- drivers/ml/cnxk/cnxk_ml_dev.c | 8

[PATCH v3 18/35] ml/cnxk: support config and close of tvmdp library

2023-09-27 Thread Srikanth Yalavarthi
Added support to configure and close TVMDP library based on ML device configuration options. Updated meson build to enable Jansson, TVM runtime, TVMDP library as build dependencies. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cnxk_ml_ops.c| 7 drivers/ml/cnxk/cnxk_ml_ops.h

[PATCH v3 14/35] ml/cnxk: update device stats functions

2023-09-27 Thread Srikanth Yalavarthi
Added cnxk wrapper function to handle ML device stats Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 32 -- drivers/ml/cnxk/cn10k_ml_ops.h | 2 -- drivers/ml/cnxk/cnxk_ml_ops.c | 36 -- 3 files changed, 34 ins

[PATCH v3 16/35] ml/cnxk: update fast path functions

2023-09-27 Thread Srikanth Yalavarthi
Implemented cnxk layer fast-path functions and added support for model specific fast-path functions. CNXK layer functions would invoke model specific fast-path functions. Added support for model specific poll handling functions and updated internal inference sync function. Drop use of rte_ml_op as

[PATCH v3 13/35] ml/cnxk: update device debug functions

2023-09-27 Thread Srikanth Yalavarthi
Added cnxk wrapper for device dump and selftest debug functions. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_model.c | 118 + drivers/ml/cnxk/cn10k_ml_model.h | 1 + drivers/ml/cnxk/cn10k_ml_ocm.c | 8 +- drivers/ml/cnxk/cn10k_ml_ocm.h | 2 +- dr

[PATCH v3 15/35] ml/cnxk: update device and model xstats functions

2023-09-27 Thread Srikanth Yalavarthi
Added cnxk wrapper function to handle ML device and model extended stats. Handling resources for the xstats is done in the cnxk layer. Introduced internal xstats group. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_dev.h | 4 - drivers/ml/cnxk/cn10k_ml_ops.c | 531 +++

[PATCH v3 09/35] ml/cnxk: update model load and unload functions

2023-09-27 Thread Srikanth Yalavarthi
Implemented cnxk wrapper functions to load and unload ML models. Wrapper functions would invoke the cn10k model load and unload functions. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_model.c | 244 - drivers/ml/cnxk/cn10k_ml_model.h | 26 ++- drivers/

[PATCH v3 12/35] ml/cnxk: update data quantization functions

2023-09-27 Thread Srikanth Yalavarthi
Added cnxk wrapper functions to quantize input data and dequantize output data. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 164 - drivers/ml/cnxk/cn10k_ml_ops.h | 7 -- drivers/ml/cnxk/cnxk_ml_io.c | 95 +++ driver

[PATCH v3 07/35] ml/cnxk: update device handling functions

2023-09-27 Thread Srikanth Yalavarthi
Implement CNXK wrapper functions for dev_info_get, dev_configure, dev_close, dev_start and dev_stop. The wrapper functions allocate / release common resources for the ML driver and invoke device specific functions. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 230 ++---

[PATCH v3 11/35] ml/cnxk: update model utility functions

2023-09-27 Thread Srikanth Yalavarthi
Added cnxk wrapper function to update model params and fetch model info. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 38 ++- drivers/ml/cnxk/cn10k_ml_ops.h | 5 ++-- drivers/ml/cnxk/cnxk_ml_ops.c | 48 -- 3 fil

[PATCH v3 06/35] ml/cnxk: rename cnxk ops function pointers struct

2023-09-27 Thread Srikanth Yalavarthi
Renamed cn10k ML ops structure with cnxk prefix. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_dev.c | 2 +- drivers/ml/cnxk/cn10k_ml_ops.c | 73 +- drivers/ml/cnxk/cn10k_ml_ops.h | 34 +++- drivers/ml/cnxk/cnxk_ml_ops.c | 36 ++

[PATCH v3 10/35] ml/cnxk: update model start and stop functions

2023-09-27 Thread Srikanth Yalavarthi
Implemented cnxk wrapper functions to start and stop ML models. Wrapper functions would invoke the cn10k model start and stop functions. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ocm.c | 28 ++-- drivers/ml/cnxk/cn10k_ml_ocm.h | 12 +- drivers/ml/cnxk/cn10k_ml_ops.c | 282

[PATCH v3 05/35] ml/cnxk: add generic cnxk xstats structures

2023-09-27 Thread Srikanth Yalavarthi
Introduced generic xstats structures and renamed cn10k xstats enumerations with cnxk prefix. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_dev.h | 86 +--- drivers/ml/cnxk/cn10k_ml_model.h | 6 +- drivers/ml/cnxk/cn10k_ml_ops.c | 169 ++---

[PATCH v3 04/35] ml/cnxk: add generic cnxk request structure

2023-09-27 Thread Srikanth Yalavarthi
Added generic cnxk request structure. Moved common fields from cn10k structures to cnxk structure. Moved job related structures and enumerations to ops headers. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_dev.c | 72 +++ drivers/ml/cnxk/cn10k_ml_dev.h | 269 +

[PATCH v3 08/35] ml/cnxk: update queue-pair handling functions

2023-09-27 Thread Srikanth Yalavarthi
Added cnxk wrapper function to handle ML device queue-pairs. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_ops.c | 135 + drivers/ml/cnxk/cn10k_ml_ops.h | 7 +- drivers/ml/cnxk/cnxk_ml_ops.c | 153 - drivers/ml/cnxk

[PATCH v3 03/35] ml/cnxk: add generic model and layer structures

2023-09-27 Thread Srikanth Yalavarthi
Introduce generic cnxk model and layer structure. These structures would enable supporting models with multiple layers. A model is a collection of multiple independent layers with flow dependencies between the layers. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_dev.h | 9

[PATCH v3 02/35] ml/cnxk: add generic cnxk device structure

2023-09-27 Thread Srikanth Yalavarthi
Introduce generic cnxk device structure. This structure is a top level device structure for the driver, which would encapsulate the target / platform specific device structure. Signed-off-by: Srikanth Yalavarthi --- drivers/ml/cnxk/cn10k_ml_dev.c | 316 ++-- drivers/ml/cnxk/cn1

[PATCH v3 01/35] ml/cnxk: drop support for register polling

2023-09-27 Thread Srikanth Yalavarthi
Dropped support for device argument "poll_mem" for cnxk ML driver. Support to use registers for polling is removed and DDR addresses would be used for polling. Signed-off-by: Srikanth Yalavarthi --- Depends-on: series-29660 ("Spec changes to support multi I/O models") doc/guides/mldevs/cnxk.rst

[PATCH v3 00/35] Implemenation of revised ml/cnxk driver

2023-09-27 Thread Srikanth Yalavarthi
This patch series is an implementation of revised ml/cnxk driver to support models compiled with TVM compiler framework. TVM models use a hybrid mode for execution, with regions of the model executing on the ML accelerator and the rest executing on CPU cores. This series of commits reorganizes the

Re: [PATCH v4 12/12] app/test: add event DMA adapter auto-test

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 4:11 PM Amit Prakash Shukla wrote: > > Added testsuite to test the dma adapter functionality. > The testsuite detects event and DMA device capability > and accordingly dma adapter is configured and modes are > tested. Please add example command to test this with SW driver

Re: [PATCH v4 03/12] eventdev: create and free API for DMA adapter

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 6:31 PM Amit Prakash Shukla wrote: > > Added API support to create and free DMA adapter. Create function shall be > called with event device to be associated with the adapter and port > configuration to setup an event port. > > Signed-off-by: Amit Prakash Shukla > --- > c

Re: [PATCH v4 02/12] eventdev: api to get DMA adapter capabilities

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 4:03 PM Amit Prakash Shukla wrote: > > Added a new eventdev API rte_event_dma_adapter_caps_get(), to get > DMA adapter capabilities supported by the driver. Patches from 2: Keep following heading template eventdev/dma: support ... example: eventdev/dma: support adapter c

Re: [PATCH v4 01/12] eventdev: introduce event DMA adapter library

2023-09-27 Thread Jerin Jacob
On Tue, Sep 26, 2023 at 4:03 PM Amit Prakash Shukla wrote: > > Introduce event DMA adapter APIs. The change provides information > on adapter modes and usage. Application can use this event adapter > interface to transfer packets between DMA device and event device. With below changes, Acked-by

[PATCH v3 4/4] mldev: update release notes for 23.11

2023-09-27 Thread Srikanth Yalavarthi
Updated 23.11 release notes for mldev spec. Signed-off-by: Srikanth Yalavarthi --- doc/guides/rel_notes/release_23_11.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst index 9746809a66..ca31ac

[PATCH v3 3/4] mldev: drop input and output size get APIs

2023-09-27 Thread Srikanth Yalavarthi
Drop support and use of ML input and output size get functions, rte_ml_io_input_size_get and rte_ml_io_output_size_get. These functions are not required, as the model buffer size can be computed from the fields of updated rte_ml_io_info structure. Signed-off-by: Srikanth Yalavarthi --- drivers/

[PATCH v3 2/4] mldev: introduce support for IO layout

2023-09-27 Thread Srikanth Yalavarthi
Introduce IO layout in ML device specification. IO layout defines the expected arrangement of model input and output buffers in the memory. Packed and Split layout support is added in the specification. Updated rte_ml_op to support array of rte_ml_buff_seg pointers to support packed and split I/O

[PATCH v3 1/4] mldev: add support for arbitrary shape dimensions

2023-09-27 Thread Srikanth Yalavarthi
Updated rte_ml_io_info to support shape of arbitrary number of dimensions. Dropped use of rte_ml_io_shape and rte_ml_io_format. Introduced new fields nb_elements and size in rte_ml_io_info. Updated drivers and app/mldev to support the changes. Signed-off-by: Srikanth Yalavarthi --- app/test-mld

[PATCH v3 0/4] Spec changes to support multi I/O models

2023-09-27 Thread Srikanth Yalavarthi
This series implements changes to mldev spec to extend support for ML models with multiple inputs and outputs. Changes include introduction of I/O layout to support packed and split buffers for model input and output. Extended the rte_ml_model_info structure to support multiple inputs and outputs.

Re: [PATCH] testpmd: unregister event callback

2023-09-27 Thread Ferruh Yigit
On 9/26/2023 4:50 PM, Singh, Aman Deep wrote: > > On 9/15/2023 9:56 AM, ok...@kernel.org wrote: >> From: Sinan Kaya > > Header format doesn't requires to add "From: " > as author "Signed-off" is already present. > >> >> Cleanup event registry during shutdown to prevent memory >> leaks. >> >> Si

Re: [PATCH v13 0/4] Recycle mbufs from Tx queue into Rx queue

2023-09-27 Thread Ferruh Yigit
On 9/25/2023 4:19 AM, Feifei Wang wrote: > Currently, the transmit side frees the buffers into the lcore cache and > the receive side allocates buffers from the lcore cache. The transmit > side typically frees 32 buffers resulting in 32*8=256B of stores to > lcore cache. The receive side allocates

Re: [PATCH v1] net/memif: fix segfault with large burst size

2023-09-27 Thread Ferruh Yigit
On 9/4/2023 8:10 AM, Joyce Kong wrote: > There will be a segfault when Rx burst size is greater than > MAX_PKT_BURST of memif. Fix the issue by correcting the > wrong mbuf index in eth_memif_rx, which results in accessing > invalid memory address. > > Bugzilla ID: 1273 > Fixes: aa17df860891 ("net/

Re: [PATCH v4] doc: build manpages as well as html output

2023-09-27 Thread Thomas Monjalon
31/08/2023 17:48, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Thursday, 31 August 2023 12.12 > > > > 31/08/2023 11:49, Bruce Richardson: > > > Doxygen can produce manpage output as well as html output for the DPDK > > > APIs. However, we need to do this as a sep

RE: [PATCH] test/pdcp: add data walkthrough test

2023-09-27 Thread Anoob Joseph
> > Enable data walkthrough test in combined mode. > The test covers data size ranging from 0B to 9000B both inclusive. > > Signed-off-by: Aakash Sasidharan Acked-by: Anoob Joseph

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Ferruh Yigit
On 9/27/2023 4:03 PM, Stanisław Kardach wrote: > > > On Wed, Sep 27, 2023, 16:09 Ferruh Yigit > wrote: > > On 9/27/2023 2:48 PM, Stanisław Kardach wrote: > > On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit > wrote: > >> >

Re: [PATCH v1] common/cnxk: fix initialization of MCAM ID

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 1:16 PM Ankur Dwivedi wrote: > > The start and end mcam id is initialized when aged_flows_cnt is 0. The > boolean variable aging_enabled is not needed. > > Fixes: d110c44d29e7 ("common/cnxk: support flow aging") > > Signed-off-by: Ankur Dwivedi Updated the git commit as f

Re: [PATCH v3 2/3] event/cnxk: implement event link profiles

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 3:59 PM wrote: > > From: Pavan Nikhilesh > > Implement event link profiles support on CN10K and CN9K. > Both the platforms support up to 2 link profiles. > > Signed-off-by: Pavan Nikhilesh > --- > doc/guides/eventdevs/cnxk.rst | 1 + > doc/guides/eventdevs/feat

Re: [PATCH v3 1/3] eventdev: introduce link profiles

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 3:58 PM wrote: > > From: Pavan Nikhilesh > > A collection of event queues linked to an event port can be > associated with a unique identifier called as a profile, multiple as a "link profile" > such profiles can be created based on the event device capability > using th

[RFC 2/2] test: add pointer compress tests to ring perf test

2023-09-27 Thread Paul Szczepanek
Add a test that runs a zero copy burst enqueue and dequeue on a ring of raw pointers and compressed pointers at different burst sizes to showcase performance benefits of newly added pointer compression APIs To reuse existing code, some refactoring was done to pass more parameters to test threads.

[RFC 1/2] eal: add pointer compression functions

2023-09-27 Thread Paul Szczepanek
Add a new utility header for compressing pointers. Pointers are compressed by taking advantage of their locality. Instead of storing the full address only an offset from a known base is stored. The provided functions can store pointers in 32bit offsets. Suggested-by: Honnappa Nagarahalli Signed-

[RFC 0/2] add pointer compression API

2023-09-27 Thread Paul Szczepanek
This patchset is proposing adding a new EAL header with utility functions that allow compression of arrays of pointers. When passing caches full of pointers between threads, memory containing the pointers is copied multiple times which is especially costly between cores. A compression method will

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Stanisław Kardach
On Wed, Sep 27, 2023, 16:09 Ferruh Yigit wrote: > On 9/27/2023 2:48 PM, Stanisław Kardach wrote: > > On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit > wrote: > >> > >> On 9/21/2023 3:49 PM, Stanisław Kardach wrote: > >>> On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad > >>> mailto:sivaprasad.tumm..

Re: [PATCH v3 0/3] Introduce event link profiles

2023-09-27 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 5:16 PM wrote: > > From: Pavan Nikhilesh > > A collection of event queues linked to an event port can be associated > with unique identifier called as a profile, multiple such profiles can as a "link profile" > be configured based on the event device capability using the

Re: [PATCH v2 00/10] add the support of ipsec offload

2023-09-27 Thread Ferruh Yigit
On 9/26/2023 3:49 AM, Chaoyong He wrote: > This patch series add the support of ipsec offload feature, includes: > * Implement the communication channel between PMD and firmware through > mailbox. > * Implement the ipsec offload related APIs based the security framework. > * Implement the ipsec p

Re: [PATCH 02/10] net/nfp: add TLVs capability parsing

2023-09-27 Thread Ferruh Yigit
On 9/25/2023 7:06 AM, Chaoyong He wrote: > From: Shihong Wang > > Add TLV capabilities to the BAR, TLVs is fit for expressing > capabilities of applications running on programmable hardware. > Here application referred is bitstream or FW, right? And PCIe BAR is used to exchange the capability i

Re: [PATCH 01/10] mailmap: update contributor entry

2023-09-27 Thread Ferruh Yigit
On 9/25/2023 7:06 AM, Chaoyong He wrote: > From: Shihong Wang > > Add contributor entries to .mailmap file. > .mailmap changes can be squashed to patch that introduces a new name, no need to have a separate patch for it. I can squash this while merging. > Signed-off-by: Shihong Wang > Reviewe

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Ferruh Yigit
On 9/27/2023 2:48 PM, Stanisław Kardach wrote: > On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit wrote: >> >> On 9/21/2023 3:49 PM, Stanisław Kardach wrote: >>> On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad >>> mailto:sivaprasad.tumm...@amd.com>> wrote: >>> >>> [AMD Official Use Only - General]

Re: [PATCH 0/2] add checks for tests not in a suite

2023-09-27 Thread Aaron Conole
Bruce Richardson writes: > On Wed, Sep 27, 2023 at 11:31:07AM +0200, David Marchand wrote: >> On Wed, Sep 27, 2023 at 10:27 AM Bruce Richardson >> wrote: >> > On Wed, Sep 27, 2023 at 08:30:05AM +0200, David Marchand wrote: >> > > On Tue, Sep 26, 2023 at 5:01 PM Aaron Conole wrote: >> > > > Davi

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Stanisław Kardach
On Wed, Sep 27, 2023 at 1:55 PM Ferruh Yigit wrote: > > On 9/21/2023 3:49 PM, Stanisław Kardach wrote: > > On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad > > mailto:sivaprasad.tumm...@amd.com>> wrote: > > > > [AMD Official Use Only - General] > > > > > -Original Message- > > >

Re: [PATCH v2 6/7] baseband/acc: introduce the new VRB2 variant

2023-09-27 Thread Maxime Coquelin
On 9/21/23 22:43, Nicolas Chautru wrote: This extends the unified driver to support both the VRB1 and VRB2 implementations of Intel vRAN Boost. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/index.rst|1 + doc/guides/bbdevs/vrb2.rst | 269 + doc/gui

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-09-27 Thread Ferruh Yigit
On 8/11/2023 7:07 AM, Sivaprasad Tummala wrote: > This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU > features without breaking ABI each time. > > Signed-off-by: Sivaprasad Tummala > --- > lib/eal/arm/include/rte_cpuflags_32.h| 1 - > lib/eal/arm/include/rte_cpuflags_64.h| 1 - >

[PATCH v8 9/9] net/cpfl: add support of to represented port action

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add support of to represented port action for forwarding packet to APF/CPF/VF representors. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/cpfl/cpfl_flow_

[PATCH v8 8/9] net/cpfl: add flow support for representor

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 74 + drivers/net/cpfl/cpfl_representor.c | 29 ++ 2 files changed, 1

[PATCH v8 7/9] net/cpfl: add fxp flow engine

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Adapt a flow engine to FXP implementation. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 18 +- doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_ethdev.h | 27 ++ drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583 +

[PATCH v8 6/9] net/cpfl: add fxp rule module

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Implement FXP rule creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 296 +++ drivers/net/cpfl/cpfl_fxp_rule.h | 68 +++

[PATCH v8 5/9] net/cpfl: add FXP low level implementation

2023-09-27 Thread yuying . zhang
From: Yuying Zhang Add low level implementation for CPFL PMD to create / delete rules on IPU's Flexible Packet Processor(FXP). Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_actions.h | 858 drivers/net/cpfl/cpfl_rules.c | 127 + drivers/net/cpfl/c

  1   2   >