* [dpdk-dev] [PATCH] net/vhost: remove include of numaif.h.
@ 2017-02-27 4:54 Rami Rosen
2017-02-28 2:40 ` Yuanhan Liu
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2017-02-27 4:54 UTC (permalink / raw)
To: dev; +Cc: 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.
Signed-off-by: Rami Rosen <rami.rosen@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/vhost: remove include of numaif.h.
2017-02-27 4:54 [dpdk-dev] [PATCH] net/vhost: remove include of numaif.h Rami Rosen
@ 2017-02-28 2:40 ` Yuanhan Liu
0 siblings, 0 replies; 2+ messages in thread
From: Yuanhan Liu @ 2017-02-28 2:40 UTC (permalink / raw)
To: Rami Rosen; +Cc: dev
On Sun, Feb 26, 2017 at 11:54:11PM -0500, Rami Rosen wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-28 2:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27 4:54 [dpdk-dev] [PATCH] net/vhost: remove include of numaif.h Rami Rosen
2017-02-28 2:40 ` Yuanhan Liu
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).