[dpdk-dev] [PATCH] efd: change data type of parameter

Mcnamara, John john.mcnamara at intel.com
Mon Sep 13 20:18:59 CEST 2021



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Pablo de Lara
> Sent: Friday, September 10, 2021 5:54 PM
> To: Wang, Yipeng1 <yipeng1.wang at intel.com>; Marohn, Byron
> <byron.marohn at intel.com>
> Cc: dev at dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Subject: [dpdk-dev] [PATCH] efd: change data type of parameter
> 
> rte_efd_create() function was using uint8_t for a socket bitmask, for one
> of its parameters.
> This limits the maximum of NUMA sockets to be 8.
> Changing to to uint64_t increases it to 64, which should be more future-
> proof.
> 
> Coverity issue: 366390
> Fixes: 56b6ef874f8 ("efd: new Elastic Flow Distributor library")
> 


As noted in the commit message this change is required to fix Coverity defect 366390. 

https://scan4.coverity.com/reports.htm#v34998/p10075/fileInstanceId=107231002&defectInstanceId=14260754&mergedDefectId=366390


Acked-by: John McNamara <john.mcnamara at intel.com>


More information about the dev mailing list