Added a new fast path API to get the number of used crypto device queue pair depth at any given point.
An implementation in cnxk crypto driver is also added along with a test case in test app. The addition of new API causes an ABI warning. This is suppressed as the updated struct rte_crypto_fp_ops is an internal structure and not to be used by application directly. v2: fixed shared and clang build issues. Akhil Goyal (3): cryptodev: add API to get used queue pair depth crypto/cnxk: support queue pair depth API test/crypto: add QP depth used count case app/test/test_cryptodev.c | 117 +++++++++++++++++++++++ devtools/libabigail.abignore | 3 + drivers/crypto/cnxk/cn10k_cryptodev.c | 1 + drivers/crypto/cnxk/cn9k_cryptodev.c | 2 + drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 16 ++++ drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 2 + lib/cryptodev/cryptodev_pmd.c | 1 + lib/cryptodev/cryptodev_pmd.h | 2 + lib/cryptodev/cryptodev_trace_points.c | 3 + lib/cryptodev/rte_cryptodev.h | 45 +++++++++ lib/cryptodev/rte_cryptodev_core.h | 7 +- lib/cryptodev/rte_cryptodev_trace_fp.h | 7 ++ lib/cryptodev/version.map | 3 + 13 files changed, 208 insertions(+), 1 deletion(-) -- 2.25.1