From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0C0E522B for ; Thu, 22 Jun 2023 05:47:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 530C2C433C8; Thu, 22 Jun 2023 05:47:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687412869; bh=XuuEFtPCzRB0txD69pRvJTvvGshaxQzao88XY/tszso=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JD66o/fQLNcavL542byK98MRpJIy+WDJiJEiVzHzfIU72dRG0e8A6h8P/Y4IHmtq+ c85SkqefWj3Z2Hxs7BD4zAYXo4XNCHv/1MX/HoIKttHMW+Z38/1kBiFL0hBOtxZaFo 0K3MIJoYoFrrm+Lcm7ne4y8xyxuk1+3eHXpD+94LQalwUNcDkeuYbz47dqSfd5fUGG +4BpBcBlIzRnSmcfRseC+rsYxXZN+lbVBqFJRAYkcHH1Ipwz+e52YO2Dlt98ulD/mv /LBdIUnnrEN9n7DJOwH8s63U2vqYpYPDkUexATzpFGgFfPa/qGSQEfb4983RN4nhuF NknNfcvazmF8w== From: Saeed Mahameed To: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet Cc: Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Lama Kayal , Rahul Rameshbabu Subject: [net-next 03/15] net/mlx5: Fix reserved at offset in hca_cap register Date: Wed, 21 Jun 2023 22:47:23 -0700 Message-ID: <20230622054735.46790-4-saeed@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230622054735.46790-1-saeed@kernel.org> References: <20230622054735.46790-1-saeed@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Lama Kayal A member of struct mlx5_ifc_cmd_hca_cap_bits has been mistakenly assigned the wrong reserved_at offset value. Correct it to align to the right value, thus avoid future miscalculation. Signed-off-by: Lama Kayal Reviewed-by: Tariq Toukan Reviewed-by: Rahul Rameshbabu Signed-off-by: Saeed Mahameed --- include/linux/mlx5/mlx5_ifc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 354c7e326eab..33344a71c3e3 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -1710,9 +1710,9 @@ struct mlx5_ifc_cmd_hca_cap_bits { u8 regexp_params[0x1]; u8 uar_sz[0x6]; u8 port_selection_cap[0x1]; - u8 reserved_at_248[0x1]; + u8 reserved_at_251[0x1]; u8 umem_uid_0[0x1]; - u8 reserved_at_250[0x5]; + u8 reserved_at_253[0x5]; u8 log_pg_sz[0x8]; u8 bf[0x1]; -- 2.41.0