[v2,0/3] cryptodev: add API to get used queue pair depth

Message ID 20240412115722.3709194-1-gakhil@marvell.com (mailing list archive)
Headers
Series cryptodev: add API to get used queue pair depth |

Message

Akhil Goyal April 12, 2024, 11:57 a.m. UTC
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(-)
  

Comments

Anoob Joseph May 29, 2024, 10:43 a.m. UTC | #1
> 
> 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.
> 

Series Acked-by: Anoob Joseph <anoobj@marvell.com>
  
Akhil Goyal May 30, 2024, 9:19 a.m. UTC | #2
> Subject: RE: [PATCH v2 0/3] cryptodev: add API to get used queue pair depth
> 
> >
> > 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.
> >
> 
> Series Acked-by: Anoob Joseph <anoobj@marvell.com>
> 
Applied to dpdk-next-crypto