[PATCH v5 2/2] doc: remove outdated version details

2024-03-05 Thread Sivaramakrishnan Venkat
SW PMDs documentation is updated to remove details of unsupported IPsec Multi-buffer versions.DPDK older than 20.11 is end of life. So, older DPDK versions are removed from the Crypto library version table. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Pablo de Lara Acked-by: Wathsala

[PATCH v5 1/2] crypto/ipsec_mb: bump minimum IPsec Multi-buffer version

2024-03-05 Thread Sivaramakrishnan Venkat
SW PMDs increment IPsec Multi-buffer version to 1.4. A minimum IPsec Multi-buffer version of 1.4 or greater is now required. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Ciara Power Acked-by: Pablo de Lara Acked-by: Wathsala Vithanage --- v5: - Rebased and added to patchset v4

[PATCH v1] doc: update QAT compression doc IDs

2024-02-28 Thread Sivaramakrishnan Venkat
Missing GEN2, GEN3 and GEN4 devices updated for the QAT compression. Signed-off-by: Sivaramakrishnan Venkat --- doc/guides/compressdevs/qat_comp.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/compressdevs/qat_comp.rst b/doc/guides/compressdevs/qat_comp.rst index

[PATCH v4 2/2] doc: remove outdated version details

2024-02-23 Thread Sivaramakrishnan Venkat
SW PMDs documentation is updated to remove details of unsupported IPsec Multi-buffer versions.DPDK older than 20.11 is end of life. So, older DPDK versions are removed from the Crypto library version table. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Pablo de Lara --- v3: - added

[PATCH v4 1/2] crypto/ipsec_mb: bump minimum IPsec Multi-buffer version

2024-02-23 Thread Sivaramakrishnan Venkat
SW PMDs increment IPsec Multi-buffer version to 1.4. A minimum IPsec Multi-buffer version of 1.4 or greater is now required. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Ciara Power Acked-by: Pablo de Lara --- v4: - 24.03 release notes updated to bump minimum IPSec Multi-buffer

[PATCH v4 2/2] doc: remove outdated version details

2024-02-23 Thread Sivaramakrishnan Venkat
SW PMDs documentation is updated to remove details of unsupported IPsec Multi-buffer versions.DPDK older than 20.11 is end of life. So, older DPDK versions are removed from the Crypto library version table. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Pablo de Lara --- v3: - added

[PATCH v4 1/2] crypto/ipsec_mb: bump minimum IPsec Multi-buffer version

2024-02-23 Thread Sivaramakrishnan Venkat
SW PMDs increment IPsec Multi-buffer version to 1.4. A minimum IPsec Multi-buffer version of 1.4 or greater is now required. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Ciara Power Acked-by: Pablo de Lara --- v4: - 24.03 release notes updated to bump minimum IPSec Multi-buffer

[PATCH v4] doc: update guideline for fix commit messages

2024-02-08 Thread Sivaramakrishnan Venkat
Maintainers remove the Cc author line when merging the patch. So, the guidelines is updated with a suggestion for the placement of Cc lines in a commit message for easy merging. Signed-off-by: Sivaramakrishnan Venkat --- v4: - Reverted removal of "Cc: sta...@dpdk.org" in the com

[PATCH v3 2/2] doc: remove outdated version details

2024-02-02 Thread Sivaramakrishnan Venkat
SW PMDs documentation is updated to remove details of unsupported IPsec Multi-buffer versions.DPDK older than 20.11 is end of life. So, older DPDK versions are removed from the Crypto library version table. Signed-off-by: Sivaramakrishnan Venkat --- v3: - added second patch for outdated

[PATCH v3 1/2] crypto/ipsec_mb: bump minimum IPsec Multi-buffer version

2024-02-02 Thread Sivaramakrishnan Venkat
SW PMDs increment IPsec Multi-buffer version to 1.4. A minimum IPsec Multi-buffer version of 1.4 or greater is now required. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Ciara Power --- v2: - Removed unused macro in ipsec_mb_ops.c - set_gcm_job() modified correctly to keep

[PATCH v7 2/2] drivers/net: return number of types in get supported types

2024-02-01 Thread Sivaramakrishnan Venkat
Missing "RTE_PTYPE_UNKNOWN" ptype causes buffer overflow. Enhance code such that the dev_supported_ptypes_get() function pointer now returns the number of elements to eliminate the need for "RTE_PTYPE_UNKNOWN" as the last item. Signed-off-by: Sivaramakrishnan Venkat -

[PATCH v7 1/2] drivers/net: fix buffer overflow for ptypes list

2024-02-01 Thread Sivaramakrishnan Venkat
and basic statistics") Fixes: 398a1be14168 ("net/thunderx: remove generic passX references") Signed-off-by: Sivaramakrishnan Venkat Reviewed-by: Ferruh Yigit --- Cc: pascal.ma...@6wind.com Cc: shreyansh.j...@nxp.com Cc: z...@semihalf.com Cc: t...@semihalf.com Cc: qin...@corigine.co

[PATCH v7 1/2] drivers/net: fix buffer overflow for ptypes list

2024-02-01 Thread Sivaramakrishnan Venkat
and basic statistics") Fixes: 398a1be14168 ("net/thunderx: remove generic passX references") Signed-off-by: Sivaramakrishnan Venkat Reviewed-by: Ferruh Yigit --- Cc: pascal.ma...@6wind.com Cc: shreyansh.j...@nxp.com Cc: z...@semihalf.com Cc: t...@semihalf.com Cc: qin...@corigine.co

[PATCH v3] doc: update guideline for fix commit messages

2024-02-01 Thread Sivaramakrishnan Venkat
Maintainers remove the Cc author line when merging the patch. So, the guidelines is updated with a suggestion for the placement of Cc lines in a commit message for easy merging. Signed-off-by: Sivaramakrishnan Venkat --- v3: - Other samples updated to the desired format for the "Cc:&quo

[PATCH v2] crypto/ipsec_mb: bump minimum IPSec Multi-buffer version

2024-01-30 Thread Sivaramakrishnan Venkat
SW PMDs increment IPsec Multi-buffer version to 1.4. A minimum IPsec Multi-buffer version of 1.4 or greater is now required. Signed-off-by: Sivaramakrishnan Venkat Acked-by: Ciara Power --- v2: - Removed unused macro in ipsec_mb_ops.c - set_gcm_job() modified correctly to keep

[PATCH v2] doc: update guideline for fix commit messages

2024-01-30 Thread Sivaramakrishnan Venkat
Maintainers remove the Cc author line when merging the patch. So, the guidelines is updated with a suggestion for the placement of Cc lines in a commit message for easy merging. Signed-off-by: Sivaramakrishnan Venkat --- v2: - Samples updated to the desired format for the "Cc:" l

[PATCH v6 2/2] drivers/net: return number of types in get supported types

2024-01-25 Thread Sivaramakrishnan Venkat
Missing "RTE_PTYPE_UNKNOWN" ptype causes buffer overflow. Enhance code such that the dev_supported_ptypes_get() function pointer now returns the number of elements to eliminate the need for "RTE_PTYPE_UNKNOWN" as the last item. Signed-off-by: Sivaramakrishnan Venkat ---

[PATCH v6 1/2] drivers/net: fix buffer overflow for ptypes list

2024-01-25 Thread Sivaramakrishnan Venkat
and basic statistics") Fixes: 398a1be14168 ("net/thunderx: remove generic passX references") Signed-off-by: Sivaramakrishnan Venkat Reviewed-by: Ferruh Yigit --- Cc: pascal.ma...@6wind.com Cc: shreyansh.j...@nxp.com Cc: z...@semihalf.com Cc: t...@semihalf.com Cc: qin...@corigine.co

[PATCH v1] doc: update guideline for fix commit messages

2024-01-24 Thread Sivaramakrishnan Venkat
Maintainers remove the Cc author line when merging the patch. So, the guidelines is updated with a suggestion for the placement of Cc lines in a commit message for easy merging. Signed-off-by: Sivaramakrishnan Venkat --- doc/guides/contributing/patches.rst | 6 ++ 1 file changed, 6

[PATCH v1] crypto/ipsec_mb: upgrade IPsec Multi-buffer to 1.4

2024-01-19 Thread Sivaramakrishnan Venkat
SW PMDs do not support IPsec Multi-buffer version 1.3 and less. A minimum IPsec Multi-buffer version of 1.4 or greater is now required. Signed-off-by: Sivaramakrishnan Venkat --- drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 22 --- drivers/crypto/ipsec_mb/meson.build | 2 +- drivers

[PATCH v5 2/2] drivers/net: return number of types in get supported types

2024-01-18 Thread Sivaramakrishnan Venkat
Missing "RTE_PTYPE_UNKNOWN" ptype causes buffer overflow. Enhance code such that the dev_supported_ptypes_get() function pointer now returns the number of elements to eliminate the need for "RTE_PTYPE_UNKNOWN" as the last item. Signed-off-by: Sivaramakrishnan Venkat --

[PATCH v5 1/2] drivers/net: fix buffer overflow for ptypes list

2024-01-18 Thread Sivaramakrishnan Venkat
and basic statistics") Fixes: 398a1be14168 ("net/thunderx: remove generic passX references") Cc: pascal.ma...@6wind.com Cc: shreyansh.j...@nxp.com Cc: z...@semihalf.com Cc: t...@semihalf.com Cc: qin...@corigine.com Cc: g.si...@nxp.com Cc: jerin.ja...@caviumnetworks.com Cc: sta...@dpdk.

[dpdk-dev v4 2/2] net/tap: fix buffer overflow for ptypes list through driver API update

2024-01-04 Thread Sivaramakrishnan Venkat
stead, the dev_supported_ptypes_get() function pointer now returns the number of elements to eliminate the need for "RTE_PTYPE_UNKNOWN" as the last item. Fixes: 47909357a069 ("ethdev: make device operations struct private") Cc: ferruh.yi...@intel.com Cc: sta...@dpdk.org Signed-o

[dpdk-dev v4 1/2] net/tap: fix buffer overflow for ptypes list through updation of last element.

2024-01-04 Thread Sivaramakrishnan Venkat
@6wind.com Cc: z...@semihalf.com Cc: t...@semihalf.com Cc: jianfeng@intel.com Cc: g.si...@nxp.com Cc: jerin.ja...@caviumnetworks.com Cc: sta...@dpdk.org Signed-off-by: Sivaramakrishnan Venkat --- drivers/net/dpaa/dpaa_ethdev.c | 3 ++- drivers/net/mvneta/mvneta_ethdev.c | 3 ++- drivers/net/m

[dpdk-dev v4 2/2] net/tap: fix buffer overflow for ptypes list

2024-01-04 Thread Sivaramakrishnan Venkat
[PATCH 1] - net/tap: fix buffer overflow for ptypes list through updation of last element. The first patch is for drivers for backporting [PATCH 2] - net/tap: fix buffer overflow for ptypes list through through driver API update. The second patch is for drivers API update Sivaramakrishnan

[PATCH v4] [PATCH 2/2] net/tap: fix buffer overflow for ptypes list

2024-01-04 Thread Sivaramakrishnan Venkat
is for drivers for backporting. The second patch is for driver API update. Signed-off-by: Sivaramakrishnan Venkat --- drivers/net/atlantic/atl_ethdev.c | 13 - drivers/net/axgbe/axgbe_ethdev.c | 13 - drivers/net/bnxt/bnxt_ethdev.c | 7 ---

[PATCH v4] [PATCH 2/2] net/tap: fix buffer overflow for ptypes list

2024-01-04 Thread Sivaramakrishnan Venkat
is for drivers for backporting. The second patch is for driver API update. Signed-off-by: Sivaramakrishnan Venkat --- drivers/net/atlantic/atl_ethdev.c | 13 - drivers/net/axgbe/axgbe_ethdev.c | 13 - drivers/net/bnxt/bnxt_ethdev.c | 7 ---

[PATCH v3] ethdev: fix getting supported ptypes list

2023-12-21 Thread Sivaramakrishnan Venkat
on pointer to return number of elements and remove the need for RTE_PTYPE_UNKNOWN in list Signed-off-by: Sivaramakrishnan Venkat --- drivers/net/atlantic/atl_ethdev.c | 13 - drivers/net/axgbe/axgbe_ethdev.c | 13 - drivers/net/bnxt/bnxt_ethdev.c

[PATCH v2] net/tap: fix buffer overflow for ptypes list

2023-12-15 Thread Sivaramakrishnan Venkat
@6wind.com Cc: z...@semihalf.com Cc: t...@semihalf.com Cc: jianfeng@intel.com Cc: g.si...@nxp.com Cc: jerin.ja...@caviumnetworks.com Cc: sta...@dpdk.org Signed-off-by: Sivaramakrishnan Venkat -- V2: fix ptypes list buffer flow for other drivers --- drivers/net/dpaa/dpaa_ethdev.c | 3 ++- drivers

[PATCH v1] net/tap: fix buffer overflow for ptypes list

2023-12-12 Thread Sivaramakrishnan Venkat
NOWN" to detect last element of the ptypes array. Fix tap_dev_supported_ptypes_get() method to return correct lists. Fixes: 0849ac3b6122 ("net/tap: add packet type management") Cc: sta...@dpdk.org Signed-off-by: Sivaramakrishnan Venkat --- drivers/net/tap/rte_eth_tap.c | 1 + 1 file

[PATCH v2] crypto/qat: fix block cipher misalignment for AES CBC and 3DES CBC

2023-11-17 Thread Sivaramakrishnan Venkat
check cipher length alignment for 3DES CBC and AES CBC to change it to NULL service type for buffer misalignment. Fixes: def38073ac90 ("crypto/qat: check cipher buffer alignment") Cc: sta...@dpdk.org Signed-off-by: Sivaramakrishnan Venkat Acked-by: Kai Ji --- v2: Dropped new t

[PATCH v1] crypto/qat: skip SM3 HMAC on QAT when no SM3 slice exists

2023-11-13 Thread Sivaramakrishnan Venkat
Add check to skip SM3 HMAC on QAT when no SM3 slice exists Fixes: 171c655 ("crypto/qat: add SM3 HMAC to GEN4 devices") Cc: arkadiuszx.kusz...@intel.com Cc: sta...@dpdk.org Signed-off-by: Sivaramakrishnan Venkat --- drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 4 +++- 1 file

[PATCH v1] doc: support IPsec Multi-buffer lib v1.5

2023-11-10 Thread Sivaramakrishnan Venkat
Updated AESNI MB and AESNI GCM, KASUMI, ZUC, SNOW3G and CHACHA20_POLY1305 PMD documentation guides with information about the latest Intel IPsec Multi-buffer library supported. Signed-off-by: Sivaramakrishnan Venkat --- doc/guides/cryptodevs/aesni_gcm.rst | 6 +++--- doc/guides

[PATCH 2/2] test/crypto: add negative test cases for cipher buffer alignment

2023-11-06 Thread Sivaramakrishnan Venkat
add negative test cases for 3DES CBC and AES CBC cipher algorithms for buffer misalignment Signed-off-by: Sivaramakrishnan Venkat --- app/test/test_cryptodev.c | 321 - app/test/test_cryptodev_aes_test_vectors.h | 119 app/test

[PATCH 1/2] crypto/qat: fix block cipher misalignment for AES CBC and 3DES CBC

2023-11-06 Thread Sivaramakrishnan Venkat
/qat: check cipher buffer alignment") Cc: kai...@intel.com Cc: sta...@dpdk.org Signed-off-by: Sivaramakrishnan Venkat --- drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 35 +++- drivers/crypto/qat/dev/qat_sym_pmd_gen1.c| 12 +++ drivers/crypto/qat/qat_sym.h