[EXTERNAL] [PATCH v2] compressdev: update device ID validation check

Akhil Goyal gakhil at marvell.com
Fri Oct 17 10:59:07 CEST 2025


> From: Ashish Gupta <ashishg at marvell.com>
> 
> nb_devs is incremented / decremented each time a compressdev is
> created/released. However, releasing device 1 incorrectly make device
> N invalid and inaccessible. Similarly when first half of the devices
> are released, rest half of the devices become inaccessible. This patch
> updates the validation check to ensure correct behavior.
> 
> Signed-off-by: Ashish Gupta <ashishg at marvell.com>
> ---
Applied to dpdk-next-crypto


More information about the dev mailing list