Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp699857pxb; Tue, 5 Apr 2022 19:19:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyk8xba3xUbIP5Dh1JLzV/lRk8W86+bc5k4cRyq8C44CY8emkMrwTziUlWFAjgCoeNuWqbt X-Received: by 2002:a63:6204:0:b0:399:dea:3d20 with SMTP id w4-20020a636204000000b003990dea3d20mr5382687pgb.152.1649211565119; Tue, 05 Apr 2022 19:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649211565; cv=none; d=google.com; s=arc-20160816; b=FCT52wCnyE/zHM3w//ywh0bbRqON6hCSXl5FlqtMvbQLlPU1715TbCiu3uevrjvyhD XbzH2tK9APEZKTKS88PNP/N/CTYPfikLouPmk5yrkTwkCjJpas9Xiy7H3d1TlBK81lne 2kQrNXNMzhBAoloX9Dh3ZI/2NDX8PrkZJGmqe7CajrykSumb2CSLd1R48puJPCD1LN1S uvnQ7i8J/TmjH4n7aaKE+X3VFSrXFXOa2kRHWmJOY7FEWrDptKaOYYseI59ZNhv78JXg 85ONFsIagAebz2t7CnHpp+617k3ndygm19vBdSag1c5yc9MEz0vbhTtzmrkfn2ECH+Bd 7e0A== 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=Xs46gtCHrN2Xj22efc/tp6G5IEmjXkw1YO+o1dIb0os=; b=SrZ6ekdNtrIFpZqkz+eB1T64GNecLOD1/PEESG+vadkNOwW04ahTnEVPGq2NrWpfas Zlgf5c5SNCLhGVUn+04jKgFicTQ1Ylc5hV6dvHRe/SURL/FlmhZGXtB3VbJ4EebUpwzQ YCxgPukI0Vb8cZZaxVaW8cp+jP1OurA/Yl1IKNyuqazm8MB5SnpdLqYjCKXqB/5yjF8f qIRb6j1yKfggBOfP2gnlAwN3jgl0kzYK6eA6g01/ZkQRF1pSiDDeR7L3sKowUNBFqkUC q7i/xr75oOW3VGVj3LALy5VtJQYVWSpB+jspWKHj6Ek1mwbXM7+yzfw0TC5vdLj/q2XF xmZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JOMgdS4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a17090341cb00b00153f7e1559dsi14731095ple.55.2022.04.05.19.19.09; Tue, 05 Apr 2022 19:19:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JOMgdS4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1389270AbiDENdk (ORCPT + 99 others); Tue, 5 Apr 2022 09:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346396AbiDEJXq (ORCPT ); Tue, 5 Apr 2022 05:23:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C2C0DA09A; Tue, 5 Apr 2022 02:13:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ACAA1615E5; Tue, 5 Apr 2022 09:13:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCFE0C385A2; Tue, 5 Apr 2022 09:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150003; bh=TEt6u2v2p7dI5no1Pgbez4k7Gzktp4YSlW5alzX4JkU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JOMgdS4Itj8oFFq2OfnLYMsHHdyA2CcW9sBIkHzheMLxMw2TouWoRHuAytFLW7Lmb P8L1cM823Vj8vHE2e9su1MYqTQumlweujd3kYh8CopqiCJg1Rtp/sESsDNY1tqvLvl dwCfNmIkCyIeD01S34yA6rf+yqJZ60s8l3NBxrZM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Himanshu Madhani , Bikash Hazarika , Nilesh Javali , "Martin K. Petersen" Subject: [PATCH 5.16 0881/1017] scsi: qla2xxx: Fix wrong FDMI data for 64G adapter Date: Tue, 5 Apr 2022 09:29:54 +0200 Message-Id: <20220405070420.384917030@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bikash Hazarika commit 1cfbbacbee2d6ea3816386a483e3c7a96e5bd657 upstream. Corrected transmission speed mask values for FC. Supported Speed: 16 32 20 Gb/s ===> Should be 64 instead of 20 Supported Speed: 16G 32G 48G ===> Should be 64G instead of 48G Link: https://lore.kernel.org/r/20220110050218.3958-9-njavali@marvell.com Cc: stable@vger.kernel.org Reviewed-by: Himanshu Madhani Signed-off-by: Bikash Hazarika Signed-off-by: Nilesh Javali Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/qla2xxx/qla_def.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -2891,7 +2891,11 @@ struct ct_fdmi2_hba_attributes { #define FDMI_PORT_SPEED_8GB 0x10 #define FDMI_PORT_SPEED_16GB 0x20 #define FDMI_PORT_SPEED_32GB 0x40 -#define FDMI_PORT_SPEED_64GB 0x80 +#define FDMI_PORT_SPEED_20GB 0x80 +#define FDMI_PORT_SPEED_40GB 0x100 +#define FDMI_PORT_SPEED_128GB 0x200 +#define FDMI_PORT_SPEED_64GB 0x400 +#define FDMI_PORT_SPEED_256GB 0x800 #define FDMI_PORT_SPEED_UNKNOWN 0x8000 #define FC_CLASS_2 0x04