RE: [PATCH v1] doc: deprecation notice to add callback data to rte_event_fp_ops

2023-07-25 Thread Hemant Agrawal
and result in ABI > change. > > + > > * security: Hide structures ``rte_security_ops`` and ``rte_security_ctx`` > >as these are internal to DPDK library and drivers. > > > > +techboard, > > Request for review/ack, patch is to extend eventdev to support callbacks per > packet. Acked-by: Hemant Agrawal

RE: [PATCH v2] doc: announce changes to event device structures

2023-07-27 Thread Hemant Agrawal
``switch_profile`` will be added to ``rte_event_fp_ops``. > > There are other deprecation notices to update rte_event_fp_ops. > Exact fields in rte_event_dev_info be decided later along with patch. > With that > > Acked-by: Jerin Jacob Acked-by: Hemant Agrawal > > > > -- > > 2.25.1 > >

RE: [PATCH] app/crypto-perf: return ENOTSUP for unsupported cases

2023-07-30 Thread Hemant Agrawal
822,10 @@ main(int argc, char **argv) > rte_free(opts.imix_buffer_sizes); > free_test_vector(t_vec, &opts); > > + if (rte_errno == ENOTSUP || cap_unsupported) { > + RTE_LOG(ERR, USER1, "Unsupported case: errno: %u\n", > rte_errno); > + return -ENOTSUP; > + } > printf("\n"); > return EXIT_FAILURE; > } > -- > 2.25.1 Acked-by: Hemant Agrawal

Re: [PATCH] cryptodev: remove deprecated algo string arrays

2023-07-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal On 31-Jul-23 9:07 AM, Akhil Goyal wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button Removed the algorithm stri

[PATCH 00/12] crypto/dpaax_sec: misc enhancements

2023-08-23 Thread Hemant Agrawal
IPsec base descriptor length common/dpaax: change mode to wait in shared desc crypto/dpaax_sec: set the authdata in non-auth case Hemant Agrawal (7): crypto/dpaa2_sec: supporting null cipher and auth crypto/dpaa_sec: supporting null cipher and auth crypto/dpaa2_sec: support copy df and

[PATCH 01/12] common/dpaax: update IPsec base descriptor length

2023-08-23 Thread Hemant Agrawal
From: Gagandeep Singh If all the keys are inlined, the descriptor would be 32 + 20 = 52 which is the size of the CURRENT shared descriptor created. So 32 * CAAM_CMD_SZ is the value that must be passed to rta_inline_query() for its "sd_base_len" parameter and drivers are using IPSEC_AUTH_VAR_AES_

[PATCH 02/12] common/dpaax: change mode to wait in shared desc

2023-08-23 Thread Hemant Agrawal
From: Gagandeep Singh In case of protocol based offload, it is better to wait before the share descriptor complete the execution. Simultaneous sharing may cause issues. Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 82 +++ 1 file changed, 41

[PATCH 03/12] crypto/dpaa2_sec: initialize the pdcp alg to null

2023-08-23 Thread Hemant Agrawal
From: Vanshika Shukla This patch initializes the pdcp alg to null. Signed-off-by: Vanshika Shukla --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_

[PATCH 04/12] crypto/dpaa2_sec: supporting null cipher and auth

2023-08-23 Thread Hemant Agrawal
IPSEC proto offload support NULL in combo cases, thus adding NULL cipher and auth in security capabilities. Non-supported cases are already protected in the code. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 43 +-- 1 file changed, 41

[PATCH 05/12] crypto/dpaa_sec: supporting null cipher and auth

2023-08-23 Thread Hemant Agrawal
Adding NULL cipher and auth in capabilities. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.h | 42 +- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index

[PATCH 06/12] crypto/dpaax_sec: set the authdata in non-auth case

2023-08-23 Thread Hemant Agrawal
From: Gagandeep Singh The descriptors refers to auth data as well, so initializing it properly for the non-auth cases. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 16 drivers/crypto/dpaa_sec/dpaa_sec.c | 5 + 2 files changed,

[PATCH 07/12] crypto/dpaa2_sec: enhance dpaa FD FL FMT offset set

2023-08-23 Thread Hemant Agrawal
From: Apeksha Gupta The macro DPAA2_SET_FLE_OFFSET(fle, offset) only works for masking the offset upto with 12 bits. When the offset value is more that 12 bits, this macro may over writing the FMT/SL/F bits which are beyond the offset bits. The FLE_ADDR is modified to FLE_ADDR + OFFSET, and the F

[PATCH 08/12] crypto/dpaa2_sec: support copy df and dscp in proto offload

2023-08-23 Thread Hemant Agrawal
This patch adds support for enabling capability to copy dscp and df bits from inner to outer header and vice-versa. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 18 ++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 10 -- 2 files changed

[PATCH 09/12] crypto/dpaa2_sec: increase the anti replay window size

2023-08-23 Thread Hemant Agrawal
LX216x can support upto 1024 anti replay window size. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h index

[PATCH 10/12] crypto/dpaa2_sec: enable esn support

2023-08-23 Thread Hemant Agrawal
LX216x suppots ESN. Also enable to correctly print the SEC era. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa2_sec

[PATCH 11/12] crypto/dpaa2_sec: add NAT-T support in IPsec offload

2023-08-23 Thread Hemant Agrawal
This patch adds supports for UDP encapsulation in NAT-T for IPSEC security protocol offload case. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 101 ++-- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 3 + 2 files changed, 75 insertions(+), 29

[PATCH 12/12] crypto/dpaa2_sec: add support to set df and diffserv

2023-08-23 Thread Hemant Agrawal
This patch enables the ipsec protocol offload to copy DF and diffserv Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 31 + drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 2 ++ 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a

Re: [PATCH v1 1/1] test: fix named test macro

2023-08-23 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [PATCH] test/security: fix buffer leaks in error path

2023-08-25 Thread Hemant Agrawal
On 22-Aug-23 11:03 PM, Akhil Goyal wrote: In case of failure of a test in macsec autotest, the buffers were not getting cleaned. Added appropriate code to clean the buffers. Fixes: 993ea577a006 ("test/security: add inline MACsec cases") Cc: sta...@dpdk.org Signed-off-by: Akhil Goyal --- ap

[PATCH] test/crypto: fix return value for GMAC testcase

2023-08-27 Thread Hemant Agrawal
create_gmac_session is already converting the return value of NOTSUPP to TEST_SKIPPED Fixes: bdce2564dbf7 ("cryptodev: rework session framework") Cc: gak...@marvell.com Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 13 +++-- 1 file

[PATCH] config/arm: add cortex-A55 part number

2023-10-30 Thread Hemant Agrawal
This patch adds the part number for Cortex-A55 ARM Cores A55 is used in NXP-i.mx93 SoCs. Signed-off-by: Hemant Agrawal --- config/arm/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/config/arm/meson.build b/config/arm/meson.build index 3f22d8a2fc..efd0bf32bc 100644 --- a/config

RE: [PATCH v2] test/security: fix buffer leaks in error path

2023-10-31 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Akhil Goyal > Sent: Tuesday, October 31, 2023 12:15 PM > To: dev@dpdk.org > Cc: step...@networkplumber.org; Hemant Agrawal > ; vattun...@marvell.com; Akhil Goyal > ; sta...@dpdk.org > Subject: [PATCH v2] t

RE: [PATCH] test/dma: fix for buffer auto free

2023-11-01 Thread Hemant Agrawal
ee", .enabled = > false}, }; > > +static bool dev_init; [Hemant] should't it be per device id? > + > static void > __rte_format_printf(3, 4) > print_err(const char *func, int lineno, const char *format, ...) @@ -837,7 > +839,6 @@ test_m2d_auto_free(in

RE: [PATCH] net/dpaa2: change threshold value

2023-11-03 Thread Hemant Agrawal
> -Original Message- > From: Ferruh Yigit > Sent: Friday, November 3, 2023 2:36 AM > To: Sachin Saxena (OSS) ; Hemant Agrawal > ; Sachin Saxena > Cc: dev@dpdk.org; Tianli Lai > Subject: Re: [PATCH] net/dpaa2: change threshold value > Importance: High > >

RE: [PATCH v4 10/10] common/dpaxx: remove zero length array

2023-11-21 Thread Hemant Agrawal
ent (only for IPsec legacy mode) > */ > struct ipsec_encap_pdb { > uint32_t options; > @@ -350,7 +349,6 @@ struct ipsec_encap_pdb { > }; > uint32_t spi; > uint32_t ip_hdr_len; > - uint8_t ip_hdr[0]; [Hemant] This should be replaced

RE: [PATCH 24.03 4/8] event/dpaa*: add schedule-type capability flags

2023-11-21 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Bruce Richardson > Sent: Monday, November 20, 2023 10:56 PM > To: dev@dpdk.org > Cc: Bruce Richardson ; Hemant Agrawal > ; Sachin Saxena > Subject: [PATCH 24.03 4/8] event/dpaa*: add schedule-type capability fla

RE: [PATCH v4 10/10] common/dpaxx: remove zero length array

2023-11-21 Thread Hemant Agrawal
> -Original Message- > From: Tyler Retzlaff > Sent: Tuesday, November 21, 2023 10:49 PM > To: Stephen Hemminger > Cc: Hemant Agrawal ; dev@dpdk.org; Sachin > Saxena ; Gagandeep Singh > Subject: Re: [PATCH v4 10/10] common/dpaxx: remove zero length array > Impo

RE: [PATCH v4 10/10] common/dpaxx: remove zero length array

2023-11-27 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Stephen Hemminger > Sent: Friday, November 24, 2023 12:49 AM > To: Hemant Agrawal > Cc: Tyler Retzlaff ; dev@dpdk.org; Sachin > Saxena ; Gagandeep Singh > Subject: Re: [PATCH v4 10/10] common/dpaxx: rem

RE: [PATCH 01/11] doc: add Traffic Manager feature

2023-11-28 Thread Hemant Agrawal
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, November 28, 2023 4:02 PM > To: Huisong Li ; dev@dpdk.org; > tho...@monjalon.net; Hemant Agrawal ; > Balasubramanian Manoharan > ; Cristian Dumitrescu > ; Jerin Jacob > > Cc: liuyongl...@huawei.c

RE: [PATCH 09/11] doc: add Traffic Manager feature for dpaa2

2023-11-28 Thread Hemant Agrawal
> -Original Message- > From: Huisong Li > Sent: Tuesday, November 28, 2023 11:40 AM > To: dev@dpdk.org; ferruh.yi...@amd.com; tho...@monjalon.net; Hemant > Agrawal ; Sachin Saxena > > Cc: liuyongl...@huawei.com; lihuis...@huawei.com > Subject: [PATCH 09/11]

RE: [PATCH 15/16] doc: add link speed configuration feature for dpaa

2023-11-28 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Huisong Li > Sent: Tuesday, November 28, 2023 6:30 PM > To: dev@dpdk.org; ferruh.yi...@amd.com; tho...@monjalon.net; Hemant > Agrawal ; Sachin Saxena > > Cc: liuyongl...@huawei.com; lihuis...@huawei.com > Su

RE: [EXT] [PATCH v5 19/19] drivers: remove use of term sanity check

2023-11-29 Thread Hemant Agrawal
> >-Original Message- > >From: Stephen Hemminger > >Sent: Wednesday, November 29, 2023 10:56 PM > >To: dev@dpdk.org > >Cc: Stephen Hemminger ; Hemant > Agrawal > >; Sachin Saxena ; > Nithin > >Kumar Dabilpuram ; Kiran Kumar Kokkilagadda

RE: [PATCH v5 03/19] test: replace use word sanity

2023-11-29 Thread Hemant Agrawal
t; Yipeng Wang ; Sameh Gobriel > ; Vladimir Medvedkin > ; Harman Kalra ; > Chas Williams ; Min Hu (Connor) ; > Sachin Saxena ; Hemant Agrawal > ; Erik Gabriel Carrillo > Subject: [PATCH v5 03/19] test: replace use word sanity > Importance: High > > The word "sa

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

2024-03-18 Thread Hemant Agrawal
Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

Re: [PATCH 1/2] raw/skeleton: fix selftest

2023-03-16 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [PATCH 2/2] test: add rawdev to fast tests

2023-03-16 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH] doc: fix cryptodev code block mismatch

2023-03-27 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH] dma/dpaa2: set the vfa bit for rbp with vf

2023-04-16 Thread Hemant Agrawal
> -Original Message- > From: Alvaro Karsz > Sent: Sunday, April 16, 2023 2:47 PM > To: Jun Yang ; Gagandeep Singh ; > Hemant Agrawal > Cc: dev@dpdk.org; David Marchand > Subject: Re: [PATCH] dma/dpaa2: set the vfa bit for rbp with vf > Importance: High > &

RE: [PATCH 3/6] crypto/dpaa2_sec: remove security lib presence checks

2023-06-09 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 4/6] crypto/dpaa_sec: remove security lib presence checks

2023-06-09 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

[v2 1/2] doc: add policy for adding vendor PMD specific examples

2023-07-05 Thread Hemant Agrawal
This patch update the dpdk sample app policy to support vendor PMD specific test examples in the respective drivers sub-directory in examples. Signed-off-by: Hemant Agrawal Acked-by: Jerin Jacob --- doc/guides/sample_app_ug/intro.rst | 12 1 file changed, 12 insertions(+) diff

[v2 2/2] examples: move vendor specific apps to drivers sub directory

2023-07-05 Thread Hemant Agrawal
As approved by DPDK technical board on 2021-03-24 NTB raw driver example application will be moved to example/rawdev/ to avoid PMD specific example application to show up in examples directory. Signed-off-by: Hemant Agrawal --- doc/guides/sample_app_ug/ntb.rst | 2 +- examples/meson.build

Re: [PATCH] doc: announce deprecation for security ops

2023-07-05 Thread Hemant Agrawal
Acked-by: Hemant Agrawal On 05-Jul-23 1:14 AM, Akhil Goyal wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button Structure rte_security_ops and rte_securi

Re: [PATCH] doc: announce deprecation of RTE_CPUFLAG_NUMFLAGS

2023-07-12 Thread Hemant Agrawal
ll the CPU architectures supported in DPDK. DPDK has adopted the atomic operations from Acked-by: Ferruh Yigit Acked-by: Hemant Agrawal

Re: [PATCH v5 04/11] drivers/crypto: use rte_pktmbuf_mtod_offset

2023-07-12 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 01/11] bus/fslmc: updated MC FW to 10.28

2021-10-06 Thread Hemant Agrawal
Series- Acked-by:  Hemant Agrawal On 9/27/2021 5:56 PM, nipun.gu...@nxp.com wrote: From: Hemant Agrawal Updating MC firmware support APIs to be latest. It supports improved DPDMUX (SRIOV equivalent) for traffic split between dpnis and additional PTP APIs. Signed-off-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v7 1/2] ethdev: make queue release callback optional

2021-10-06 Thread Hemant Agrawal
Acked-by: Hemant Agrawal > -Original Message- > From: Xueming Li > Sent: Wednesday, October 6, 2021 4:48 PM > To: dev@dpdk.org > Cc: xuemi...@nvidia.com; Ferruh Yigit ; Andrew > Rybchenko ; Singh Aman Deep > ; Thomas Monjalon ; > John W. Linville ; Ciara Loft

RE: [PATCH] raw/skeleton: remove useless check

2022-10-04 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

RE: [PATCH 00/15] DPAA and DPAA2 driver changes

2022-10-06 Thread Hemant Agrawal
Series- Acked-by: Hemant Agrawal > -Original Message- > From: Gagandeep Singh > Sent: Wednesday, September 28, 2022 10:55 AM > To: ferruh.yi...@amd.com; dev@dpdk.org > Cc: Gagandeep Singh > Subject: [PATCH 00/15] DPAA and DPAA2 driver changes > > This series ha

[dpdk-dev] [PATCH 00/15] crypto: add raw vector support in DPAAx

2021-08-25 Thread Hemant Agrawal
crypto/dpaa_sec: support raw datapath APIs crypto/dpaa_sec: support authonly and chain with raw APIs crypto/dpaa_sec: support AEAD and proto with raw APIs Hemant Agrawal (4): crypto: change sgl to src_sgl in vector crypto: add dest_sgl in raw vector APIs test/crypto: add raw API test for

[dpdk-dev] [PATCH 01/15] crypto: change sgl to src_sgl in vector

2021-08-25 Thread Hemant Agrawal
This patch renames the sgl to src_sgl to help differentiating between source and destination sgl. Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 6 +++--- drivers/crypto/qat/qat_sym_hw_dp.c | 27 --- lib/cryptodev/rte_crypto_sym.h | 2

[dpdk-dev] [PATCH 02/15] crypto: add total raw buffer length

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh The current crypto raw data vectors is extended to support rte_security usecases, where we need total data length to know how much additional memory space is available in buffer other than data length so that driver/HW can write expanded size data after encryption. Signed-o

[dpdk-dev] [PATCH 03/15] crypto: add dest_sgl in raw vector APIs

2021-08-25 Thread Hemant Agrawal
The structure rte_crypto_sym_vec is updated to add dest_sgl to support out of place processing. Signed-off-by: Hemant Agrawal --- lib/cryptodev/rte_crypto_sym.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sym.h index e5cef1fb72

[dpdk-dev] [PATCH 04/15] crypto: fix raw process for multi-seg case

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh If no next segment available the “for” loop will fail and it still returns i+1 i.e. 2, which is wrong as it has filled only 1 buffer. Fixes: 7adf992fb9bf ("cryptodev: introduce CPU crypto API") Cc: marcinx.smoczyn...@intel.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep S

[dpdk-dev] [PATCH 05/15] crypto/dpaa2_sec: support raw datapath APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This path add framework for raw API support. The initial patch only test cipher only part. Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 13 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 60

[dpdk-dev] [PATCH 06/15] crypto/dpaa2_sec: support AUTH only with raw buffer APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh Auth only with raw buffer APIs has been supported in this patch. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 21 drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 114 ++-- 2 files changed, 108 insertions(+), 27 delet

[dpdk-dev] [PATCH 07/15] crypto/dpaa2_sec: support AUTHENC with raw buffer APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch supports AUTHENC with raw buufer APIs Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 128 ++-- 1 file changed, 121 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c b/drive

[dpdk-dev] [PATCH 08/15] crypto/dpaa2_sec: support AEAD with raw buffer APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh add raw vector API support for AEAD algos. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 249 +--- 1 file changed, 214 insertions(+), 35 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c b/drivers/cr

[dpdk-dev] [PATCH 09/15] crypto/dpaa2_sec: support OOP with raw buffer API

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh add support for out of order processing with raw vector APIs. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 1 + drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 156 +++- 2 files changed, 116 insertions(+), 41 deletions(-

[dpdk-dev] [PATCH 10/15] crypto/dpaa2_sec: enhance error checks with raw buffer APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch improves error conditions and support of Wireless algos with raw buffers. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 31 - 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/drivers/crypto/dp

[dpdk-dev] [PATCH 11/15] crypto/dpaa_sec: support raw datapath APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch add raw vector API framework for dpaa_sec driver. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.c| 23 +- drivers/crypto/dpaa_sec/dpaa_sec.h| 39 +- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 485 ++

[dpdk-dev] [PATCH 12/15] crypto/dpaa_sec: support authonly and chain with raw APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch improves the raw vector support in dpaa_sec driver for authonly and chain usecase. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.h| 3 +- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 296 +- 2 files changed, 28

[dpdk-dev] [PATCH 13/15] crypto/dpaa_sec: support AEAD and proto with raw APIs

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This add support for AEAD and proto offload with raw APIs for dpaa_sec driver. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 293 ++ 1 file changed, 293 insertions(+) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec_raw_d

[dpdk-dev] [PATCH 14/15] test/crypto: add raw API test for dpaax

2021-08-25 Thread Hemant Agrawal
This patch add support for raw API tests for dpaa_sec and dpaa2_sec platforms. Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 116 +++--- 1 file changed, 109 insertions(+), 7 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH 15/15] test/crypto: add raw API support in 5G algos

2021-08-25 Thread Hemant Agrawal
This patch add support for RAW API testing with ZUC and SNOW test cases. Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 57 ++- 1 file changed, 51 insertions(+), 6 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v2 01/11] crypto/dpaa2_sec: fix to check next null for auth only case

2021-08-25 Thread Hemant Agrawal
This patch fixes the issue to check for next pointer as null in the integrity only case in pdcp-security context. Fixes: bef594ec5cc8 ("crypto/dpaa2_sec: support PDCP offload") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dps

[dpdk-dev] [PATCH v2 02/11] crypto/dpaa_sec: support DES-CBC

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh add DES-CBC support and enable available cipher-only test cases. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa_sec.ini | 1 + drivers/crypto/dpaa_sec/dpaa_sec.c | 13 + drivers/crypto/dpaa_sec/dpaa_sec.h | 20 +++

[dpdk-dev] [PATCH v2 03/11] crypto/dpaa_sec: support non-HMAC auth algos

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch add support for non-HMAC, md5, shax algos. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa_sec.ini | 8 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 55 +++-- drivers/crypto/dpaa_sec/dpaa_sec.h | 126 ++

[dpdk-dev] [PATCH v2 04/11] crypto/dpaa_sec: support AES-XCBC-MAC

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch adds support for AES-XCBC-MAC algo. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa_sec.ini | 1 + drivers/crypto/dpaa_sec/dpaa_sec.c | 21 - 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/doc

[dpdk-dev] [PATCH v2 05/11] crypto/dpaa_sec: add support for AES CMAC integrity check

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch adds support for AES_CMAC integrity in non-security mode. This patch modifies the camm flib to handles the AES CMAC without conflicting the proto ALG operations. i.e. by creating another ALG operation routine. Signed-off-by: Gagandeep Singh --- doc/guides/crypt

[dpdk-dev] [PATCH v2 06/11] common/dpaax: caamflib load correct HFN from DESCBUF

2021-08-25 Thread Hemant Agrawal
From: Franck LENORMAND The offset of the HFn word and Bearer/Dir word is different depending on type of PDB. The wrong value was used. This patch address this issue Signed-off-by: Franck LENORMAND --- drivers/common/dpaax/caamflib/desc/pdcp.h | 7 +- drivers/common/dpaax/caamflib/desc/sdap.

[dpdk-dev] [PATCH v2 07/11] common/dpaax: caamflib do not clear DPOVRD

2021-08-25 Thread Hemant Agrawal
From: Franck LENORMAND For SDAP, we are not using the protocol operation to perform 4G/LTE operation so the DPOVRD option is not used. Removing it save some space in the descriptor buffer and execution time. Signed-off-by: Franck LENORMAND --- drivers/common/dpaax/caamflib/desc/pdcp.h | 14 ++

[dpdk-dev] [PATCH v2 08/11] common/dpaax: enhance caamflib with inline keys

2021-08-25 Thread Hemant Agrawal
From: Franck LENORMAND The space in descriptor buffer is scarce as it is limited to 64 words for platforms except ERA10 (which has 128). As the descriptors are processed with QI, it adds some words to the descriptor which is passed. Some descriptors used for SDAP were using too much words reach

[dpdk-dev] [PATCH v2 09/11] common/dpaax: fix IV value for shortMAC-I for SNOW algo

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh The logic was incorecly doing conditional swap. It need to be bit swap always. Fixes: 73a24060cd70 ("crypto/dpaa2_sec: add sample PDCP descriptor APIs") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 7 --- 1 file c

[dpdk-dev] [PATCH v2 10/11] crypto/dpaa_sec: force inline of the keys to save space

2021-08-25 Thread Hemant Agrawal
From: Gagandeep Singh This patch improve storage and performance by force inline of the keys. Signed-off-by: Franck LENORMAND Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.c | 35 ++ 1 file changed, 26 insertions(+), 9 deletions(-) diff --git

[dpdk-dev] [PATCH v2 11/11] crypto/dpaa2_sec: add error packet counters

2021-08-25 Thread Hemant Agrawal
This patch add support to also counter err pkt counter per queue. This also enhances few related debug prints. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec

Re: [dpdk-dev] [PATCH v2] ethdev: add namespace

2021-08-29 Thread Hemant Agrawal
t; way. The macros for backward compatibility can be removed in next > LTS. > > > > > > > > Internal components switched to new enum & macro names. > > > > > > > > Signed-off-by: Ferruh Yigit > > > > Acked-By: Tyler Retzlaff > > > > >

Re: [dpdk-dev] [PATCH v1] bbdev: remove experimental tag from API

2021-08-31 Thread Hemant Agrawal
A%26archive%3Dboth&data=04%7C01%7Chemant.agrawal% > 40nxp.com%7Cfcdfb339ec284057db1508d96c9dd048%7C686ea1d3bc2b4c6f > a92cd99c5c301635%7C0%7C0%7C637660247324212288%7CUnknown%7CT > WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC > JXVCI6Mn0%3D%7C1000&sdata=iorsQ7

Re: [dpdk-dev] [EXT] [PATCH v2 01/11] crypto/dpaa2_sec: fix to check next null for auth only case

2021-09-02 Thread Hemant Agrawal
the short MAC-I series and not this one. Ok, Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 25 +++-- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_se

[dpdk-dev] [PATCH v2 00/15] crypto: add raw vector support in DPAAx

2021-09-07 Thread Hemant Agrawal
: enhance error checks with raw buffer APIs crypto/dpaa_sec: support raw datapath APIs crypto/dpaa_sec: support authonly and chain with raw APIs crypto/dpaa_sec: support AEAD and proto with raw APIs Hemant Agrawal (4): crypto: change sgl to src_sgl in vector crypto: add dest_sgl in raw

[dpdk-dev] [PATCH v2 01/15] crypto: change sgl to src_sgl in vector

2021-09-07 Thread Hemant Agrawal
This patch renames the sgl to src_sgl to help differentiating between source and destination sgl. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- app/test/test_cryptodev.c | 6 ++--- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 12 +- drivers/crypto/aesni_mb

[dpdk-dev] [PATCH v2 02/15] crypto: add total raw buffer length

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh The current crypto raw data vectors is extended to support rte_security usecases, where we need total data length to know how much additional memory space is available in buffer other than data length so that driver/HW can write expanded size data after encryption. Signed-o

[dpdk-dev] [PATCH v2 03/15] crypto: add dest_sgl in raw vector APIs

2021-09-07 Thread Hemant Agrawal
The structure rte_crypto_sym_vec is updated to add dest_sgl to support out of place processing. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- lib/cryptodev/rte_crypto_sym.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev

[dpdk-dev] [PATCH v2 04/15] crypto: fix raw process for multi-seg case

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh If no next segment available the “for” loop will fail and it still returns i+1 i.e. 2, which is wrong as it has filled only 1 buffer. Fixes: 7adf992fb9bf ("cryptodev: introduce CPU crypto API") Cc: marcinx.smoczyn...@intel.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep S

[dpdk-dev] [PATCH v2 05/15] crypto/dpaa2_sec: support raw datapath APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This path add framework for raw API support. The initial patch only test cipher only part. Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- doc/guides/rel_notes/release_21_11.rst | 4 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 13 +- drivers

[dpdk-dev] [PATCH v2 06/15] crypto/dpaa2_sec: support AUTH only with raw buffer APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh Auth only with raw buffer APIs has been supported in this patch. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 21 drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 114 ++-- 2 files changed, 108 insertions(+), 27 delet

[dpdk-dev] [PATCH v2 07/15] crypto/dpaa2_sec: support AUTHENC with raw buffer APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This patch supports AUTHENC with raw buufer APIs Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 128 ++-- 1 file changed, 121 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c b/drive

[dpdk-dev] [PATCH v2 08/15] crypto/dpaa2_sec: support AEAD with raw buffer APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh add raw vector API support for AEAD algos. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 249 +--- 1 file changed, 214 insertions(+), 35 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c b/drivers/cr

[dpdk-dev] [PATCH v2 09/15] crypto/dpaa2_sec: support OOP with raw buffer API

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh add support for out of order processing with raw vector APIs. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 1 + drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 156 +++- 2 files changed, 116 insertions(+), 41 deletions(-

[dpdk-dev] [PATCH v2 14/15] test/crypto: add raw API test for dpaax

2021-09-07 Thread Hemant Agrawal
This patch add support for raw API tests for dpaa_sec and dpaa2_sec platforms. Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 116 +++--- 1 file changed, 109 insertions(+), 7 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v2 15/15] test/crypto: add raw API support in 5G algos

2021-09-07 Thread Hemant Agrawal
This patch add support for RAW API testing with ZUC and SNOW test cases. Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 57 ++- 1 file changed, 51 insertions(+), 6 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v2 13/15] crypto/dpaa_sec: support AEAD and proto with raw APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This add support for AEAD and proto offload with raw APIs for dpaa_sec driver. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 293 ++ 1 file changed, 293 insertions(+) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec_raw_d

[dpdk-dev] [PATCH v2 12/15] crypto/dpaa_sec: support authonly and chain with raw APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This patch improves the raw vector support in dpaa_sec driver for authonly and chain usecase. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.h| 3 +- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 296 +- 2 files changed, 28

[dpdk-dev] [PATCH v2 10/15] crypto/dpaa2_sec: enhance error checks with raw buffer APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This patch improves error conditions and support of Wireless algos with raw buffers. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 31 - 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/drivers/crypto/dp

[dpdk-dev] [PATCH v2 11/15] crypto/dpaa_sec: support raw datapath APIs

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This patch add raw vector API framework for dpaa_sec driver. Signed-off-by: Gagandeep Singh --- doc/guides/rel_notes/release_21_11.rst| 4 + drivers/crypto/dpaa_sec/dpaa_sec.c| 23 +- drivers/crypto/dpaa_sec/dpaa_sec.h| 39 +- drivers/crypto/dpaa_s

[dpdk-dev] [PATCH v3 01/10] crypto/dpaa_sec: support DES-CBC

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh add DES-CBC support and enable available cipher-only test cases. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa_sec.ini | 1 + drivers/crypto/dpaa_sec/dpaa_sec.c | 13 + drivers/crypto/dpaa_sec/dpaa_sec.h | 20 +++

[dpdk-dev] [PATCH v3 02/10] crypto/dpaa_sec: support non-HMAC auth algos

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This patch add support for non-HMAC, md5, shax algos. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa_sec.ini | 8 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 55 +++-- drivers/crypto/dpaa_sec/dpaa_sec.h | 126 ++

[dpdk-dev] [PATCH v3 03/10] crypto/dpaa_sec: support AES-XCBC-MAC

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This patch adds support for AES-XCBC-MAC algo. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa_sec.ini | 1 + drivers/crypto/dpaa_sec/dpaa_sec.c | 21 - 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/doc

[dpdk-dev] [PATCH v3 04/10] crypto/dpaa_sec: add support for AES CMAC integrity check

2021-09-07 Thread Hemant Agrawal
From: Gagandeep Singh This patch adds support for AES_CMAC integrity in non-security mode. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/features/dpaa_sec.ini | 1 + drivers/crypto/dpaa_sec/dpaa_sec.c | 10 + drivers/crypto/dpaa_sec/dpaa_sec.h | 43 +++

[dpdk-dev] [PATCH v3 05/10] common/dpaax: caamflib load correct HFN from DESCBUF

2021-09-07 Thread Hemant Agrawal
From: Franck LENORMAND The offset of the HFn word and Bearer/Dir word is different depending on type of PDB. The wrong value was used. This patch address this issue Signed-off-by: Franck LENORMAND --- drivers/common/dpaax/caamflib/desc/pdcp.h | 7 +- drivers/common/dpaax/caamflib/desc/sdap.

<    1   2   3   4   5   6   7   8   9   10   >