From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raz Amir Subject: [PATCH] Restore support for virtio on FreeBSD Date: Wed, 8 Apr 2015 02:45:03 +0300 Message-ID: <1428450303-97954-1-git-send-email-razamir22@gmail.com> Cc: Raz Amir To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/eal/eal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 871d5f4..e20f915 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -426,7 +426,7 @@ rte_eal_iopl_init(void) fd = open("/dev/io", O_RDWR); if (fd < 0) return -1; - close(fd); + /* keep fd open for iopl */ return 0; } -- 2.1.2