[dpdk-dev] [PATCH] net/vhost: remove include of numaif.h.

Rami Rosen rami.rosen at intel.com
Mon Feb 27 05:54:11 CET 2017


This patch revmoves include of the numaif.h header from rte_eth_vhost.c.
Commit 586e3 ("vhost: export numa node") moved
the invocation of get_mempolicy() from rte_eth_vhost.c to librte_vhost/virtio-net.c,
so there is no need to include the numaif.h header anymore in
drivers/net/vhost/rte_eth_vhost.c.

Signed-off-by: Rami Rosen <rami.rosen at intel.com>
---
 drivers/net/vhost/rte_eth_vhost.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c
index e98cffd..62ccb74 100644
--- a/drivers/net/vhost/rte_eth_vhost.c
+++ b/drivers/net/vhost/rte_eth_vhost.c
@@ -33,9 +33,6 @@
 #include <unistd.h>
 #include <pthread.h>
 #include <stdbool.h>
-#ifdef RTE_LIBRTE_VHOST_NUMA
-#include <numaif.h>
-#endif
 
 #include <rte_mbuf.h>
 #include <rte_ethdev.h>
-- 
2.9.3



More information about the dev mailing list