net/ice/base: rework on bit ops
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 25 Mar 2019 05:44:52 +0000 (13:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:31 +0000 (17:25 +0100)
commitc9e37832c95f05086c38b6ad5bd2dec0a03ea881
tree47c9036d8ef6785e7bfc87c2cac59a4067326ff8
parentbcb1f28386937de2574e551406fccec3630e5086
net/ice/base: rework on bit ops

Move all bit ops related functions from ice_osdep.h into ice_bitops.h.
Also remove the limitation that bitmap can only be 64 bits in
ice_set_bit and ice_clear_bit.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/base/ice_bitops.h [new file with mode: 0644]
drivers/net/ice/base/ice_osdep.h
drivers/net/ice/base/ice_type.h