[dpdk-dev] [PATCH v2 1/4] cryptodev: remove socket id check

Declan Doherty declan.doherty at intel.com
Thu Jun 22 13:27:39 CEST 2017


On 21/06/2017 6:07 AM, Pablo de Lara wrote:
> Socket id parsed from the user was checked
> if it was in the range of available sockets.
> This check is unnecessary, as the socket specified
> might not have memory anyway, so it will fail
> at memory allocation.
>
> Therefore, the best solution is to remove this check.
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> ---
>  lib/librte_cryptodev/rte_cryptodev.c | 22 ----------------------
...
>

Acked-by: Declan Doherty <declan.doherty at intel.com>


More information about the dev mailing list