Skip to contentSkip to conversation

net/vhost: remove include of numaif.h.

PATCH Applied Rami Rosen 2 participants 2 messages Feb 26, 2017 – Feb 28, 2017 Network drivers

lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 net/vhost: remove include of numaif.h.

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.

---
 drivers/net/vhost/rte_eth_vhost.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/net/vhost/rte_eth_vhost.c +0 -3
index e98cffd..62ccb74 100644
@@ -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>
Signature · 1 line
2.9.3
Applied
#1 lore raw
Quoted 5 lines · Rami Rosen

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.

Applied to dpdk-next-virtio.

Thanks.

	--yliu