From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id E15822C57 for ; Thu, 1 Feb 2018 10:49:20 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 99E6C20C1F; Thu, 1 Feb 2018 04:49:20 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 01 Feb 2018 04:49:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=tFIFfyhTUFnWbc+Di 9j8m9vvWeZzOY12emgYom26mBQ=; b=uQy/AcOSiFmgMempUtlJkr4v91WB8Iv0Q eIrdW35S2cHDMVn4llzz085XlD3KwamnLHZ2L8w4YWlgMVd8CfI42PpFRG8ZI/bY wsn2L9qGWGLKaDoE3ivwjp3ohVqoXtCFjxZHknGK/DlwLC1jyKut3Kymj2jtOghP NsoZWzS2hjz+rY4/HJGMkFZ8jnswwtKLvquZYS4nGdl1uHlChtub05L6IkVb1sAF 16dOComCHo3euF18BrabSfpy1CR0vjOym8WH3pRZsc7UzESiGiaUGTvbSAD3ORke BWNqy3g+ulLvVU302qSjCIheMlyVj6Ae3JGQozsNXfRpPv5YuUAFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=tFIFfyhTUFnWbc+Di9j8m9vvWeZzOY12emgYom26mBQ=; b=a4/yGv2o yrLlra6Ml2ge8Nj1/O48v+CSBZ1yzuXM6dwbwDyI8vCJOJWXKbP77ESkYyrlCW+x OCh39gXToey7LLh/zWTmiatNaflAkhZS8107qpdJT0TnJ/Ts34UxvqUzt3x/GisQ rPlz1vvcKBXlby9jjCLOHaS6Py5zPXpi6kMA2VLn44UmJxjFOtX5O8RSYscLS7/3 eqMZOuw0HRP1BDIRQZsFKAaqGs4AhS8o0Nj5eMmh04KFZbMzDRmSqvsG8wXd3SsB 5mlwS1jX6NkBKeYY0DA2qR15pUfBXO0O8FrF84rGn85iG+1XvH8wax/R8SxvpL9H JY6bKL+ETBpFPA== X-ME-Sender: Received: from yliu-mob.mtl.com (unknown [115.150.27.200]) by mail.messagingengine.com (Postfix) with ESMTPA id C7DAB245F1; Thu, 1 Feb 2018 04:49:18 -0500 (EST) From: Yuanhan Liu To: Wenzhuo Lu Cc: Helin Zhang , Beilei Xing , dpdk stable Date: Thu, 1 Feb 2018 17:47:42 +0800 Message-Id: <1517478479-12417-28-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> References: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/ixgbe: fix VF Rx interrupt enabling' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 09:49:21 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/03/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 1e3e479cae8d525c7181aa91080bcbf5d68c6cfa Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Wed, 24 Jan 2018 16:16:51 +0800 Subject: [PATCH] net/ixgbe: fix VF Rx interrupt enabling [ upstream commit 8d1f13f96ce3cb4167244f928f6cb9574f561560 ] When using UIO, after enabling the interrupt to get the PF message, VF RX queue interrupt is not working. It's expected, as UIO doesn't support multiple interrupt. So, PMD should not try to enable RX queue interrupt. Then APP can know the RX queue interrupt is not enabled and only choose the polling mode. Fixes: 77234603fba0 ("net/ixgbe: support VF mailbox interrupt for link up/down") Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang Acked-by: Beilei Xing --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 9c09610..1f3a60b 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -5059,7 +5059,8 @@ ixgbevf_dev_start(struct rte_eth_dev *dev) ixgbevf_dev_rxtx_start(dev); /* check and configure queue intr-vector mapping */ - if (dev->data->dev_conf.intr_conf.rxq != 0) { + if (rte_intr_cap_multiple(intr_handle) && + dev->data->dev_conf.intr_conf.rxq) { /* According to datasheet, only vector 0/1/2 can be used, * now only one vector is used for Rx queue */ -- 2.7.4