numam-dpdk/drivers
Qi Zhang e48a4589b0 net/ice/base: convert array of u8 to bitmap
Previously the ice_add_prof function took an array of u8 and looped
over it with for_each_set_bit, examining each 8 bit value as a bitmap.

This was just hard to understand and unnecessary, and was triggering
undefined behavior sanitizers with unaligned accesses within bitmap
fields. Since the ptype being passed in was already declared as a
bitmap, refactor this to use native types with the advantage of
simplifying the code to use a single loop.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
2022-09-18 16:12:32 +02:00
..
baseband dev: hide driver object 2022-09-23 16:14:34 +02:00
bus bus/pci: fill bus specific information 2022-09-23 16:14:34 +02:00
common common/iavf: support flow subscription 2022-09-07 20:33:26 +02:00
compress dev: hide driver object 2022-09-23 16:14:34 +02:00
crypto crypto/openssl: fix HMAC output length 2022-09-27 18:20:35 +02:00
dma dev: hide driver object 2022-09-23 16:14:34 +02:00
event event/cnxk: update event vector Tx routine 2022-09-27 15:41:59 +02:00
gpu dev: hide driver object 2022-09-23 16:14:34 +02:00
mempool common/cnxk: reserve AURA zero on CN10KA NPA 2022-09-22 10:44:04 +02:00
net net/ice/base: convert array of u8 to bitmap 2022-09-18 16:12:32 +02:00
raw raw/ioat: remove deprecated driver 2022-09-28 14:41:07 +02:00
regex dev: hide driver object 2022-09-23 16:14:34 +02:00
vdpa bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
meson.build build: export drivers headers 2022-09-23 16:14:34 +02:00