DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rami Rosen <rami.rosen@intel.com>
To: dev@dpdk.org
Cc: Rami Rosen <rami.rosen@intel.com>
Subject: [dpdk-dev] [PATCH] net/vhost: remove include of numaif.h.
Date: Sun, 26 Feb 2017 23:54:11 -0500	[thread overview]
Message-ID: <20170227045411.20525-1-rami.rosen@intel.com> (raw)

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

             reply	other threads:[~2017-02-26 21:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27  4:54 Rami Rosen [this message]
2017-02-28  2:40 ` Yuanhan Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170227045411.20525-1-rami.rosen@intel.com \
    --to=rami.rosen@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).