From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6C0AC1B1B6 for ; Wed, 24 Jan 2018 16:38:29 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1F54F226A6; Wed, 24 Jan 2018 10:38:29 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:38:29 -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=fm1; bh=vc5/UKlPFkwSdF4K5 p37KrnO/I4P3AcvwB/ZONV0ghQ=; b=p7LbDsHedD75m8ErEGExCAccC4TdGvIWt rbOptqB6wUKWZBnCCeM4WKZK0Z1oyaMbCoaEpcZdjccBfRd0nf5yPplP3gZYX17Y dmRsMijm9W385+ygE52pH/a+YhXpPovbTyjhYBDkXIZDtkIDyKJfNYOVrBhccQ3u f+STf/nbs6Wu74JQpDBks9AShPaq+5XZTbQF+IVQY8ok3HSbwJi1PpdYl82yp0wP dlUg3ylMrLHCWS2QrZfAkMKSOxh/Ig2G3w0GLlZDOfvNXshnTCb3o1gjsgDNpdeV XArq5LTjE/9JgQxtThxLSDtMPMw/3rJPR/YABqnpijGUZgIq7+utQ== 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=vc5/UKlPFkwSdF4K5p37KrnO/I4P3AcvwB/ZONV0ghQ=; b=Hhm/98lg elynZq6TfonKKiaK5SSdcbU9+DNmupJT9RMzaEHYkw43SAyF3FSU+u5tI6f7x+vg foJopKGME7kHyp0gZpoSU0KMl3i1CcMQb+amUqXSfLcPfaXDJmNOKtCJ4dCqaP1Q 3OLZ4G4Gl8d+TONFHhq/N+B/pIl8H/SyGLemTKl9VidQ3/Vd5SAZR17v+gbiXMnh cMgfrr5Aijtioni+aZLIBQz+NGYqtmZALL1HliHKxnhgRfYfSH6GmabXmv5gEG6v 3eHOrXzeHY5xikXUpbEwmlgdZ/OGMRNUqjI3xs5b9DA1sXFBvSPDfDP2uKS4Z5Fc wfjkNILVYtIPOw== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 019A17E46B; Wed, 24 Jan 2018 10:38:26 -0500 (EST) From: Yuanhan Liu To: Wenzhuo Lu Cc: Wei Dai , dpdk stable Date: Wed, 24 Jan 2018 23:32:07 +0800 Message-Id: <1516808026-25523-59-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/ixgbe: fix wrong PBA setting' 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: Wed, 24 Jan 2018 15:38:29 -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 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 339d9668891d36bcda403ae624ea80409a1700bc Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Mon, 20 Nov 2017 11:37:45 +0800 Subject: [PATCH] net/ixgbe: fix wrong PBA setting [ upstream commit 6b75183ac4d08b34c476285f4650557aa3e38e19 ] The datasheet says, if using MSI-X mode, the PBA support bit of the GPIE register must be set to 1. DPDK uses polling mode, we cannot hit this issue in the scenario DPDK PF + DPDK VF. If we use DPDK PF + kernel VF, as the kernel driver uses interrpt mode, VF may hit RX hang after running hours. Fixes: 00e30184daa0 ("ixgbe: add PF support") Signed-off-by: Wenzhuo Lu Acked-by: Wei Dai --- drivers/net/ixgbe/ixgbe_pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c index 676e92c..0114694 100644 --- a/drivers/net/ixgbe/ixgbe_pf.c +++ b/drivers/net/ixgbe/ixgbe_pf.c @@ -273,7 +273,7 @@ int ixgbe_pf_host_configure(struct rte_eth_dev *eth_dev) gpie = IXGBE_READ_REG(hw, IXGBE_GPIE); gpie &= ~IXGBE_GPIE_VTMODE_MASK; - gpie |= IXGBE_GPIE_MSIX_MODE; + gpie |= IXGBE_GPIE_MSIX_MODE | IXGBE_GPIE_PBA_SUPPORT; switch (RTE_ETH_DEV_SRIOV(eth_dev).active) { case ETH_64_POOLS: -- 2.7.4