Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp640543pxv; Thu, 15 Jul 2021 12:12:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmLpu8lY659/+yLdEICGJqmCZLh/M03Gm1govvRANg0v07hAtj/tXjwc92/85cXaGkBllo X-Received: by 2002:a5e:c803:: with SMTP id y3mr3517948iol.107.1626376374524; Thu, 15 Jul 2021 12:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626376374; cv=none; d=google.com; s=arc-20160816; b=QSkMlEGpNSVv0Ov7aHimOcvh/iec3DonpXzpCt+G05R7sbh0bPa8V/VXxLlSIGEj81 v9vRyefgFTq8Qzo4s1o5GMdfWmxb7UqPqzDmuhyWZilBVu/YHAs7Np9aoplbsu0wRnlE 5UKrN/zs27wbdXXfyGHD37QcFPtPxMx5vKewN6qIOVH9GCHH3pHwr6cKoUHxuaeJGqND CqZDWAU/rWsgU7m+EGzpwQfLrZnYavjt8XmXphZ38MNc5SlbI7VnSVwpUz+7EMZCEUeY tHUrHnhjLQyHsd1W1FqVH1ClIX3Gtd5suz497BlZ9WuqRdUezIi/4QrjzJpzB9H74RKf hOGg== 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=RoQD0Uj8iuoSWe2o3YSg0o75sWgGvn5ZB/089d49prwAMNGN3FdJMMy+8zqP8oK6sN rp/hAwHzF0+wZxEJi5K55ZOc6JJ9icKD820XvYlaoJW2Y/lfEGoWiGpljCUsfS02p6dk 0DdSn0X2m8OZvI7Ro/aK204PMvxMuDzZJU+jLlIgPhIrLz7eqssBpHvpIJVufqs23jOc FZINQl3/Ev3BxnKg2GCbJOFFXLvp8jX/RmQabywPW+sJPhU1niOcV7tnwgYrSOgfJmj2 UpDDG4Ro22FY/Lk05fUXVbr5O3ZiI1KZzAoJ10zvtBXmpJIj2fp6TUaTseSY/JO2WYGt akVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0v839DoE; 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 s12si7902636iog.99.2021.07.15.12.12.41; Thu, 15 Jul 2021 12:12:54 -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=0v839DoE; 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 S244002AbhGOTMg (ORCPT + 99 others); Thu, 15 Jul 2021 15:12:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:37800 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241790AbhGOTA3 (ORCPT ); Thu, 15 Jul 2021 15:00:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BF82F60D07; Thu, 15 Jul 2021 18:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375454; bh=6mBsYhaKeX18KySfiOE6BvBBbZKWlt1Zm/r2GZXHrm8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0v839DoEi1u7+OoD0Ex1W1TfqVh0ECm2wx7rrf3HxyPaLyTPCeIxp+rsOVxD33IdH uf1O78UEPAXOvVo+KAJAPhFQqqvq691OF6MhZYG+9itHNDFax3HCM5N8dEaknH9HWh iRR8AheFgFaJSLRYLUokL1Tx2cTZPaXe9JV0P9LU= 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.12 094/242] ice: fix incorrect payload indicator on PTYPE Date: Thu, 15 Jul 2021 20:37:36 +0200 Message-Id: <20210715182609.631547073@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@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