[EXTERNAL] [PATCH] crypto/dpaa2_sec: use bus device name

Akhil Goyal gakhil at marvell.com
Tue Feb 10 13:39:02 CET 2026


> dpaa2_sec_dev_init() sets the crypto device name again after
> it has been set by rte_cryptodev_pmd_create/allocate().
> Overwritting its value could end up as a bug if the cryptodev
> library changes the way it calls cryptodev objects.
> 
> Besides, there is no need to generate a name for the crypto device
> different than the bus device, as there is a 1:1 relation between
> those objects.
> 
> Reuse the bus device name directly, iow: dpseci.XXX instead of dpsec-XXX.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
Applied to dpdk-next-crypto
Thanks.


More information about the dev mailing list