Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp653981pxv; Thu, 15 Jul 2021 12:34:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0jb47NQ8mXtmCdd3EOEkfiBvMWvDXX+03ui44nLojD/BgEzFoJC29q4jjMjBQT2ZoyWUP X-Received: by 2002:a05:6402:51c7:: with SMTP id r7mr9626959edd.150.1626377667839; Thu, 15 Jul 2021 12:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626377667; cv=none; d=google.com; s=arc-20160816; b=kgjZ1Ha94BA2tK+3GNL25ku692wIdMchggrV1Bogxe59KdH7YlcG+AkpHBZp0vk1mL MWf+CUdrEgYRSDJ+7r2T2izK8pntFJojVPa+qNrbhJk3sMlkHqfty6peP1gtPCigCcmx x75xwHaXotKMGd1IldukgNetM18obpwieM2+9K01DuF5YAUoIgCYahVHuqVXVqZNg69Y fiaL8FEMWGwC46+qgIRECwh67/36vkqZVVf4aV3UmaJ9VlzXVxcCN5PdONf3zhB9r5wh o8Pi2W2dOMw4iA0FkGkr7iBiOkKCyO3HTbdLLkeGhB1XupbB8ORuI0Q++VV6ibDg/BH+ M7xg== 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=dJF6d+3/QGFH2k7YwsUd1Nc20gxVJpboc1cFK0+xYmI=; b=tVOIvBpCeA/E2yWJscKlzZCi9EMStoHBXof8wLmASKNocpVF8jJj5bX01HqVq2ap0y AyT6uSwBGinvh6TD30HW/7FarzqGfgKotelDnJLL5SdH3q4sIjCWpQ3icCHHXYV1IiUm 1Uaq1OcMmYaEWOBaHHa00+dTcv8nh3OcYAIequeF3z/fjafWUZ9yY+es7GitRbh0eCK1 xwTS78kd6GhkB3qI7vIV0NjAWQEURcSHyA2oWqOkF48DWdBK6wkaG9Yu4fmG50wTbwPa 7qeqT9Pl5kTzPTzmlE6dpEHeSEgGJR3pgyAZRmWbqEq9IEKPdMD8f/mfacDGRQH4dlRF vFpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="xWmD/TSQ"; 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 k9si10215450eje.496.2021.07.15.12.34.03; Thu, 15 Jul 2021 12:34:27 -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="xWmD/TSQ"; 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 S244948AbhGOTct (ORCPT + 99 others); Thu, 15 Jul 2021 15:32:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:46402 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241233AbhGOTKo (ORCPT ); Thu, 15 Jul 2021 15:10:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51B7360FF4; Thu, 15 Jul 2021 19:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626376070; bh=u0QFyRevTZr7p8yfLERK/B+mNVjUavYlRYsUcZXuM6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xWmD/TSQMQYnMjdIXfqbWLZyk8kXCC8oe1h1BiOGQmaixxPZBbHUcKyoZG1cFg7Yq aLvIsIws4kxwx7A+AppWgh8WGSDjN9Paap97o84YiFIQ2999TIGa6C40mmfn9juKc4 ADX5C6Uy750prMsmJDvb30PwzzcejWECYuYfqmPM= 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 112/266] ice: mark PTYPE 2 as reserved Date: Thu, 15 Jul 2021 20:37:47 +0200 Message-Id: <20210715182633.682502918@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 0c526d440f76676733cb470b454db9d5507a3a50 ] The entry for PTYPE 2 in the ice_ptype_lkup table incorrectly states that this is an L2 packet with no payload. According to the datasheet, this PTYPE is actually unused and reserved. Fix the lookup entry to indicate this is an unused entry that is reserved. 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 fc3b56c13786..4238ab0433ee 100644 --- a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h +++ b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h @@ -630,7 +630,7 @@ static const struct ice_rx_ptype_decoded ice_ptype_lkup[] = { /* L2 Packet types */ ICE_PTT_UNUSED_ENTRY(0), ICE_PTT(1, L2, NONE, NOF, NONE, NONE, NOF, NONE, PAY2), - ICE_PTT(2, L2, NONE, NOF, NONE, NONE, NOF, NONE, NONE), + ICE_PTT_UNUSED_ENTRY(2), ICE_PTT_UNUSED_ENTRY(3), ICE_PTT_UNUSED_ENTRY(4), ICE_PTT_UNUSED_ENTRY(5), -- 2.30.2