[dpdk-dev] [PATCH] crypto/scheduler: fix 64-bit mask of workers cores

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue May 22 11:58:13 CEST 2018



> -----Original Message-----
> From: Rybalchenko, Kirill
> Sent: Monday, May 21, 2018 11:22 AM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Rybalchenko, Kirill <kirill.rybalchenko at intel.com>; Zhang,
> Roy Fan <roy.fan.zhang at intel.com>; Pattan, Reshma
> <reshma.pattan at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>
> Subject: [PATCH] crypto/scheduler: fix 64-bit mask of workers cores
> 
> The list of workers cores was represented by 64-bit bitmask.
> It doesn't work if system has cores with id higher than 63.
> This fix changes list of workers cores to array of uint16_t.
> The size of array equals to RTE_MAX_LCORE.
> 
> Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko at intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>


More information about the dev mailing list