[EXTERNAL] [RFC] lib/cryptodev: update API documentation for aux_flags

Radu Nicolau radu.nicolau at intel.com
Fri Sep 12 16:01:28 CEST 2025


Hi Akhil,

Thanks for looking at this.

On 12-Sep-25 2:05 PM, Akhil Goyal wrote:
> Hi Radu,
>
>> Update the API documentation description of rte_crypto_op field
>> aux_flags as to allow PMDs to define driver-specific flags.
> Can you give examples of the flags that you want to add for driver specific work?
> I believe adding driver specific things here may not be good.
> May be we can discuss the specific flags and define them as common for all PMDs.

The flags we have in mind are very PMD specific i.e. controlling 
specific hardware behavior so they will not be suitable to be added to 
the common flags.

Seeing that aux_flags are not that strongly defined and seeing that they 
are already potentially used for PMD specific values my reasoning was to 
formalize this possibility of usage

aux_flags are used here to potentially carry a value that is not covered 
in the common API aux_flags definitions:

https://git.dpdk.org/dpdk/tree/drivers/crypto/cnxk/cn20k_cryptodev_ops.c#n857


Regards,

Radu



More information about the dev mailing list