net/vhost: remove include of numaif.h.
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.
Signed-off-by Rami Rosen <[email protected]>
--- drivers/net/vhost/rte_eth_vhost.c | 3 --- 1 file changed, 3 deletions(-)
drivers/net/vhost/rte_eth_vhost.c +0 -3
@@ -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
Yuanhan Liu
AppliedQuoted 5 lines · Rami Rosen
This patch revmoves include of the
numaif.hheader fromrte_eth_vhost.c. Commit 586e3 ("vhost: export numa node") moved
the invocation ofget_mempolicy()fromrte_eth_vhost.ctolibrte_vhost/virtio-net.c, so there is no need to include thenumaif.hheader anymore indrivers/net/vhost/rte_eth_vhost.c.
Applied to dpdk-next-virtio.
Thanks.
--yliu