[dpdk-dev] [PATCH v2] hash: fix breaking strict-aliasing rules
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Thu Mar 26 18:47:59 CET 2015
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yerden
> Zhumabekov
> Sent: Tuesday, March 24, 2015 1:32 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2] hash: fix breaking strict-aliasing rules
>
> Fix rte_hash_crc() function by making use of uintptr_t variable
> to hold a pointer to data being hashed. In this way, casting uint64_t
> pointer to uint32_t avoided.
>
> Signed-off-by: Yerden Zhumabekov <e_zhumabekov at sts.kz>
Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
More information about the dev
mailing list