Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp651895pxv; Thu, 15 Jul 2021 12:31:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN4RqC0ilVAm/qdnoox5CYIt24akgqecaNOsm47y5r3rItS5lj9haTf0o2i0NDl7/atvhh X-Received: by 2002:a17:906:b0c8:: with SMTP id bk8mr7300788ejb.412.1626377464480; Thu, 15 Jul 2021 12:31:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626377464; cv=none; d=google.com; s=arc-20160816; b=eeZ3PdyxMV5hbERFeF0X+rwx0sxAZVWdDfAroy9iXxa9MuvaK2XrQALplNxGXgEG0t bXdcNzWoKjCTdaeTWPpcgkUjiKsaOP3vnvHJs9SeCWbkyEm/Hkudx5RePVUkaqPkMqRQ J062veSMz729XMmDWmjtERzTcGk9aJX9Pq+kwacefHPZuS9+5wjEosO8JdxUwJzn3Lyu 019RjQcuJRlDeIw+pd4iOioGeCiFxtebqtlG7lOB64MZWWpRam5OfWmRUEw0mphcIjJc 7ltKeHhLcgbSnKePW88RCJALRTBqayzLJQC2aLBPpwAgJiBZ/j+2+qUPAjgYY4bsAVsW asEA== 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=D5/02VMgUsBcnyx2ZMm77lJsB7ZCIoh4eDU2zBJZJws=; b=WmEdFE5gtyrmk5aRMVMhc/uT+lP5IEy4GhWY0KnawZCjswesf2kKGKFL+e4j/9vyx/ aYrCbLhdsLJrhrhuSB7ylP/V89RLnQkJoKRRdT3ZcoXGT0NhblhPHExrdIqbM+pxatSd lu+ysflrws6Y9b9Z9YuZySw9HP+yaX7L6ASQrfMGmVjP5gIS+lU7dgQQm8vno1Xi7lr4 Kjw6RBx5+bvEL/6pF+59952Ie04qqEnuxZFhZcHuhbGmzlcPzcFVHiSdg9Kj/L+6lPwH 5WTQn6I0SYEDZ0MNJ1JImBmb2wPLt9DsBcgo8ClBhu0U8YdgSyFPCaiNnUaJ0ZRmBWB9 7rJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=N6uf6nVT; 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 d12si10023017ejj.130.2021.07.15.12.30.42; Thu, 15 Jul 2021 12:31:04 -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=N6uf6nVT; 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 S1344980AbhGOTai (ORCPT + 99 others); Thu, 15 Jul 2021 15:30:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:49808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244165AbhGOTKm (ORCPT ); Thu, 15 Jul 2021 15:10:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0036C601FE; Thu, 15 Jul 2021 19:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626376068; bh=jm0JWmxGcpKQuILz7gY4zT/faOtsrR7J5SxL68SHXzg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N6uf6nVTveoAor14++dQ1/N1lm7J4c2WwM0N7T/iwHm3zXbwK7mJXfdoB/+n+SAR7 diqm1KUXfij30qPNoWCI8V/dGt/2cxV++9kaFjgZgAbE6RFTyqsSLtclxeRlxYoP20 IQp+eUkJh0Td5F6QQDHunCOVWhwGG6hNRacdbBhE= 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.13 111/266] ice: fix incorrect payload indicator on PTYPE Date: Thu, 15 Jul 2021 20:37:46 +0200 Message-Id: <20210715182633.485461100@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182613.933608881@linuxfoundation.org> References: <20210715182613.933608881@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 21329ed3087e..fc3b56c13786 100644 --- a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h +++ b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h @@ -744,7 +744,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