From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by dpdk.org (Postfix) with ESMTP id CE8486A87 for ; Mon, 9 Mar 2015 15:56:42 +0100 (CET) Received: by wesq59 with SMTP id q59so18601746wes.9 for ; Mon, 09 Mar 2015 07:56:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nSa4hncWN44hYTrzIHI43wqfJpUZETnyQeDSyMw0lyU=; b=GPlFrIHu9Tsnqp214ZRBdiW80a96bbfE0ExS7mQqAarXzAyt2/zKqEBO3jNQ4JgdG/ R5NsA4yG7c03QSug00EYn5/mwEDrsrvaQB9mYsyl++LVhjjGSLRopWyHsx3jEf0uGIwI 4jbrWOVcAojY2Vf8oomCewQHMf5I0bkTaoKp2hvXEmtFavwgur6kt/qoSjOapLsJh/WB IbmhCh/jnqLxhIr20wOAVDeRnzT4IAKJpVWfMtWVPuBqPj8s9JsjaZLgiUQwGWViAkJS FvpUKC5aEh2VNY6uBMyq7K0pGNR2ytQtHKjuty9/1bQPqAthND34ftpu2uT0A5ghjNg2 TLJA== X-Gm-Message-State: ALoCoQlVY773D7eHzbom/mnLXLqjQFimUh59xTnLHS4Gmq1PG+e7zGkuSAJS4Ux8sc79q3CaGTia X-Received: by 10.194.95.4 with SMTP id dg4mr19976305wjb.81.1425913002552; Mon, 09 Mar 2015 07:56:42 -0700 (PDT) Received: from alcyon.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id vq9sm26984115wjc.6.2015.03.09.07.56.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2015 07:56:41 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Mon, 9 Mar 2015 15:56:37 +0100 Message-Id: <1425912999-13118-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: Subject: [dpdk-dev] [PATCH 0/2] fix virtio interrupt handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2015 14:56:43 -0000 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