i40e/base: use bit shift macros
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:31 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:22 +0000 (01:35 +0200)
commitbd6651c2d2d7c66fd4c50079598eef44e2949012
treef642db35807aa55e5bd2f37680f03c14e0699b42
parent1e32378f0774c51461ad2dd4c73fc65817eadab2
i40e/base: use bit shift macros

Use macros for abstracting (1 << foo) to BIT(foo)
and (1ULL << foo64) to BIT_ULL(foo64) in order to match
better with linux kernel requirements.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_dcb.h
drivers/net/i40e/base/i40e_diag.c
drivers/net/i40e/base/i40e_hmc.h
drivers/net/i40e/base/i40e_lan_hmc.c
drivers/net/i40e/base/i40e_nvm.c
drivers/net/i40e/base/i40e_type.h