From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH 0/2] fix virtio interrupt handling Date: Mon, 9 Mar 2015 15:56:37 +0100 Message-ID: <1425912999-13118-1-git-send-email-david.marchand@6wind.com> References: To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: 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" This patchset fixes a segfault in eal linux when using virtio pmd with link status change interrupts in place because of an incorrect io privilege level. Ouyang, Fixing this has revealed some problems to be fixed (for 2.0.0 at least for the first): - changing link status from qemu monitor triggers this error message (even if link status seems to be correctly set) testpmd> EAL: Error reading interrupts status for fd 0 - log macros in virtio pmd (especially for init) are still under a build option. They should be aligned on other pmds to make it easier to debug, see ixgbe pmd and/or thread: http://dpdk.org/ml/archives/dev/2014-September/005450.html Can you look at these ? Thanks. -- David Marchand David Marchand (2): eal/linux: move plugin load to very start of eal init virtio: change io privilege level as early as possible lib/librte_eal/linuxapp/eal/eal.c | 14 +++---- lib/librte_pmd_virtio/virtio_ethdev.c | 71 ++++++++++++++++++++------------- 2 files changed, 50 insertions(+), 35 deletions(-) -- 1.7.10.4