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 407604D3A for ; Thu, 1 Feb 2018 10:49:23 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EDAE920B13; Thu, 1 Feb 2018 04:49:22 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 01 Feb 2018 04:49:22 -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=0T7x4f/CwE3pp+T7U eZi8drhOgNw4VALWW8FsRChmgE=; b=Rnp7HD3Z7ULZBSICtpuAk3EClZ2CxB2yi v7Q41UlSVOuHW4C/z0Njyf3/hMai5XxeVeK2CKdhad5KLakSqYJI1pd10m15YW+W H5PWn+135wvd52ZV/mZAJRi/4uZMNKEPAuzCfY/pu//2G0zr2onCJkRmYv7dVIsi wCTzQTmmAT76Qrw/qnNvLWrw8ne4Q4K7/kXb43561gS0znVISCWkBht1Atb7mJ7s CcIz5/c60bzG1713xY38LagXRLHQDnZEw9CH4pnrJXaq4nSR09TR5Q/tk1evvVhk DraBXLtn88zMvrRvkUWec38dYmXG7OZg8uaBaaMSb+1VQGQqj5XRQ== 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=0T7x4f/CwE3pp+T7UeZi8drhOgNw4VALWW8FsRChmgE=; b=i979tf/n maxAYR+7CJNqEO58cubY+pwk+oh0BR6v0YOK4Xa2AOg8bNlYDcTnbcbUnHUEmhmf fxw98jBaZRBM/vCL8ow+W84awz4dwptczmBEacIiVgpGs19QOD2v9ypS4CA6rFXh NohViQ9VfLrLCXzggYtbmylNSBFrYtCjFpTccz7fGpgUZfE1XtSjNWEIpy5FjOKZ mT5jrmdxUEQP9jj5MYdID0QqfstoFH1BdbGZblrSmMx9vP6Brme1tQvr7lED9X9c QPECTWqTOjF1O/42+UbjdXElrNpamgmpp+g8iEfrWaLlKVkmLdYcvVlbkBRF/MJO h6nidyGAMuT2zg== X-ME-Sender: Received: from yliu-mob.mtl.com (unknown [115.150.27.200]) by mail.messagingengine.com (Postfix) with ESMTPA id 1318A240B6; Thu, 1 Feb 2018 04:49:20 -0500 (EST) From: Yuanhan Liu To: Wenzhuo Lu Cc: Helin Zhang , Beilei Xing , dpdk stable Date: Thu, 1 Feb 2018 17:47:43 +0800 Message-Id: <1517478479-12417-29-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/e1000: 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:23 -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 8208b72f3056d95298fb7fa9504ed34903f88576 Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Wed, 24 Jan 2018 16:16:52 +0800 Subject: [PATCH] net/e1000: fix VF Rx interrupt enabling [ upstream commit 61c1f1b7910711922d2c66c9e722d7f1f08eb663 ] 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: 316f4f1adc2e ("net/igb: support VF mailbox interrupt for link up/down") Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang Acked-by: Beilei Xing --- drivers/net/e1000/igb_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index c783019..79d0244 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -3300,7 +3300,8 @@ igbvf_dev_start(struct rte_eth_dev *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) { intr_vector = dev->data->nb_rx_queues; ret = rte_intr_efd_enable(intr_handle, intr_vector); if (ret) -- 2.7.4