Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2753927pxj; Mon, 31 May 2021 09:54:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWszyIOaLjUlb/6kvM9s1MdUW7kxcJEGhriXw9FKsf+QGjwpeN26xJX0duSuVN04AxNThC X-Received: by 2002:a05:6e02:541:: with SMTP id i1mr11351958ils.67.1622480050755; Mon, 31 May 2021 09:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622480050; cv=none; d=google.com; s=arc-20160816; b=CYBvEIUf7VIx3HxLpNzK6ZVmxefb8Qsad7vLxRxkBKOF91kyKlIRomsj3OvFBE2vqk r7JcJOm/CJ3tmPcXuCxJ1dvVnlTgEY4sQfmyYofHlelRhdiFEVgk1YlwC58pLiDN+bO3 qjCMY5xD+7O4aSBRM+aAN6bZREIjEQWaRgi/kSD0QEaXpIZRs5kAHjjp//QA6ne65z0T Lju/QfpHrrdsJxTm1BS/zd41Wo6idAuIyLGAbpYo51RFRuReKr1KD5W23on/6izyOvNY iX/TtMGjhHUY3108GxdadzNoeP4iSCNOGOVNLTvE+HJhh+xdsALwZrJQKJ0cyvhjqqlk /QTw== 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=mtCJGiS6zgqZysyJamhCNZOXYk9D3mR2paIB0jzFnYY=; b=CXpWelfwH9lDfQa3ZJ84MEXFMdOwbgnCO7RzEx99InUUKDVrKPtW+BVLpfHz91/KQR dILiv0kXBt0iIvjg1K/S6hOMwERyD0mEs+1NemWKyL8bj2xYeiRRm9h7Ow5KJm9w3Gl2 OqTQiMIITPQWnAFWrlubeIMsVbkhQZNPRjrWdbt3dtIM85W4t6Blrz2oxljvPv32it8M BZGt6qfrYXy8e8glXMzZMoZS4dLKec4DOWi4OGf9YL0fbZNYWS5osX3dp5JtPp2IxyrA KfZuY4a3MiAyJuuWqJ26qodLV0lwS9XZUGdVbYr640l28B+E1XPr0qgT4DGFMacpy17h Pl8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UCduiBaM; 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 m9si7160571ilg.125.2021.05.31.09.53.57; Mon, 31 May 2021 09:54:10 -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=UCduiBaM; 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 S231436AbhEaQyB (ORCPT + 99 others); Mon, 31 May 2021 12:54:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:51028 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234050AbhEaO5U (ORCPT ); Mon, 31 May 2021 10:57:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 61E6661CC0; Mon, 31 May 2021 14:00:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622469613; bh=ZkS9w7HymYeiWss7Yqmd0vpm+kQ5ikWbWZJWXV2QQGU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UCduiBaMPpAYsbNvAD6fcxPyCIk9OmDhTNZIWqXHn9pcHb8P7Unn1Zna6xU3IA5AR 61HtVHW+VozXXQlUHGcXgp7VznF84GYd6S5Go55lXeUp48sQfxrzUkYcyK1vWT0m4+ bNBWytheUm1vS2wwIngfNoyqncJkVBrNiqzv03zQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Edwin Peer , Andy Gospodarek , Michael Chan , "David S. Miller" , Sasha Levin Subject: [PATCH 5.12 247/296] bnxt_en: Include new P5 HV definition in VF check. Date: Mon, 31 May 2021 15:15:02 +0200 Message-Id: <20210531130712.080325432@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130703.762129381@linuxfoundation.org> References: <20210531130703.762129381@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: Andy Gospodarek [ Upstream commit ab21494be9dc7d62736c5fcd06be65d49df713ee ] Otherwise, some of the recently added HyperV VF IDs would not be recognized as VF devices and they would not initialize properly. Fixes: 7fbf359bb2c1 ("bnxt_en: Add PCI IDs for Hyper-V VF devices.") Reviewed-by: Edwin Peer Signed-off-by: Andy Gospodarek Signed-off-by: Michael Chan Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index cf4249d59383..fc7345e57bc1 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -282,7 +282,8 @@ static bool bnxt_vf_pciid(enum board_idx idx) { return (idx == NETXTREME_C_VF || idx == NETXTREME_E_VF || idx == NETXTREME_S_VF || idx == NETXTREME_C_VF_HV || - idx == NETXTREME_E_VF_HV || idx == NETXTREME_E_P5_VF); + idx == NETXTREME_E_VF_HV || idx == NETXTREME_E_P5_VF || + idx == NETXTREME_E_P5_VF_HV); } #define DB_CP_REARM_FLAGS (DB_KEY_CP | DB_IDX_VALID) -- 2.30.2