Application should retrieve raw_encap buffer from
spec->pattern if it is flex item.
Signed-off-by: Rongwei Liu
---
app/test-pmd/cmdline_flow.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
Add flex item modify field HWS implementation.
The minimum modify boundary is one byte.
Signed-off-by: Rongwei Liu
---
doc/guides/nics/mlx5.rst| 1 +
drivers/common/mlx5/mlx5_prm.h | 1 +
drivers/net/mlx5/mlx5_flow.h| 3 +
drivers/net/mlx5/mlx5_flow_dv.c | 164
Return unsupported error message when application tries to
modify flex item field.
Signed-off-by: Rongwei Liu
---
drivers/net/mlx5/mlx5_flow_dv.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_
Support IPv6 protocol as new flex item input link.
Signed-off-by: Rongwei Liu
---
drivers/net/mlx5/mlx5_flow_flex.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_flex.c
b/drivers/net/mlx5/mlx5_flow_flex.c
index fb08910ddb..bec07b13c1 100644
Support flex item matching in hws and syntax follows
sws exactly.
Flex item should be created in advance and follow current
json mapping logic.
Signed-off-by: Rongwei Liu
---
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/nics/mlx5.rst | 1 +
drivers/common/mlx5/mlx5_d
In async flow create API, there is only mask information when
creating flow table but flex item handle is required to parse
the HW sample information.
Pass the flex item handle instead of UINT64/32_MAX to mask.
Signed-off-by: Rongwei Liu
---
app/test-pmd/cmdline_flow.c | 8 +---
1 file chan
Enable flex item create and destroy with dv_flow_en=2
Signed-off-by: Rongwei Liu
---
drivers/net/mlx5/linux/mlx5_os.c | 27 +++
drivers/net/mlx5/mlx5_flow_hw.c | 2 ++
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/dr
Add flex item modify field cmdline support. Now user can use
testpmd cli to specify which flex item to be modified, either
source or destination.
Syntax is as below:
modify_field op set dst_type flex_item dst_level 0
dst_offset 16 src_type value src_value 0x123456781020 width 8
Signed-off-by: Ron
Add flex item as modify field destination.
Add "struct rte_flow_item_flex_handle *flex_handle" into
"struct rte_flow_action_modify_data" as union with existed
"level" member. This new member is dedicated for modifying
flex item.
Signed-off-by: Rongwei Liu
---
doc/guides/prog_guide/rte_flow.rst
Support flex item matching and modify field action in dv_flow_en=2.
The syntax follows current style exactly.
Rongwei Liu (9):
ethdev: add flex item modify field support
app/testpmd: add flex item modify field cmdline support
app/testpmd: pass flex handle into matching mask
net/mlx5: enabl
Quota action limits traffic according to pre-defined configuration.
Quota reflects overall traffic usage regardless bandwidth.
Quota flow action initialized with signed tokens number value.
Quota flow action updates tokens number according to
these rules:
1. if quota was configured to count packet
Current API allows either query or update indirect flow action.
If port hardware allows both update and query in a single operation,
application still has to issue 2 separate hardware requests.
The patch adds `rte_flow_action_handle_query_update` function call,
and it's async version `rte_flow_asy
https://bugs.dpdk.org/show_bug.cgi?id=1149
Ali Alnubani (alia...@nvidia.com) changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCO
https://bugs.dpdk.org/show_bug.cgi?id=1150
Ali Alnubani (alia...@nvidia.com) changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|-
Hi Kevin,
On 12/20/22 17:05, Kevin Traynor wrote:
On 24/06/2022 11:23, Ciara Loftus wrote:
libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd
functions. Use meson to detect if libbpf >= v0.7.0 is linked and if
so, use
the recommended replacement functions bpf_xdp_query_i
Hi Jerin,
Can you please provide your input/feedback for this patch set?
-Harish
From: Naga Harish K S V
Sent: Tuesday, December 20, 2022 2:41 PM
To: jer...@marvell.com ; Carrillo, Erik G
; Gujjar, Abhinandan S
Cc: dev@dpdk.org ; Jayatheerthan, Jay
Subject
On Wed, Dec 21, 2022 at 2:54 AM Stephen Hemminger
wrote:
>
> On Tue, 20 Dec 2022 11:26:07 -0800
> Srikanth Yalavarthi wrote:
>
> > Marvell ML CNXK Driver
> > --
> >
> > This patch series implements common Machine Learning (ML) ROC code
> > and driver for Marvell Octeon 10 (cnx
From: "ke1x.zhang"
This patch adds support to disable mac filter which will
be used by ice driver when setting dpdk_devargs config
field in the TRex config file.
Mac filter is not disabled in default.
Signed-off-by: ke1x.zhang
---
doc/guides/nics/ice.rst| 11 +++
drivers/n
> -Original Message-
> From: Srikanth Yalavarthi
> Sent: Wednesday, December 21, 2022 1:53 AM
> To: Srikanth Yalavarthi ; Ruifeng Wang
>
> Cc: dev@dpdk.org; sshankarn...@marvell.com; jer...@marvell.com;
> apra...@marvell.com
> Subject: [PATCH v3 4/4] common/ml: add Arm NEON type convers
Added multi-process support for axgbe PMD
To achieve multi-process support separate out TX and RX function
inside the axgbe driver and call that from a secondary process
when it is attaching to an already-configured NIC
Signed-off-by: Jesna K E
---
doc/guides/nics/features/axgbe.ini | 1 +
driv
For Multiprocess dpdk applications retrieving the offload parameter
for receive packet directly from struct eth_dev
giving segmentation fault since rxmode.offloads from eth_dev was
null duirng recv_pkts. So retrieved offload from rx/tx_queue_setup()
Signed-off-by: Jesna K E
---
drivers/net/axgbe
https://bugs.dpdk.org/show_bug.cgi?id=1155
Bug ID: 1155
Summary: DPDK 22.07 RTE flow: Segmentation fault seen in
i40e_flow_parse_fdir_filter() for raw item type
Product: DPDK
Version: 22.07
Hardware: x86
OS:
For Multiprocess dpdk applications retrieving the offload parameter
for receive packet directly from struct eth_dev
giving segmentation fault since rxmode.offloads from eth_dev was
null duirng recv_pkts. So retrieved offload from rx/tx_queue_setup()
Signed-off-by: Jesna K E
---
drivers/net/axgbe
Added multi-process support for axgbe PMD
To achieve multi-process support separate out TX and RX function
inside the axgbe driver and call that from a secondary process
when it is attaching to an already-configured NIC
Signed-off-by: Jesna K E
---
doc/guides/nics/features/axgbe.ini | 1 +
driv
Presently, Rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in Rx path
takes extra cycles.
Hence, add new testpmd command,
'enable port nic_to_pmd_rx_metadata'
This command helps in sending Rx metadata to PMD and thereby
Rx metadata flow command r
Presently, on device reset, ethdev configuration state,
dev_configured, is not reset.
On device reset, reset ethdev configuration state to make
sure device reconfiguration happens cleanly.
Signed-off-by: Hanumanth Pothula
---
v5:
- Move nic-to-pmd-rx-metadata declaration to struct rte_port.
v4:
On Wed, 21 Dec 2022 01:32:50 +0530
Hanumanth Pothula wrote:
> @@ -12851,6 +12908,7 @@ static cmdline_parse_ctx_t builtin_ctx[] = {
> (cmdline_parse_inst_t *)&cmd_show_capability,
> (cmdline_parse_inst_t *)&cmd_set_flex_is_pattern,
> (cmdline_parse_inst_t *)&cmd_set_flex_spec_pat
Presently, Rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in Rx path
takes extra cycles.
Hence, add new testpmd command,
'enable port nic_to_pmd_rx_metadata'
This command helps in sending Rx metadata to PMD and thereby
Rx metadata flow command r
Presently, Rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in Rx path
takes extra cycles.
Hence, adding a new eth port configuration filed,
'nic_to_pmd_rx_metadata', to control NIC to PMD Rx metadata
negotiation.
Also, reset dev_configured flag as p
Added user guide for Marvell cnxk ML driver for Marvell Octeon
cnxk Soc family. Added details about device initialization,
debug options and runtime device args supported by the driver.
Signed-off-by: Srikanth Yalavarthi
---
MAINTAINERS | 1 +
doc/guides/index.rst| 1
Added device argument "poll_mem" to select the memory
region to be used for polling in fast-path requests.
Implemented support to use scratch registers for polling.
Available pool of scratch registers one-to-one mapped with
the internal request queue.
poll_mem:
ddr: Use DDR memory location f
Added device argument "ocm_alloc_mode" to select OCM allocation
method during model start. Two modes are supported by the driver.
Added implementation for ocm_alloc_mode lowest as default.
ocm_alloc_mode:
lowest: Allocate from first available free slot / lowest
tile ID in OCM (default)
Added device argument "hw_queue_lock" to select the JCMDQ enqueue
ROC function to be used in fast path.
hw_queue_lock:
0: Disable, use lock free version of JCMDQ enqueue ROC function for
job queuing. To avoid race condition in request queuing to
hardware, disabling hw_queue_lock
Added device argument 'cache_model_data' to enable model data
caching. An inference request would be executed with dummy data
in synchronous mode during model start stage. This run would
cache the model weights and bias in the memory and result in
improved inference throughput.
cache_model_data =
Enabled support to enable and report DPE warnings from ML
firmware. Configure firmware load flags based on the device
arguments.
Default values:
enable_dpe_errors = 1
report_dpe_errors = 0
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.c | 94 +++
Enabled support to retrieve xstats in either cycles or ns.
Access to sclk is enabled only if an RVU device is probed
during initialization. Driver would return the xstats in
nanoseconds only when an RVU device is probed, else would
fallback to cycles.
Signed-off-by: Srikanth Yalavarthi
---
drive
Added support to handle ML device extended stats. Support
is enabled to get xstats names and stats values and reset
xstats. Supported xstats include avg, min and max hardware
and firmware latency.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.h | 3 +
drivers/ml/cnxk/cn
Enabled support to get and reset ML device stats. Device stats
include number of requests enqueued/dequeued and error count.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 55 --
drivers/ml/cnxk/cn10k_ml_ops.h | 3 ++
2 files changed, 55
Enabled support for error handling. Added error types and subtypes
supported by ML firmware. Enabled support to get device specific
error code and message for a completed ML request.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.c | 4 +-
drivers/ml/cnxk/cn10k_ml_dev.h |
Added internal function to execute ML inference requests
in synchronous mode. Sync mode inference execution is used
to launch inference requests without using a queue-pair.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 53 ++
drivers/ml/c
Enabled driver support to dequeue inference requests from
internal queue. Dequeue checks for request completion by
polling the status field of the job request.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 61 ++
drivers/ml/cnxk/cn10k_ml_
Added support for device selftest. Device selftest includes
checking the status of firmware.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 57 ++
1 file changed, 57 insertions(+)
diff --git a/drivers/ml/cnxk/cn10k_ml_ops.c b/drivers/ml/c
Added support to dump device debug information. Debug info on
cn10k device includes model state info, OCM usage info, firmware
debug and exception buffer.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ocm.c | 51 +
drivers/ml/cnxk/cn10k_ml_ocm.h | 1 +
drivers/ml/cnx
Implemented driver functions to quantize / dequantize input
and output data. Support is enabled for multiple batches.
Quantization / dequantization use the type conversion functions
defined in ML common code.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 150 +++
Enabled driver support to enqueue a burst of inference requests
to ML device. Enqueue uses internal ML request structure to queue
the inferences and job completion through polling.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 96 ++
driv
Added driver functions to get input and output buffer sizes
for a given batch size. This function would compute the buffer
size based on specific requirements of the device.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 52 ++
1 file chan
Added driver functions to get model information. Added
internal functions to set and get model info.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_model.c | 55
drivers/ml/cnxk/cn10k_ml_model.h | 9 ++
drivers/ml/cnxk/cn10k_ml_ops.c | 37
Added cnxk driver functions to update model params or weights
and bias after a models is loaded. Updating model params would
not require reloading the model.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 31 +++
1 file changed, 31 insertions(
Implemented model stop driver function. A model stop job is
enqueued through scratch registers and is checked for
completion through polling in a synchronous mode. OCM pages
are released after model stop completion.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 115
Added support to reserve and free OCM pages for a model. OCM
pages are reserved upon completion of model start and are
released after model stop.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ocm.c | 131 -
drivers/ml/cnxk/cn10k_ml_ocm.h | 3 +
Implemented model start driver function. A model start job
is checked for completion in synchronous mode. Tilemask and
OCM slot is calculated before starting the model. Model start
is enqueued through scratch registers. OCM pages are reserved
after model start completion.
Signed-off-by: Srikanth
Added support to compute OCM tilemask and page start for a
model. The computed tilemask and page start are used during
model start to copy model weights and bias to OCM. OCM slot
for a model is allocated from the tiles with maximum amount
of free memory.
Signed-off-by: Srikanth Yalavarthi
---
dr
Added JD structures for load, unload and run jobs. Initialize
job command and allocate memory for request structures for slow
path jobs.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.h | 99
drivers/ml/cnxk/cn10k_ml_model.h | 4 ++
driver
Added internal structures to handle tile and OCM information and
OCM to model memory mapping. Initialize the fields to platform
specific defaults and compute the OCM / tile requirements for model.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.h | 5 ++
drivers/ml/cnxk/cn
Added internal structures to handle derived address fields
and enabled support to compute DMA addresses for model start.
Enabled updating internal model fields.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_model.c | 88
drivers/ml/cnxk/cn10k_ml
Added cnxk driver implementations to load and unload ML models.
Enabled support in configure stage to allocate model handles
array. Assign model ID and allocate resources per each model
during load stage and release resources during model unload.
Added internal structures to handle ML models.
Sign
Enabled support to create and destroy device queue-pairs. Updated
configure stage to create array to store queue-pair handles. Added
internal structure for queue-pair, queue and ML inference requests.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 207 +++
Added model metadata structure and enabled metadata check
during model load. Remap cnxk IO types with RTE IO types.
Store and update model metadata in model structure.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_model.c | 196 +++
drivers/ml/cnxk/cn10k_ml_mode
Implemented ML driver functions to start and stop ML device.
Start / Stop would enable or disable ML device to accept
inference requests.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_ops.c | 42 +++---
1 file changed, 39 insertions(+), 3 deletions(-
Enabled support to load ML firmware on cn10ka ROC model. Reset
MLIP device during dev_close driver operation. Device can't be
reconfigured after a call to close. Job execution is disabled
after firmware load, execution is enabled in device start state.
Added internal request structure.
Signed-off-
Enabled device initialization and firmware load on simulator
platform. Firmware load stage on simulator would involve
launching a firmware handshake request only.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.c | 119 +
1 file changed, 107 in
Enabled parsing ML firmware path for cn10k. Default path is set
as "/lib/firmware/mlip-fw.bin", when args are not provided. Added
internal structures for ML firmware.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.c | 71 ++
drivers/ml/cnxk/cn
Implemented driver functions to configure and close ML devices.
Added skeleton code and support to reconfigure ML device. PCI
device remove is enabled in device close.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.c | 2 ++
drivers/ml/cnxk/cn10k_ml_dev.h | 21
Added support to get the cn10k ML device information. This is a
driver implementation for the RTE function rte_ml_dev_info_get.
ML device on cn10k supports one queue-pair in lock-free mode and
does not support segmented input output data.
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn
ML inference engine on cn10k platform is a PCI based device. Added
driver support to probe and remove the device for cn10k poll mode
driver. The device is named by the PMD as "ml_cn10k".
Signed-off-by: Srikanth Yalavarthi
---
drivers/ml/cnxk/cn10k_ml_dev.c | 114 +
Added initial source files and build files for ML cnxk driver.
Signed-off-by: Srikanth Yalavarthi
---
MAINTAINERS| 2 ++
drivers/meson.build| 1 +
drivers/ml/cnxk/cn10k_ml_dev.c | 8
drivers/ml/cnxk/cn10k_ml_dev.h | 8
drivers/ml/cnxk/meson.b
Added ML cnxk headers for register, structure definitions and
ROC layer. Implemented ROC functions, registered logtype for
ML module with the name pmd.ml.cnxk and defined ML hardware ID.
Signed-off-by: Srikanth Yalavarthi
---
Depends-on: series-26198 ("implementation of ML common code")
MAINTAI
Marvell ML CNXK Driver
--
This patch series implements common Machine Learning (ML) ROC code
and driver for Marvell Octeon 10 (cnxk) platform. ML inferencing is
supported on cnxk platform through an integrated ML inferencing
processor. The current driver supports programming th
> -Original Message-
> From: Stephen Hemminger
> Sent: 21 December 2022 00:35
> To: Srikanth Yalavarthi
> Cc: Thomas Monjalon ; dev@dpdk.org; Shivah
> Shankar Shankar Narayan Rao ; Jerin Jacob
> Kollanukkaran ; Anup Prabhu
> Subject: [EXT] Re: [PATCH v3 1/4] common/ml: add initial files
> -Original Message-
> From: Stephen Hemminger
> Sent: 21 December 2022 00:37
> To: Srikanth Yalavarthi
> Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao
> ; Jerin Jacob Kollanukkaran
> ; Anup Prabhu
> Subject: [EXT] Re: [PATCH v3 0/4] implementation of ML common code
>
> External
On Tue, 20 Dec 2022 09:52:52 -0800
Srikanth Yalavarthi wrote:
> Machine Learning common code
>
>
> This patch series implements the common ML code that can be used by
> ML drivers. Common code include functions to convert ML IO type to
> string, IO format type to str
On Tue, 20 Dec 2022 09:52:53 -0800
Srikanth Yalavarthi wrote:
> diff --git a/drivers/common/ml/meson.build b/drivers/common/ml/meson.build
> new file mode 100644
> index 00..b0ecc42668
> --- /dev/null
> +++ b/drivers/common/ml/meson.build
> @@ -0,0 +1,20 @@
> +# SPDX-License-Identifier: B
Added ARM NEON intrinsic based implementations to support conversion
of data types. Support is enabled to handle int8, uint8, int16, uint16,
float16, float32 and bfloat16 types.
Signed-off-by: Srikanth Yalavarthi
---
v2:
* Dropped use of driver routines to call neon functions
* Optimization of ne
Added scalar implementations to support conversion of data types.
Support is enabled to handle int8, uint8, int16, uint16, float16,
float32 and bfloat16 types.
Signed-off-by: Srikanth Yalavarthi
---
v2:
* Updated internal function names
* Updated function attributes to __rte_weak
drivers/common
Implemented ML common utility functions to convert IO data type to
name, IO format to name and routine to get the size of an IO data
type in bytes.
Signed-off-by: Srikanth Yalavarthi
---
v2:
* Implemented common utility functions as part of the patch
* Dropped use of driver routines for data conv
Added ML common header files and skeleton code. Common ML code
includes utility routines to convert ML IO type and format to
string, IO type to size and routines to convert data types.
Signed-off-by: Srikanth Yalavarthi
---
Depends-on: series-26046 ("app/mldev: implement test framework for mldev"
Machine Learning common code
This patch series implements the common ML code that can be used by
ML drivers. Common code include functions to convert ML IO type to
string, IO format type to string, function get size of ML IO type,
and functions for converting data type
Hi all,
Here is a new stable release:
https://fast.dpdk.org/rel/dpdk-21.11.3.tar.xz
The git tree is at:
https://dpdk.org/browse/dpdk-stable/?h=21.11
Release notes can be found here:
http://doc.dpdk.org/guides-21.11/rel_notes/release_21_11.html#id5
This LTS release contai
iavf admin queue commands aren't thread-safe. Bugs surrounding this
issue can manifest in a variety of ways but frequently pend_cmd is
over written. Simultaneously executing commands can result in a
misconfigured device or DPDK sleeping in a thread for 2 second.
Despite this limitation, vf command
On 19/10/2022 09:34, Kevin Traynor wrote:
On 18/10/2022 23:45, Mah, Yock Gen wrote:
-Original Message-
From: Kevin Traynor
Sent: Tuesday, 18 October, 2022 8:54 PM
To: Mah, Yock Gen ; IOTG DPDK Ref App
; Zhang, Qi Z
Cc: dev@dpdk.org
Subject: Re: [PATCH v2] IGC: Remove I225_I_PHY_ID c
Hello Mike,
On Tue, Dec 20, 2022 at 12:24 AM Mike Pattrick wrote:
>
> iavf admin queue commands aren't thread-safe. Bugs surrounding this
> issue can manifest in a variety of ways but frequently pend_cmd is
> over written. Simultaneously executing commands can result in a
> misconfigured device o
From: Anoob Joseph
Complete 16B IV can be passed in DPTR to microcode. Passing salt in CPTR
cannot be supported as the salt need to be given in different formats
when CTX is enabled.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_se.c | 17 +++--
drivers/common/cnxk/roc_s
From: Anoob Joseph
Session private data is at an offset of session. This can never be
NULL. Remove check for the same.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_ipsec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/crypto/cnxk/cn10k_ipsec.c
b/d
Set salt as part of 16B IV in dptr to avoid race
condition.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 7 +++-
drivers/crypto/cnxk/cnxk_se.h | 76 +++
2 files changed, 47 insertions(+), 36 deletions(-)
diff --git a/drivers/common/cnxk/roc
Support context cache with non IPsec operations.
Signed-off-by: Tejasree Kondoj
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_platform.h| 3 +-
drivers/common/cnxk/roc_se.c | 47 +++
drivers/common/cnxk/roc_se.h | 42 +
Support truncated digest size for auth only mode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cpt/cpt_ucode.h| 17 ---
.../octeontx/otx_cryptodev_capabilities.c | 48 +--
2 files changed, 34 insertions(+), 31 deletions(-)
diff --git a/drivers/common
Setting dev_ops to NULL in pci_remove to avoid
device close after removal.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn10k_cryptodev.c | 1 +
drivers/crypto/cnxk/cn9k_cryptodev.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/crypto/cnxk/cn10k_cryptodev.c
b/drivers/
From: Volodymyr Fialko
Operations with FC opcode requires precomputed ipad and opad hashes, but
for auth only (HMAC opcode) this is not required, thus could be skipped.
Signed-off-by: Volodymyr Fialko
---
drivers/common/cnxk/roc_se.c | 33 -
1 file changed, 20 i
From: Volodymyr Fialko
Add support for SHA3 family hash and hmac operations.
Signed-off-by: Volodymyr Fialko
---
doc/guides/cryptodevs/cnxk.rst| 8 +
doc/guides/cryptodevs/features/cn10k.ini | 8 +
doc/guides/cryptodevs/features/cn9k.ini | 8 +
drivers/crypto/c
From: Archana Muniganti
Added IPsec SG support in CN9K
Signed-off-by: Archana Muniganti
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_api.h| 1 +
drivers/common/cnxk/roc_cpt_sg.h | 37 +++
drivers/common/cnxk/roc_ie_on.h | 9 +-
drivers/common/cn
From: Gowrishankar Muthukrishnan
For an empty input data, digest value is incorrectly generated from
previous auth op, in case executed. This is due to incorrect gather
component used.
Fixes: 7c19abdd0cf1 ("common/cnxk: support 103XX CPT")
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishanka
From: Vidya Sagar Velumuri
Update crypto and IPsec completion handling as per microcode version
OCPT-04-IE-IPSEC-MC-30-01-28-00
ci: skip_checkformat
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 18 +-
drivers/crypto/cnxk/cn10k_ipsec.c
From: Volodymyr Fialko
Check that queue pair provided by metadata information is enabled (added
to crypto adapter).
Signed-off-by: Volodymyr Fialko
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c
b/
Adding truncated digest length support.
Signed-off-by: Tejasree Kondoj
---
.../crypto/cnxk/cnxk_cryptodev_capabilities.c | 48 +--
drivers/crypto/cnxk/cnxk_se.h | 19
2 files changed, 35 insertions(+), 32 deletions(-)
diff --git a/drivers/crypto/cnxk/cnx
From: Volodymyr Fialko
Attach valid context of last packet instruction to the passthrough
instruction to match hardware requirements.
Signed-off-by: Volodymyr Fialko
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a
From: Vidya Sagar Velumuri
In IPsec lookaside path, response length for an encryption is pre
calculated and updated in the mbuf as the packet length.
Response length dpepends on the layer-3 header length.
As IPsec security context does not provide any information about the IP
version, the layer-3
From: Aakash Sasidharan
Generate opad and ipad in driver for SHA based crypto algos
Signed-off-by: Aakash Sasidharan
---
drivers/common/cnxk/cnxk_security.c | 4 +--
drivers/common/cnxk/roc_hash.c | 12 ---
drivers/common/cnxk/roc_hash.h | 2 +-
drivers/common/cnxk/roc_se.c
From: Anoob Joseph
If LFs are not attached, LF detach and free ops should not be attempted.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c
index fb97ec89b2..bf216
This series adds improvements and support for SHA3,
IPsec scatter gather mode in cnxk crypto PMD.
Aakash Sasidharan (1):
common/cnxk: generate opad and ipad in driver
Anoob Joseph (3):
common/cnxk: perform LF fini ops only when allocated
crypto/cnxk: remove null check of session priv
comm
On 24/06/2022 11:23, Ciara Loftus wrote:
libbpf v0.8.0 deprecates the bpf_get_link_xdp_id and bpf_set_link_xdp_fd
functions. Use meson to detect if libbpf >= v0.7.0 is linked and if so, use
the recommended replacement functions bpf_xdp_query_id, bpf_xdp_attach
and bpf_xdp_detach which are availab
1 - 100 of 120 matches
Mail list logo