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 A102A2D13 for ; Thu, 1 Feb 2018 10:49:18 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5AA852076C; Thu, 1 Feb 2018 04:49:18 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 01 Feb 2018 04:49:18 -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=fsGNqPkYii3Dp63IL 1m5nKbYlTr52JtLEH4FSEMr2C0=; b=KHg6JG+/o4ydq735HbYJZUps1JbBcHNoe NCrp8fXe+vDmWI50GyClLn5fobP0otFgBvo8866TRQL350mj03RzNU1VXh803tZu wYZP98WDgM+uWuHYC7+QaoEKp0sJyeTsajtepf2Uhl0R8K0ajsOKz8fb+y1q5PoB uzOD9sON4BNW1LC0OOZ2H4rzgl82lTAOp/sG7xyAF1Rw8hGBTiR1xJDC0iyz0Goi JBXkU5Xy6uht6BijPg8/ec5fJWk1jpjllITqipjQvAlSlbfmvQgSN5dA6RswH2aZ re2JuC7cey0W5AEndWGVF93PwyU5Oc9IAjAsnXnSIr78Y8pL8chBw== 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=fsGNqPkYii3Dp63IL1m5nKbYlTr52JtLEH4FSEMr2C0=; b=hogrNi2o 6SN/+PCe7TgI8hoDmhv1skWyBpS2fY+hT6sOxuywkyFhLEf+SiZCFQxD1WURg7Ef vtpBqx7JJUMRhIQDy3JJdsOgO0hXMFyuKx4KaP1ZZItOjgL4p1iGxujjEYDI74cN /zJ5Lk0gEOHKMyNCpkhZdnJhZJ7X2eOOzglX6JhTPaBiI52ixH6Nu6eV1DWXC1Gw hyxrdzKH1amRkCKOSrcNTVMQ9BxEVLenMr3JRwWVmYa9y2eWEW9JXGoqr+oriJxf nwez7rJKpSTfxEfnCm+7OAIJBdwdlklj4gBEWd9spwQZxHTCXuzVHFfDuFfYS4U6 g7F2SaejNNJfAg== X-ME-Sender: Received: from yliu-mob.mtl.com (unknown [115.150.27.200]) by mail.messagingengine.com (Postfix) with ESMTPA id 82D59240B6; Thu, 1 Feb 2018 04:49:15 -0500 (EST) From: Yuanhan Liu To: Wenzhuo Lu Cc: Helin Zhang , Beilei Xing , dpdk stable Date: Thu, 1 Feb 2018 17:47:41 +0800 Message-Id: <1517478479-12417-27-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/i40e: 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:18 -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 0b09a235f0961e4bc2a258b893ccb2339bf68bb8 Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Wed, 24 Jan 2018 16:16:50 +0800 Subject: [PATCH] net/i40e: fix VF Rx interrupt enabling [ upstream commit 4ae1d081fb75e045e0c6b9e774647056715cd204 ] 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: ae19955e7c86 ("i40evf: support reporting PF reset") Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang Acked-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev_vf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 6160e2f..2d71d7c 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -2005,7 +2005,8 @@ i40evf_dev_start(struct rte_eth_dev *dev) dev->data->nb_tx_queues); /* 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) { intr_vector = dev->data->nb_rx_queues; if (rte_intr_efd_enable(intr_handle, intr_vector)) return -1; -- 2.7.4