[dpdk-dev] [PATCH] event/dpaa: fix integer overflow on max_event_ports at compile time
Sunil Kumar Kori
sunil.kori at nxp.com
Fri Apr 13 08:51:23 CEST 2018
> -----Original Message-----
> From: Gowrishankar [mailto:gowrishankar.m at linux.vnet.ibm.com]
> Sent: Friday, April 13, 2018 10:37 AM
> To: Sunil Kumar Kori <sunil.kori at nxp.com>; Shreyansh Jain
> <shreyansh.jain at nxp.com>
> Cc: Anatoly Burakov <anatoly.burakov at intel.com>; dev at dpdk.org; Thomas
> Monjalon <thomas at monjalon.net>; Gowrishankar Muthukrishnan
> <gowrishankar.m at linux.vnet.ibm.com>
> Subject: [PATCH] event/dpaa: fix integer overflow on max_event_ports at
> compile time
>
> From: Gowrishankar Muthukrishnan <gowrishankar.m at linux.vnet.ibm.com>
>
> dev_info->max_event_ports is uint8_t. dpaa_event_dev_info_get assigns
> DPAA_EVENT_MAX_EVENT_PORT (which is RTE_MAX_LCORE, upto 256 in
> ppc64le) into this variable, which breaks compile in ppc64le.
>
> Fixes: 9caac5dd1e ("event/dpaa: introduce PMD")
>
> Signed-off-by: Gowrishankar Muthukrishnan
> <gowrishankar.m at linux.vnet.ibm.com>
>
Acked-by: Sunil Kumar Kori <sunil.kori at nxp.com>
More information about the dev
mailing list