Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp628168pxv; Thu, 15 Jul 2021 11:55:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPFUVNut00igWKdjXeuDdAYfiLYJR7G50xe8XraAGkwFGIlCgDt3Nthkgb7WqhAoLYgna0 X-Received: by 2002:a6b:600f:: with SMTP id r15mr4357514iog.2.1626375343772; Thu, 15 Jul 2021 11:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626375343; cv=none; d=google.com; s=arc-20160816; b=kO89IQ32ScxiNnAJ8ua5QoDlWAmZ8tytEV2WjufbPXPSepIpQZE+VupaSF2CJEGesr /x9lgnXF6qVDpRDzfTeIITuzOd5i0rhuP07dqisI3uHsoIYb6HmYRah941El8LFc4Kyn TCReO9ocL8pmzwmq9Mcq0U8nS4mS+vapCq+3U/WHsvXn1X8Me4vJmMdUr/AlJvmMHEoV lckuIJCURLhQqX73Ja4rM4qtWOKNP5quqTRmnlVwIlL2zXEoj0vp1JGq4Rt0+9/bhJvD /gHB3b8U+wFIKergoPZm4TZSmbtpo96wRL641tusus9T7ElX/xpPo0ZatXksoK3sq/AD HtYg== 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=ullKNplNJx1g8t31HTnIPOJMRWt43h435O5hTb+Vavw=; b=fyU92XsltzX/qW8qP15Ix3lbZs57ScRgCnWM6KLLzCTD0/MVR4XrJEO29k8MfuwxRy VbYYBj8B1VC+ZLMnx9whK7T7JjeqjOHyJ+CQrDniOZAQHBZoEpWFQrwnKnSRoEgTdtoT t1TF8K2MTHH29RixjbMIM4oSWsWIluNS5ZK9oLZCuyvDQ5r9D3uE9DqYHopieXNlCqEJ VpAuV/9xirFBnnu/qc/FH12NxkHFyA/WbFGFTKvHwniLIve9NIfnmDvLmmLxN7j8KNRX 3Y1TBnmA1m7iwkxzxa5urIcAMn3WK4VwEwXMLOgckjRb5KNqgznx7vNt5j1kMuhpmfEE JYpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="P0rp/CK/"; 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 g3si7265180ile.55.2021.07.15.11.55.31; Thu, 15 Jul 2021 11:55:43 -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="P0rp/CK/"; 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 S241523AbhGOS5z (ORCPT + 99 others); Thu, 15 Jul 2021 14:57:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:55104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236777AbhGOSvq (ORCPT ); Thu, 15 Jul 2021 14:51:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1493A613FE; Thu, 15 Jul 2021 18:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626374931; bh=aAtpwhKuMZGDxNZ3FqxdQXfUEParfME5aHdCkcyIr3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P0rp/CK/51mEhcUvFexeNuZgDagGQuYf2x+w+XdIjONi7MXGN4PXz9DLXQ4B/Dj3+ 4otvPG5i3Ih/Qi+EdAV/umahW2+I3xfu+4VV4vz76rIuF/z92Mgaoj032EMifNmE8I JUBnpM9z5i/GelESJ4LgH9TOt2HowCWArqUFKfVs= 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 086/215] ice: mark PTYPE 2 as reserved Date: Thu, 15 Jul 2021 20:37:38 +0200 Message-Id: <20210715182614.607567535@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 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 98a7f27c532b..c0ee0541e53f 100644 --- a/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h +++ b/drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h @@ -608,7 +608,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