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
``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
> >
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
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
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
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_
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
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_
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
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
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,
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
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
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
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
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
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
Acked-by: 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
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
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
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
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
> -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
>
>
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
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
> -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
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
> -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
> -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]
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
> >-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
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
Acked-by: Hemant Agrawal
smime.p7s
Description: S/MIME cryptographic signature
Acked-by: Hemant Agrawal
Acked-by: Hemant Agrawal
Acked-by: 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
>
&
Acked-by: Hemant Agrawal
Acked-by: 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
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
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
ll the CPU architectures supported
in DPDK. DPDK has adopted the atomic operations from
Acked-by: Ferruh Yigit
Acked-by: Hemant Agrawal
Acked-by: 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
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
Acked-by: 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
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
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
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
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
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
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
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
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
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
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(-
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
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 ++
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
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
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
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
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
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 +++
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 ++
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
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
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.
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 ++
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
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
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
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
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
> > >
> >
A%26archive%3Dboth&data=04%7C01%7Chemant.agrawal%
> 40nxp.com%7Cfcdfb339ec284057db1508d96c9dd048%7C686ea1d3bc2b4c6f
> a92cd99c5c301635%7C0%7C0%7C637660247324212288%7CUnknown%7CT
> WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC
> JXVCI6Mn0%3D%7C1000&sdata=iorsQ7
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
: 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
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
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
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
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
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
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
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
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
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(-
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
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
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
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
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
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
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 +++
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 ++
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
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 +++
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.
401 - 500 of 3096 matches
Mail list logo