From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <yliu@fridaylinux.org>
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 1B04F1B1B3
 for <stable@dpdk.org>; Wed, 24 Jan 2018 16:42:37 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id BD879226BD;
 Wed, 24 Jan 2018 10:42:36 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:42:36 -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=clwzrY45RvrAdecbW
 gR5kcuTPncu8IlImrppJIu6Kqo=; b=Xb0ZMPQ9TsCyJx7hUGFQFQfjml3viCLuf
 4mR1VXIxUrGT/rToOsTm2uYAnYnIyAeELHuE+3Ej9MMq1sqyKpO9kxK3wRPXcEMU
 c4k2467NjVjaDc01geUVtoVT8ZHW5e/MGLoyIhMRtRE6eMsb+AAZk2YorjOyNArj
 /a2bjkct3V2FEs8wCddj137Di4xkbSM5otERgGelINEdohYqrBlVGnUc499JwZqj
 gUp/3qhInXdK10RBrnWqmN/lwQmJR5jyOC+Rae18htcyNsc3E5f3NDi+b5SVovhp
 gEg6NpWMTpofnS30/sMc3UuGS8hjab45DpXM4UA9KkOGzCk8kjyQg==
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=clwzrY45RvrAdecbWgR5kcuTPncu8IlImrppJIu6Kqo=; b=bsOAeYFa
 PW/M+CwKJQMWDqGByI6zvM/oT/RcemDhiTincNbUEBVmBSRiUzR0/Rn+EbctBaIz
 NL4P5PVnzUpvl2XU3CVndfxbUbLf5x3ogkA9qOEI1Y+w1YT8WOwlYu3rK+NJeMkl
 MhmOAfYbFiMQvGpHDi1QQ8ovBnYLHl6iROB6GxRZEFHf6RkH50DqKcr5ai4Auhr7
 7+cPuPF5LF4Vcb8WYFx7sSAs4MhESHgYbkYEH37CMEDD7ADWg8Hcis8A2C3H1EuS
 nfDdXHLNP7RV6lHFcspUyTEgSPFSIIZXr2Gmwng0ian4V0KFxZPaUXcUJ1ae0NXn
 KchLl2VCyB08jg==
X-ME-Sender: <xms:bKloWh1lSDorWudLmglTLTqsTGHg64CP-gmxefUC_eo-UbuyNs-Zsg>
Received: from localhost.localdomain (unknown [115.150.27.206])
 by mail.messagingengine.com (Postfix) with ESMTPA id A21117E4C7;
 Wed, 24 Jan 2018 10:42:33 -0500 (EST)
From: Yuanhan Liu <yliu@fridaylinux.org>
To: Rosen Xu <rosen.xu@intel.com>
Cc: Beilei Xing <beilei.xing@intel.com>,
	dpdk stable <stable@dpdk.org>
Date: Wed, 24 Jan 2018 23:33:38 +0800
Message-Id: <1516808026-25523-150-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/i40e: fix packet type for X722' 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 <stable.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jan 2018 15:42:37 -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 2c14a5af0e8cbbce3c5b987882a244de6cb80b5c Mon Sep 17 00:00:00 2001
From: Rosen Xu <rosen.xu@intel.com>
Date: Mon, 15 Jan 2018 18:05:55 +0800
Subject: [PATCH] net/i40e: fix packet type for X722

[ upstream commit e8ef26c4db76b9e2f959b8f94a70bf52ba74dc09 ]

Move setting PCType after setting port's MAC type, which can resolve
the issue of PCType doesn't take effect on X722.

Fixes: a286ebeb0714 ("net/i40e: add dynamic mapping of SW flow types to HW pctypes")

Signed-off-by: Rosen Xu <rosen.xu@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
---
 drivers/net/i40e/i40e_ethdev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 6c40c46..87c0cfe 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -1096,7 +1096,6 @@ eth_i40e_dev_init(struct rte_eth_dev *dev)
 		return 0;
 	}
 	i40e_set_default_ptype_table(dev);
-	i40e_set_default_pctype_table(dev);
 	pci_dev = RTE_ETH_DEV_TO_PCI(dev);
 	intr_handle = &pci_dev->intr_handle;
 
@@ -1142,6 +1141,8 @@ eth_i40e_dev_init(struct rte_eth_dev *dev)
 		return ret;
 	}
 
+	i40e_set_default_pctype_table(dev);
+
 	/*
 	 * To work around the NVM issue, initialize registers
 	 * for flexible payload and packet type of QinQ by
-- 
2.7.4