From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C8AAA04FD for ; Wed, 23 Nov 2022 19:04:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58EAD42DB2; Wed, 23 Nov 2022 19:04:57 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 54B7E40E5A for ; Wed, 23 Nov 2022 19:04:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669226694; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ccm1y0/SvJd+n1kNDPuecukC3GkSVtFY1D5o3kEickE=; b=QFGdNcvyZp8wL35lli4shEUgGrYh+/BRCvQaAfaceqve4QHBvkeIXdU6YeZJhJPuGhNYME EDKWF6fRvv255Sss/vc2xn056xJqQLpgTzjAb9ienhu5RSLUxGzPmC8SjWcC4DZR5RImql LkXnq1kekbDzMkon4IEBdYTgF7Dz2/4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-479-m4vuMr2yMTCpv3f7pAqU8w-1; Wed, 23 Nov 2022 13:04:51 -0500 X-MC-Unique: m4vuMr2yMTCpv3f7pAqU8w-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2E93685A588; Wed, 23 Nov 2022 18:04:51 +0000 (UTC) Received: from rh.Home (unknown [10.39.195.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 689CE492B07; Wed, 23 Nov 2022 18:04:50 +0000 (UTC) From: Kevin Traynor To: Mingjin Ye Cc: Lingli Chen , dpdk stable Subject: patch 'net/i40e: fix pctype configuration for X722' has been queued to stable release 21.11.3 Date: Wed, 23 Nov 2022 18:03:35 +0000 Message-Id: <20221123180413.733554-22-ktraynor@redhat.com> In-Reply-To: <20221123180413.733554-1-ktraynor@redhat.com> References: <20221123180413.733554-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Hi, FYI, your patch has been queued to stable release 21.11.3 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/28/22. 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. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/43acbdad2296d50bc24f64c444282ca9414879d6 Thanks. Kevin --- >From 43acbdad2296d50bc24f64c444282ca9414879d6 Mon Sep 17 00:00:00 2001 From: Mingjin Ye Date: Thu, 3 Nov 2022 16:57:15 +0000 Subject: [PATCH] net/i40e: fix pctype configuration for X722 [ upstream commit b95179d139fe8ea63de69aa9b500fcec70a0e7f7 ] To make X722's PCTYPE is compatible with X710, the PCTYPE in the FD programming descriptor is translated into different types by using GLQF_FD_PCTYPE table. But the types of 'UNICAST_IPV4_UDP' and 'MULTICAST_IPV4_UDP' are only supported for X722, so that the corresponding registers can not be configured after translation. This patch removes the transition before the FD filter is programmed. Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow") Signed-off-by: Mingjin Ye Tested-by: Lingli Chen --- drivers/net/i40e/i40e_hash.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/i40e/i40e_hash.c b/drivers/net/i40e/i40e_hash.c index a1ff85fceb..0c84818977 100644 --- a/drivers/net/i40e/i40e_hash.c +++ b/drivers/net/i40e/i40e_hash.c @@ -660,8 +660,4 @@ i40e_hash_config_pctype_symmetric(struct i40e_hw *hw, uint32_t reg; - /* For X722, get translated pctype in fd pctype register */ - if (hw->mac.type == I40E_MAC_X722) - pctype = i40e_read_rx_ctl(hw, I40E_GLQF_FD_PCTYPES(pctype)); - reg = i40e_read_rx_ctl(hw, I40E_GLQF_HSYM(pctype)); if (symmetric) { -- 2.38.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-23 09:55:57.628062103 +0000 +++ 0022-net-i40e-fix-pctype-configuration-for-X722.patch 2022-11-23 09:55:57.058149279 +0000 @@ -1 +1 @@ -From b95179d139fe8ea63de69aa9b500fcec70a0e7f7 Mon Sep 17 00:00:00 2001 +From 43acbdad2296d50bc24f64c444282ca9414879d6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit b95179d139fe8ea63de69aa9b500fcec70a0e7f7 ] + @@ -15 +16,0 @@ -Cc: stable@dpdk.org