Thread (78 messages) 78 messages, 5 authors, 2021-01-08

[dpdk-dev] [PATCH 03/35] common/mlx5: add rte compatibility header file

From: Tal Shnaiderman <hidden>
Date: 2020-12-17 17:33:53
Subsystem: the rest · Maintainer: Linus Torvalds

From: Ophir Munk <redacted>

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 <redacted>
Acked-by: Matan Azrad <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help