Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp629367pxv; Thu, 15 Jul 2021 11:57:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4SYttAitGD/HrQxsWOm/hLxXGUFDSqbx5nZRuxMJ+xPfepPrxikivHA3QADoi++q6d/VP X-Received: by 2002:a05:6e02:c73:: with SMTP id f19mr3467096ilj.291.1626375458217; Thu, 15 Jul 2021 11:57:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626375458; cv=none; d=google.com; s=arc-20160816; b=VRdGTLXN1pn45MWSDPYUQCGdNv3KVuZ4wZoOPvwuTpMRHq9H0n+Q8Z6CSODngJlcjt c6xtdFuGZkRBezo4mgpiFhP/558B6tOuISZCLfFA9zbitD4ymr57GQrcbuCJr2O2UWKY 5CHEiWzNsHretjcI1ztRD9kFDgrsJrumTtfodVxUaFNzNF60gPjQHWvDvFIdfZD0iXgx LKBWsoa7ESkxcdHD6XbYsOYdcwCUQfV7PlI4tyVkC9DuMvSC/vXOQHp9Mazl9gUAtxk2 p+xWwZTBcyLuQVg7W6Xf0HZBWDR635KS22g20kr1ofUy6pPK4hghKgzGdInaTf4eyB+m nYOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HYjNO47E7SQIf575jxrHViRLGQk18BeBVUVT4M9RJ5A=; b=lbOaDf9IwUgBFK8ixgP+OdgIAKnd23nASrq+MbjFPSMUSfm6PVbhZipuOiLaOTBRPU aTRaZMiDoxxfpzDyUROUeNB3Uvf1JdYRWtBK+Il34kwWi5m7MyffY8/pX2J0urOU2PAq ClC1kp2gHZnMcoL/wqrEX04DT35AnISkkKwG6Sgc1dfSrrxmIy4P3aQup4TvAOX8Ghfs WTCNyR33muufVa8i2UaRsnA7BpD09yEZeK7/bAei/3w3Kb+cdK0swKrsaQGbF/3+12fJ ErUdzWX7LSme3zJMq3kUaGnrAWWJlSva19HvwKc/Y14JrIpYesfBTZs0dmqLdlN1xg16 7KUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fFcVq7a3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si7906989ilm.77.2021.07.15.11.57.25; Thu, 15 Jul 2021 11:57:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fFcVq7a3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241607AbhGOS5v (ORCPT + 99 others); Thu, 15 Jul 2021 14:57:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:53064 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239971AbhGOSvm (ORCPT ); Thu, 15 Jul 2021 14:51:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BA803613DC; Thu, 15 Jul 2021 18:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626374929; bh=6mBsYhaKeX18KySfiOE6BvBBbZKWlt1Zm/r2GZXHrm8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fFcVq7a3rdOTqw66VI8gH5bRqWTc423WOtMiSwsn5+d7OSlQNnHWi4mw9G8q0Z1Zt iOX5Ce/EJKDuoP7BtR6gNo2Fj2QV0kJl1JBuuyfXK4JhSLEwmp0oSBVtgb0RhI1ppi MAnmqb7p2ZwgayRoMNyE7mQdyf3XUz6aOEUpq8/k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jacob Keller , Tony Brelinski , Tony Nguyen , Sasha Levin Subject: [PATCH 5.10 085/215] ice: fix incorrect payload indicator on PTYPE Date: Thu, 15 Jul 2021 20:37:37 +0200 Message-Id: <20210715182614.446942911@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182558.381078833@linuxfoundation.org> References: <20210715182558.381078833@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jacob Keller [ Upstream commit 638a0c8c8861cb8a3b54203e632ea5dcc23d8ca5 ] The entry for PTYPE 90 indicates that the payload is layer 3. This does not match the specification in the datasheet which indicates the packet is a MAC, IPv6, UDP packet, with a payload in layer 4. Fix the lookup table to match the data sheet. Signed-off-by: Jacob Keller Tested-by: Tony Brelinski Signed-off-by: Tony Nguyen Signed-off-by: Sasha Levin --- drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h index 4ec24c3e813f..98a7f27c532b 100644 --- a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h +++ b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h @@ -722,7 +722,7 @@ static const struct ice_rx_ptype_decoded ice_ptype_lkup[] = { /* Non Tunneled IPv6 */ ICE_PTT(88, IP, IPV6, FRG, NONE, NONE, NOF, NONE, PAY3), ICE_PTT(89, IP, IPV6, NOF, NONE, NONE, NOF, NONE, PAY3), - ICE_PTT(90, IP, IPV6, NOF, NONE, NONE, NOF, UDP, PAY3), + ICE_PTT(90, IP, IPV6, NOF, NONE, NONE, NOF, UDP, PAY4), ICE_PTT_UNUSED_ENTRY(91), ICE_PTT(92, IP, IPV6, NOF, NONE, NONE, NOF, TCP, PAY4), ICE_PTT(93, IP, IPV6, NOF, NONE, NONE, NOF, SCTP, PAY4), -- 2.30.2