numam-dpdk/drivers/common
Tal Shnaiderman 5a90a6e40d common/mlx5: fix pointer cast on Windows
While compiling with clang 11 the callers of the
__mlx5_bit_off macro warns on the cast of pointers to
unsigned long which is a smaller int type in Windows.

warning: cast to smaller integer type 'unsigned long'
from 'u8 (*)[16]' [-Wpointer-to-int-cast]

To resolve it the type is changed to uintptr_t to be
compatible for both Linux and Windows.

Fixes: 865a0c1567 ("net/mlx5: add Direct Verbs prepare function")
Cc: stable@dpdk.org

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-01-14 10:12:37 +01:00
..
cpt common/cpt: remove redundant structure 2020-11-12 21:47:42 +01:00
dpaax build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
iavf common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
mlx5 common/mlx5: fix pointer cast on Windows 2021-01-14 10:12:37 +01:00
mvep build: update meson for Marvell Armada drivers 2021-01-08 16:03:05 +01:00
octeontx build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
octeontx2 net/octeontx2: support 24B custom L2 header parsing 2021-01-13 19:39:08 +01:00
qat common/qat: add missing kmod dependency info 2020-11-02 09:24:41 +01:00
sfc_efx common/sfc_efx/base: check for MAE privilege 2021-01-08 16:03:05 +01:00
meson.build build: standardize component names and defines 2020-10-19 22:15:34 +02:00