From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 12A8E1B38C for ; Mon, 13 Nov 2017 15:49:46 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id v186so6813466wma.2 for ; Mon, 13 Nov 2017 06:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=giKUduV9vW9T1UPBFHc+3LvXPSCMtU3Jv8F5diyOiH8=; b=P74btWulD0ATY9GaM722IkOD2NqsDLeRZxw9IIGDUn6DWqJc18o+mFT2RRDekYE3Ks HvXm7+zaSuBuquJWFydp91Z44xBRQBbb/bSdCKGEfwyJHzhTluaeqr4/a9NemGjZyXZ1 +PiecIrk+NfWIL+Tb6v9ChVNCRlH0sHgkhanZ/vFMV5/ZGF6I+I68VH4+d8rJ1gDVCYf YO6rwWEVL6rUJYCO8B/SMDGuuUibgsxnz+S1nW12LuFDxIMj8nl8si5sHN8zqQrOdS9j N9pyAJRQGst/1Jv+qNBPL+nJb7PCRv6cha12EsgqWSwk6jVHlXx4D94pHdz13zxevM9l 8lUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=giKUduV9vW9T1UPBFHc+3LvXPSCMtU3Jv8F5diyOiH8=; b=b8aTbAAze9IshiyZVUm8An7LnM521jVH9jLMh4rxtpVTPpScH9lV+qWouCTfDxZS8l ej366kVPsCNKlFXFU7ZmCoTKyQOD6C8ne9FJwA1tdnbyloyRJDiWWk/EXuAFz1gSRpDC O17BqywfSJWkHGHhtV/uU19xDhV+FYIaYrgmqRQh0zhJDEdZ/lci6/W0gjWi+oXoq0V8 vOAe4oYIj32nf9iS4vnN+fDjB0tK76nyLbGH7PHjzqSKIYJ3mHabqXhk2kgz4oTMTLCB VqUTZxsul2pUr67VcRwLKLtkrTQZEHYn6ycnsROucMOtERYEguK4Q26qCPvJlAjn+wY+ HnPg== X-Gm-Message-State: AJaThX6dTHl4QUjdPHkrBb2KCkB+h+Yvq+wp6TYf+Q5CsfbHu/sUA44l JE1Fiy0cM0gCV1e4VbP40ww= X-Google-Smtp-Source: AGs4zMacMG+PYhbERJhnRwxANzy7i6vaYXbV5KdjJ76LS9LuScfd2EVNaOCKqMWYlzzhilpYnXzZ0w== X-Received: by 10.28.52.193 with SMTP id b184mr7311875wma.13.1510584586411; Mon, 13 Nov 2017 06:49:46 -0800 (PST) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id 19sm11692114wmn.15.2017.11.13.06.49.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Nov 2017 06:49:44 -0800 (PST) From: luca.boccassi@gmail.com To: Xiaoyun Li Cc: Beilei Xing , dpdk stable Date: Mon, 13 Nov 2017 14:49:32 +0000 Message-Id: <20171113144938.30993-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171110161000.15369-16-luca.boccassi@gmail.com> References: <20171110161000.15369-16-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/i40e: fix VF cannot forward packets issue' has been queued to LTS release 16.11.4 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: Mon, 13 Nov 2017 14:49:47 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/15/17. So please shout if anyone has objections. Thanks. Kind regards, Luca Boccassi --- >>From a26b1740b553cb9d56f96cdd5f6ddae671ff915b Mon Sep 17 00:00:00 2001 From: Xiaoyun Li Date: Thu, 9 Nov 2017 14:30:14 +0800 Subject: [PATCH] net/i40e: fix VF cannot forward packets issue [ upstream commit 79f47fc1b7b987b62b1a794f012d5a0253c8b17b ] When Rx interrupt is not enabled, there is no need to check if interrupt allow others. It will cause VF cannot forwarding packets issue. This patch fixes this issue. Fixes: 96a9fd03c25f ("net/i40e: fix Rx queue interrupt mapping in VF") Signed-off-by: Xiaoyun Li 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 2b533bade..1686914a1 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -722,7 +722,8 @@ i40evf_config_irq_map(struct rte_eth_dev *dev) uint32_t vector_id; int i, err; - if (rte_intr_allow_others(intr_handle)) { + if (dev->data->dev_conf.intr_conf.rxq != 0 && + rte_intr_allow_others(intr_handle)) { if (vf->version_major == I40E_DPDK_VERSION_MAJOR) vector_id = I40EVF_VSI_DEFAULT_MSIX_INTR; else -- 2.11.0