[dpdk-dev] [PATCH v1 41/72] common/mlx5: add rte compatibility header file
Ophir Munk
ophirmu at nvidia.com
Wed Oct 28 00:23:04 CET 2020
Add #include <rte_compat.h> to file mlx5_devx_cmds.h. It is required for
Windows to identify the __rte_internal definition.
Signed-off-by: Ophir Munk <ophirmu at nvidia.com>
---
drivers/common/mlx5/mlx5_devx_cmds.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/mlx5/mlx5_devx_cmds.h b/drivers/common/mlx5/mlx5_devx_cmds.h
index f3b2a7e..c972391 100644
--- a/drivers/common/mlx5/mlx5_devx_cmds.h
+++ b/drivers/common/mlx5/mlx5_devx_cmds.h
@@ -7,7 +7,7 @@
#include "mlx5_glue.h"
#include "mlx5_prm.h"
-
+#include <rte_compat.h>
/* This is limitation of libibverbs: in length variable type is u16. */
#define MLX5_DEVX_MAX_KLM_ENTRIES ((UINT16_MAX - \
--
2.8.4
More information about the dev
mailing list