From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AFB30A04F3 for ; Thu, 19 Dec 2019 15:35:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A61161BE8A; Thu, 19 Dec 2019 15:35:27 +0100 (CET) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id 6DC441BF78 for ; Thu, 19 Dec 2019 15:35:26 +0100 (CET) Received: by mail-wm1-f65.google.com with SMTP id f4so7179560wmj.1 for ; Thu, 19 Dec 2019 06:35:26 -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 :mime-version:content-transfer-encoding; bh=NG0lxti1GuRE/nIuPtD+OHrZpn9nxeNIjuaAMYdtT9c=; b=I5CrnOn+uJvHPkAzcRa51/85HzujxzaT0tpjhi4mjP/6f0d/r72y0l3eegl512wABo 0DIKmITvmpoUoJWd/Zd03Lw8Hr7GRs2Vffut0TlYaSRDKIl4BDes28zbvPxlBrDCBYwo gwSKVngimSQ0hm2qX84rBRmWHSZlzUn/1VCO6Gbx+YF30Izn+M/CAoK+hGJTCAYNKpez w4cAz690QDQkHWodpZLpZ8F7FEcEvuj+AhaWFkb+kH/jHHXeK32Wpyeaw3Y3q5VJiTTv ZV6o5Dn1vvYiPVyVhdnwK2TlalprKh1oSpGkelI2TNgz6eJD5sFvSnyjmx/fNpqW5caF JNgA== 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:mime-version:content-transfer-encoding; bh=NG0lxti1GuRE/nIuPtD+OHrZpn9nxeNIjuaAMYdtT9c=; b=HwE1G3/cfs8rHoon7DmJpMY1FQKiJINtF4wwbtOSRc8GG4I5S3ODLZYKNmBfrZjYEb 62gIj08KnwF/wqgfzTyztSejOPecUUyvOkJvpSa6rsCiIQybqgI6uEwmuTfN9V++Rrcg pEXBPbM+9bXo7otAcyBhxemf8Tu13MhcEkOxDpeXGrX2Lsb07bC8sOkmrLh/EsZ/Zo7S jUQfaLLCFy8ndzUrxU+hfmi/+H2puI3XECfrGRQAEMqSIO8Q2MfrJKA0HcyunQbLgOJm CnYL2KvJJ0wIcvWqm7jSznNEhEsWKAPH1f+PARYK884lZdtyaWJhf7v+9Q4tWtKvhil/ QhrQ== X-Gm-Message-State: APjAAAU4ijT7Iwtbt4mdJiVn6uENS46LapA2aM/rZX6yk31NeSsoYovn iDsniYVMBnK+JzajSR9gh+o= X-Google-Smtp-Source: APXvYqwHgsf79OXO5L93KAK3q1JcfZU1mUSDhfPpnbGRbEP222tEcwZ3cyTwY+s7jD7g/MxyCV3sHw== X-Received: by 2002:a1c:c919:: with SMTP id f25mr10218228wmb.49.1576766126108; Thu, 19 Dec 2019 06:35:26 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id z21sm6427433wml.5.2019.12.19.06.35.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 06:35:25 -0800 (PST) From: luca.boccassi@gmail.com To: Junyu Jiang Cc: Qiming Yang , dpdk stable Date: Thu, 19 Dec 2019 14:32:39 +0000 Message-Id: <20191219143447.21506-12-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191219143447.21506-1-luca.boccassi@gmail.com> References: <20191219143447.21506-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ixgbe: fix queue interrupt for X552/557' has been queued to LTS release 17.11.10 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 17.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/21/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 8db1d443af955f93d3d10f59ad1b25f3dee8b97c Mon Sep 17 00:00:00 2001 From: Junyu Jiang Date: Wed, 4 Sep 2019 03:31:47 +0000 Subject: [PATCH] net/ixgbe: fix queue interrupt for X552/557 [ upstream commit f26f416d4c3ac8b77cd8dd84f72628b37fec7283 ] Interrupt mode is not working on X552/557 device because this device doesn't enable the queue interrupt mapping, this patch fixed the issue. Fixes: d2e72774e58c ("ixgbe/base: support X550") Signed-off-by: Junyu Jiang Acked-by: Qiming Yang --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index fef2270596..252c2bffc0 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -5795,7 +5795,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction, IXGBE_WRITE_REG(hw, IXGBE_IVAR(idx), tmp); } else if ((hw->mac.type == ixgbe_mac_82599EB) || (hw->mac.type == ixgbe_mac_X540) || - (hw->mac.type == ixgbe_mac_X550)) { + (hw->mac.type == ixgbe_mac_X550) || + (hw->mac.type == ixgbe_mac_X550EM_x)) { if (direction == -1) { /* other causes */ idx = ((queue & 1) * 8); @@ -5918,6 +5919,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev) case ixgbe_mac_82599EB: case ixgbe_mac_X540: case ixgbe_mac_X550: + case ixgbe_mac_X550EM_x: ixgbe_set_ivar_map(hw, -1, 1, IXGBE_MISC_VEC_ID); break; default: -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-12-19 14:32:26.804141086 +0000 +++ 0012-net-ixgbe-fix-queue-interrupt-for-X552-557.patch 2019-12-19 14:32:25.429284420 +0000 @@ -1,14 +1,15 @@ -From f26f416d4c3ac8b77cd8dd84f72628b37fec7283 Mon Sep 17 00:00:00 2001 +From 8db1d443af955f93d3d10f59ad1b25f3dee8b97c Mon Sep 17 00:00:00 2001 From: Junyu Jiang Date: Wed, 4 Sep 2019 03:31:47 +0000 Subject: [PATCH] net/ixgbe: fix queue interrupt for X552/557 +[ upstream commit f26f416d4c3ac8b77cd8dd84f72628b37fec7283 ] + Interrupt mode is not working on X552/557 device because this device doesn't enable the queue interrupt mapping, this patch fixed the issue. Fixes: d2e72774e58c ("ixgbe/base: support X550") -Cc: stable@dpdk.org Signed-off-by: Junyu Jiang Acked-by: Qiming Yang @@ -17,10 +18,10 @@ 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c -index f328d7c033..e985053d6b 100644 +index fef2270596..252c2bffc0 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c -@@ -5895,7 +5895,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction, +@@ -5795,7 +5795,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction, IXGBE_WRITE_REG(hw, IXGBE_IVAR(idx), tmp); } else if ((hw->mac.type == ixgbe_mac_82599EB) || (hw->mac.type == ixgbe_mac_X540) || @@ -30,7 +31,7 @@ if (direction == -1) { /* other causes */ idx = ((queue & 1) * 8); -@@ -6025,6 +6026,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev) +@@ -5918,6 +5919,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev) case ixgbe_mac_82599EB: case ixgbe_mac_X540: case ixgbe_mac_X550: