ethdev: better typing of RSS constants
authorHelin Zhang <helin.zhang@intel.com>
Mon, 20 Oct 2014 02:58:16 +0000 (10:58 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Oct 2014 21:51:05 +0000 (23:51 +0200)
commit0434614c53e3c1acd7a82152d7ef8b57ac742fba
tree29748ace45664aa4243544005d183ec1aaf745a9
parent46bf72f97b40477ff9a55cbf367b6693c1e360a0
ethdev: better typing of RSS constants

Forced type conversion is not needed to define a macro with
constant. The alternate is to let compiler use the default width,
or specify the width with suffix of 'U', 'UL', 'ULL', etc.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
lib/librte_ether/rte_ethdev.h