Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp707581pxv; Thu, 15 Jul 2021 14:03:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIBUbL6oCDASCBo3/9+ugh8aYtKtzmdYU+/CEok/WNk0RcTR56B0L7Us3z7oIy3tID9JJ+ X-Received: by 2002:a17:906:2755:: with SMTP id a21mr7555104ejd.488.1626383017061; Thu, 15 Jul 2021 14:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383017; cv=none; d=google.com; s=arc-20160816; b=YlHmvfSppaxAHIgqC/D0Dm9xRS68t3mO9Gp4PfwfY3zSMYVuTv9qzI0I2tbUu23uCX Y6iS3rhvrh4PCIy62kCIwYesKJkujRk1ml04Jjgsa3mEUjPjIv0XaJrW7x6Gluox4xeA 341nQwfXh2VjfRnRCPlIJYrCzeCZAcLbqjPFdlaLQwRmXbw5y2SoqFjlGPzZx9NuAyyp ozxP9Tzk56l+4DTADOz15SoOQbzngcHniqJldmC5yIbOz64XAudWB2/0XnSXD0rHiC6B r/Zl9115Qt0d2qquorBjTMrIwUd96TRlF9j2GE12ikcRseMIBxGQ2LxdtbiZiiRSh+PY svHQ== 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=tOyOGp/35jf13Wpl/zeX/dN++ByDoI7K8S+bUQXHa2zjhP1Db+pjXAN6zUTbYYoJEs eKRjc5mz/7IVkLfxkGeVR+MbGFoxnnQ0uyH74g7PQSTEOXkj4J2Dk2TUyxii7Ji2aLXI XIn3sDVyYs4h/qM/JFZQFyiyWS92b+NDRNnPQNbbxnjSCxI30LANwtIgcQxASJ3Ht/yi SS0zOByOg2/CMwHaP1JECL1yB1MdqdgatUCbVnRyiM75UbpuCcox0gbMNllP0FbCOm2V Fun0fXzK8l60yOuIMdn4qLpHTU/3DCdYMM/l/6Js9v5Pn1K9OpAxa96dREgg5bcRlLR9 ffQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gremMUz+; 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 gf2si9962793ejb.500.2021.07.15.14.03.13; Thu, 15 Jul 2021 14:03:37 -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=gremMUz+; 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 S243315AbhGOTMj (ORCPT + 99 others); Thu, 15 Jul 2021 15:12:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:38158 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242142AbhGOTAl (ORCPT ); Thu, 15 Jul 2021 15:00:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1971C61409; Thu, 15 Jul 2021 18:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375456; bh=aAtpwhKuMZGDxNZ3FqxdQXfUEParfME5aHdCkcyIr3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gremMUz+go6EQVBlCY6Fm2ktK/loq1zNbP8oU5znh2qcZt+QsWg92Tq14G9KwV+Ul OY1EM6Dnt2TPndUVvevb3d7rE+F/4oRCRfM5N9wLipRRxW8gLMv6i/uDUoOucV9vaE EaJagvbihzIYSmMkaYsuuRn5GfoUI2q6oxfj9y4A= 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 095/242] ice: mark PTYPE 2 as reserved Date: Thu, 15 Jul 2021 20:37:37 +0200 Message-Id: <20210715182609.811025694@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 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