a0f0de06d4
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>
14 lines
402 B
Meson
14 lines
402 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017-2019 Intel Corporation
|
|
|
|
use_function_versioning = true
|
|
sources = files('rte_cryptodev.c', 'rte_cryptodev_pmd.c', 'cryptodev_trace_points.c')
|
|
headers = files('rte_cryptodev.h',
|
|
'rte_cryptodev_pmd.h',
|
|
'rte_cryptodev_trace.h',
|
|
'rte_cryptodev_trace_fp.h',
|
|
'rte_crypto.h',
|
|
'rte_crypto_sym.h',
|
|
'rte_crypto_asym.h')
|
|
deps += ['kvargs', 'mbuf']
|