Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4823928ybl; Wed, 22 Jan 2020 05:26:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzBQEk33T79R/gxIdyZAuKtJbn/TjZFvh+4b587OCuHEHPrFPKNBv0D1ZMTOyflmdhxzjtA X-Received: by 2002:a54:401a:: with SMTP id x26mr6551163oie.101.1579699571687; Wed, 22 Jan 2020 05:26:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699571; cv=none; d=google.com; s=arc-20160816; b=LQI3z/a2U8MCQX083goaRhDMphRoAUcN4GKgS1hMhfr92wQgEn9S1hMfiiTt/CRpCA tVAvIuKnJU8VRXeg8U63/IF66OX7OXMDVa/4PyuBHRBgw2RbryRRb23lt/rTmjxRIKCc QwgzH34BtPf9HC+SJ5fHrW6zw/MVWJZ3EXgtGyYsFuMtGHMjslIUQWg07UZHn2AQhgLJ o4XapdFho0FE1g3ldNn3DG/d2ZqRM8gfFec3cOmjvXwTy+gOlr0aIoQ/pNgJ1KJG/drm M1XnkOz9gl6RaoFawQqDExhnRncW0VopVhZVW8HlJlFZ+FAxQu/UTmG8QGNNYuUzW1Ws Wu3w== 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=zIbNuQ77l0cYvh7MfxD/bPF34t7y39DDAvXZjguKD3Q=; b=pyENn3ABNi4vNUicVtkg6gnzoS8gSgJj/w9jff/7cfIKaEMGPu7qe+UYe+z9Fs9EpA vmBlaaKEWElvj3Wmo8nw1tw/OrmIj7tx0a2lTwLjYOVAK4Ur5822BDFKIpYRMulI9wNR KfoJraNk0Ku4YOuGV0roExupLg7goTPI0Dluw3iakGJ8odAD2IEEvg7RayErHM3xmCDU xje5XKr0BHO1imcY23lgGqaaHvOS5cQsWoYqwZSGvTQtV4D4loG+a8J3DKlWtvclB7yJ TG6r7YyBp0/TvVK1QPCtAGC+ksNbSudXTOf7B7GJI6vyGprklzpK4k0cg8RkwD5E9kP3 AaUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OccRh5e7; 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 b17si21998706otl.320.2020.01.22.05.25.59; Wed, 22 Jan 2020 05:26:11 -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=OccRh5e7; 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 S1731173AbgAVNZI (ORCPT + 99 others); Wed, 22 Jan 2020 08:25:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:44616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731151AbgAVNZH (ORCPT ); Wed, 22 Jan 2020 08:25:07 -0500 Received: from localhost (unknown [84.241.205.26]) (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 2611A24688; Wed, 22 Jan 2020 13:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699506; bh=+CqEos7/aIv8ITK1vvdTOwiWRvGqm2psdhrENFvh4is=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OccRh5e7KV3MQj7BS5yI5SLATt0T1wI5wGtv8tmhBqSSsqoGz+EJkk/LKr4y2LM6G xE4Kngbx7MhgFdoRtCUP74UB+kfS96zDfxLexK8H0J00aEcsas+L+eUFtYljp7FtTS qdM2A9FfnCPMEZ15DhFeZZKGYC9uOilp7018tm0o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Chan , "David S. Miller" Subject: [PATCH 5.4 149/222] bnxt_en: Fix NTUPLE firmware command failures. Date: Wed, 22 Jan 2020 10:28:55 +0100 Message-Id: <20200122092844.394182716@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@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: Michael Chan [ Upstream commit ceb3284c588eee5ea256c70e4d8d7cf399b8134e ] The NTUPLE related firmware commands are sent to the wrong firmware channel, causing all these commands to fail on new firmware that supports the new firmware channel. Fix it by excluding the 3 NTUPLE firmware commands from the list for the new firmware channel. Fixes: 760b6d33410c ("bnxt_en: Add support for 2nd firmware message channel.") Signed-off-by: Michael Chan Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h @@ -1904,9 +1904,6 @@ static inline bool bnxt_cfa_hwrm_message case HWRM_CFA_ENCAP_RECORD_FREE: case HWRM_CFA_DECAP_FILTER_ALLOC: case HWRM_CFA_DECAP_FILTER_FREE: - case HWRM_CFA_NTUPLE_FILTER_ALLOC: - case HWRM_CFA_NTUPLE_FILTER_FREE: - case HWRM_CFA_NTUPLE_FILTER_CFG: case HWRM_CFA_EM_FLOW_ALLOC: case HWRM_CFA_EM_FLOW_FREE: case HWRM_CFA_EM_FLOW_CFG: