[dpdk-dev] [PATCH 4/7] ethdev: fix of calculating the size of flow type mask array

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Feb 2 16:31:17 CET 2015


Hi Helin,

2015-01-19 14:56, Helin Zhang:
> +#define UINT32_BIT (CHAR_BIT * sizeof(uint32_t))

I don't understand how UINT32_BIT is better than a simple sizeof(uint32_t)?

-- 
Thomas


More information about the dev mailing list