[dpdk-dev] net/vhost: remove include of numaif.h.
Checks
Commit Message
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(-)
Comments
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
@@ -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>