DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] common/mlx5: redefine Netlink include
@ 2020-02-02 15:59 Matan Azrad
  2020-02-03 11:42 ` Slava Ovsiienko
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Matan Azrad @ 2020-02-02 15:59 UTC (permalink / raw)
  To: Viacheslav Ovsiienko; +Cc: dev

The new RDMA-CORE versions may have the same sub-path to include the
linux Netlink header file.

It uses the pre-proccessor command #include_next what breaks the PMD gcc
compilation of common/mlx5_netlink.h file in debug mode.

Use specific include for linux/netlink.h to be taken from
/usr/include/linux.

Signed-off-by: Matan Azrad <matan@mellanox.com>
---
 drivers/common/mlx5/mlx5_nl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/mlx5/mlx5_nl.h b/drivers/common/mlx5/mlx5_nl.h
index 2c3f837..ebaa655 100644
--- a/drivers/common/mlx5/mlx5_nl.h
+++ b/drivers/common/mlx5/mlx5_nl.h
@@ -5,7 +5,7 @@
 #ifndef RTE_PMD_MLX5_NL_H_
 #define RTE_PMD_MLX5_NL_H_
 
-#include <linux/netlink.h>
+#include "/usr/include/linux/netlink.h"
 
 #include <rte_ether.h>
 
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-02-04  8:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-02 15:59 [dpdk-dev] [PATCH] common/mlx5: redefine Netlink include Matan Azrad
2020-02-03 11:42 ` Slava Ovsiienko
2020-02-03 12:23 ` Raslan Darawsheh
2020-02-03 14:24 ` Ferruh Yigit
2020-02-03 15:02   ` Matan Azrad
2020-02-03 16:51     ` Ferruh Yigit
2020-02-03 17:08       ` Matan Azrad
2020-02-04  8:59 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).