Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3730188ybv; Mon, 10 Feb 2020 05:27:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwOKsjT21SDNF+fIswJRl646VrPq8niU0/epvT90PNw1E12p543dTl/IZcRj2E2eYrE4KQG X-Received: by 2002:aca:f44a:: with SMTP id s71mr805061oih.7.1581341245425; Mon, 10 Feb 2020 05:27:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581341245; cv=none; d=google.com; s=arc-20160816; b=Uc+Ktm/ce8QXFSIYoek8AwIt3pvXTWsgIxJRMDGSKXzp7+LjIAfFgz+tQxwJBKOA0a sy1rZkAocIInqAMFnh6WHa2Y9VuuvgSvbGjRsgq8+8fHHzzd+EhYkRHQM3wJXNt3Gwh5 CyAMTuJETE7WUVsEXPkrYqvn3GurmFTMKaGJCrLnRuj3Sjx5WEZFc9cKtPReb5ZW5eLc bauRLWrnr5CzCoxVUcV05bLG+YhIYry1Q+NdZ8wAUE0qqU0RG4HDxagvD6rOS+uqmsD0 i/rV1b4f8QwPhTvSEWzs7OqrojVARHd1OMd03ohrXYBXSFDJz0sXXTmfInq8LYo432CD vbYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=1I4YGIy6kEQ/sXEoBFIOMFbPAX9rtCcIrKyjvcxBewI=; b=aRWODuUQyNPUYyyq43a89jJQTwhKOjy3pBqxE8gWsDEOver4g5r3Hb04FITWjJRE1t k8JZIuqv0Xmd8Yhj9+uoB20SlN9/MGbAVHHdxF+WKffmC6cXIo7WWeEzFvyBAeV7K8SQ gmK68KNXKXltMYZ0B1k0RUSn1RyOoc4krLic+mkAsFLq08Yda9FpLPt4dcAy7hau/zhq bO3GI+Pf+rd2yBk5qdh60vkjU1V+Shy2JVn/QoPyb3iOaaU476qqqWnIrDi4mxDzk159 egzDd9xXOs3pbNs8Rn967rU0zZ5ZMu5rXK4oyeQS4fyMTQ0nvRtHOj4gwKprTPCUsOQr ZQPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="XZ/bSKs+"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si164621otp.285.2020.02.10.05.27.13; Mon, 10 Feb 2020 05:27:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="XZ/bSKs+"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730522AbgBJN0q (ORCPT + 99 others); Mon, 10 Feb 2020 08:26:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:56566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728472AbgBJMgm (ORCPT ); Mon, 10 Feb 2020 07:36:42 -0500 Received: from localhost (unknown [209.37.97.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 80C662051A; Mon, 10 Feb 2020 12:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581338201; bh=VOS8l+8h754/Kct7mPhTe9ZEIvqJpnlDf+dQg/7zPl0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XZ/bSKs+CrFmJXD5lXr6vEnFctKx4+o9yKA8/ZaKuGP6eWA36sEOCx9c0z5DXZ1lQ zRqvuoMbSwni+jNTOopkuEUL5iRyj/TNe0GmAcOwHZZXXcl+i1DH0AmAfKT3aWRnM6 AW1EXqLHwYTCTqFda4/wXPbJv1e/hZygo1sxdvUE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shannon Nelson , Jakub Kicinski Subject: [PATCH 5.4 018/309] ionic: fix rxq comp packet type mask Date: Mon, 10 Feb 2020 04:29:34 -0800 Message-Id: <20200210122407.739393002@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210122406.106356946@linuxfoundation.org> References: <20200210122406.106356946@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shannon Nelson [ Upstream commit b5ce31b5e11b768b7d685b2bab7db09ad5549493 ] Be sure to include all the packet type bits in the mask. Fixes: fbfb8031533c ("ionic: Add hardware init and device commands") Signed-off-by: Shannon Nelson Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/pensando/ionic/ionic_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/pensando/ionic/ionic_if.h +++ b/drivers/net/ethernet/pensando/ionic/ionic_if.h @@ -862,7 +862,7 @@ struct ionic_rxq_comp { #define IONIC_RXQ_COMP_CSUM_F_VLAN 0x40 #define IONIC_RXQ_COMP_CSUM_F_CALC 0x80 u8 pkt_type_color; -#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x0f +#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x7f }; enum ionic_pkt_type {