X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fmlx5%2Fmlx5_common.h;h=306f2f1ab75a1f4f6bfc967e31a12db89373fad1;hb=d0cf77e8c2b64319057f5f629a7a595ce6e8b556;hp=20feea84d1362866b379290c6d42bbaab68ddc81;hpb=2d2546ad6b5ffe43fb9efeb92b606029b86af768;p=dpdk.git diff --git a/drivers/common/mlx5/mlx5_common.h b/drivers/common/mlx5/mlx5_common.h index 20feea84d1..306f2f1ab7 100644 --- a/drivers/common/mlx5/mlx5_common.h +++ b/drivers/common/mlx5/mlx5_common.h @@ -14,12 +14,14 @@ #include #include #include +#include #include "mlx5_prm.h" #include "mlx5_devx_cmds.h" +#include "mlx5_common_os.h" /* Reported driver name. */ -#define MLX5_DRIVER_NAME "mlx5_pci" +#define MLX5_PCI_DRIVER_NAME "mlx5_pci" /* Bit-field manipulation. */ #define BITFIELD_DECLARE(bf, type, size) \ @@ -206,8 +208,6 @@ __rte_internal int mlx5_get_ifname_sysfs(const char *ibdev_path, char *ifname); -#define MLX5_CLASS_ARG_NAME "class" - enum mlx5_class { MLX5_CLASS_INVALID, MLX5_CLASS_NET = RTE_BIT64(0),