[dpdk-dev] [PATCH v2 03/35] common/mlx5: add rte compatibility header file
Tal Shnaiderman
talshn at nvidia.com
Mon Dec 28 13:32:30 CET 2020
From: Ophir Munk <ophirmu at nvidia.com>
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>
Acked-by: Matan Azrad <matan at nvidia.com>
---
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/mlx5/mlx5_devx_cmds.h b/drivers/common/mlx5/mlx5_devx_cmds.h
index 8277fdbc39..b335b7c82c 100644
--- a/drivers/common/mlx5/mlx5_devx_cmds.h
+++ b/drivers/common/mlx5/mlx5_devx_cmds.h
@@ -7,6 +7,7 @@
#include "mlx5_glue.h"
#include "mlx5_prm.h"
+#include <rte_compat.h>
/*
* Defines the amount of retries to allocate the first UAR in the page.
--
2.16.1.windows.4
More information about the dev
mailing list