numam-dpdk/devtools
Arek Kusztal a0f0de06d4 cryptodev: fix ABI compatibility for ChaCha20-Poly1305
This patch adds versioned function rte_cryptodev_info_get()
to prevent some issues with ABI policy.
Node v21 works in same way as before, returning driver capabilities
directly to the API caller. These capabilities may include new elements
not part of the v20 ABI.
Node v20 function maintains compatibility with v20 ABI releases
by stripping out elements not supported in v20 ABI. Because
rte_cryptodev_info_get is called by other API functions,
rte_cryptodev_sym_capability_get function is versioned the same way.

Fixes: b922dbd38c ("cryptodev: add ChaCha20-Poly1305 AEAD algorithm")

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2020-05-11 13:17:43 +02:00
..
cocci devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
build-tags.sh eal: move arch-specific header files 2020-03-31 13:08:55 +02:00
check-abi-version.sh devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
check-abi.sh devtools: skip experimental libraries in ABI check 2020-02-21 17:44:02 +01:00
check-dup-includes.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
check-forbidden-tokens.awk devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
check-git-log.sh devtools: export dictionary for commit title check 2020-02-25 21:24:31 +01:00
check-includes.sh eal: remove exec-env directory 2019-04-02 21:49:35 +02:00
check-maintainers.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
check-symbol-change.sh devtools: ignore internal ABI check 2020-04-25 17:01:01 +02:00
check-symbol-maps.sh devtools: fix tracepoint symbols check 2020-04-24 15:04:25 +02:00
checkpatches.sh eal: add internal ABI tag definition 2020-04-25 17:01:00 +02:00
cocci.sh fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
gen-abi.sh devtools: add ABI checks 2020-02-05 15:14:46 +01:00
get-maintainer.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
git-log-fixes.sh devtools: add fixes flag to commit listing 2020-02-25 17:24:49 +01:00
libabigail.abignore cryptodev: fix ABI compatibility for ChaCha20-Poly1305 2020-05-11 13:17:43 +02:00
load-devel-config devtools: add SPDX license tag to config loader 2020-02-22 15:17:03 +01:00
test-build.sh devtools: skip ABI check in static builds 2020-04-21 11:17:42 +02:00
test-meson-builds.sh devtools: reduce examples in static builds 2020-04-21 11:17:38 +02:00
test-null.sh devtools: add path to additional shared object files 2020-01-14 09:45:23 +01:00
update_version_map_abi.py devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
update-abi.sh devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
validate-abi.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
words-case.txt devtools: add acronyms in dictionary for commit checks 2020-03-06 19:52:35 +01:00