net/ice/base: fix bitmap and/or routines
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 23 Jul 2019 03:51:15 +0000 (11:51 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 24 Jul 2019 14:00:57 +0000 (16:00 +0200)
commit18af127cad1f6751a08924ae84fb9bac6c50433c
tree7df29e6179c3b2023bc26e0804e0ed03497e6844
parent06210a430c0d226eefe800372cc0f4a163da40ba
net/ice/base: fix bitmap and/or routines

There was an issue with ice_and_bitmap and ice_or_bitmap when
dealing with bit array sizes that are not even multiples of 32,
where some of relevant bits in the highest 32 bits were being
cleared. This patch fixes those problems.

Fixes: c9e37832c95f ("net/ice/base: rework on bit ops")
Cc: stable@dpdk.org
Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_bitops.h