Message ID | 20231102181436.3458623-1-ast@fiberby.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp550676vqu; Thu, 2 Nov 2023 11:22:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEcdLg9QlhetX7UzZIUstN+O5t/jUtb6JuGksZYmWtD4qNZV9fYYyaavGI+rK3OLrvJnu0v X-Received: by 2002:a05:6a21:360f:b0:17b:8b42:787c with SMTP id yg15-20020a056a21360f00b0017b8b42787cmr13092945pzb.57.1698949321129; Thu, 02 Nov 2023 11:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698949320; cv=none; d=google.com; s=arc-20160816; b=wNfWgbja4HBycgBlandz6sGgcTomCT+Pb8RYbUah6H/NP7RY4b8bTP62kpt0ivucZd MZHuB2bGQ8KXG1IbizgBKS0mMnw5P7qNbl+3BT04arKqITl6OSbXigIxF5Bz9AqA9HRF CyBrf2vWqxGp7ET+jXDfqHQKoBEwmkjlQ3GVjl0LDWzT0LcCTs40p6/EO7WAEckMCPwg HqMU0i2+YTJ84MX4nNl+flC6Ef/5d6jU3AmWYe5N8mQOyFnvMsdT81SERC5PzA1YPMVl 0OM+PMr/yeP/Gbvs4rxDZa9AyCQvM9Bis2xqquoM6ed+hyFeO8Y+EHZNXhJCL2MiREnf NO7g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Gig07QzypHDKUAtN3VIP4ZEKDMeYMFZcSK33uxUhTYI=; fh=Bl7RAzpd5A8mZRAwkjA1yXhnI8alZd1urg4iBcTH6wg=; b=ZI78Qr0B4GU31wZ4G5t7scvWk5Jgm7GNoOWncZv4I4DsAwVO2Jo9K4PbsaEnEGbcy+ Eo2CRq/6oydtF9s37CtpJViysyQiLi6xVm/4R7TIn6VBlaugzBHzQFPUnfuBH8IHTNxG wb+BtUFCHNkq+Mok2rVh3axk3ROi8UzYyVoBTpd+FMPW8ThKpehLOGaUXT9Mkf1AApDW Dw8j+MTaIImUwAeR4eofoSm5+AMtcUejV5OR9dJTinaB/aJQfQnh1ZNHF+9+Ph553zvX tivMAhw+P7Q+3ZmS5b4a4eeKe6a8klEA8rByHRcDobAxF7YD2PACwOvEGZCJPdjIOFyz kCdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=bTsAZnQR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id cm17-20020a056a020a1100b005b21d089aa7si74128pgb.788.2023.11.02.11.22.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 11:22:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=bTsAZnQR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7C3D1837EA71; Thu, 2 Nov 2023 11:21:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbjKBSVU (ORCPT <rfc822;heyuhang3455@gmail.com> + 35 others); Thu, 2 Nov 2023 14:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjKBSVS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 2 Nov 2023 14:21:18 -0400 X-Greylist: delayed 357 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 02 Nov 2023 11:21:09 PDT Received: from mail1.fiberby.net (mail1.fiberby.net [193.104.135.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93CB2FB; Thu, 2 Nov 2023 11:21:09 -0700 (PDT) Received: from x201s (193-104-135-243.ip4.fiberby.net [193.104.135.243]) by mail1.fiberby.net (Postfix) with ESMTPSA id A8555600D4; Thu, 2 Nov 2023 18:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1698948911; bh=AcXaQ5Mec4Qx9/dmv68cZ2ZdUnNa3zc4PD95GHCF8M8=; h=From:To:Cc:Subject:Date:From; b=bTsAZnQRIEq47akNHVGYep1cZF6YUUu9CXHWGPZajC8zTxTqTXi+ydmUMRrfvyAnd pWcS9jRDBeGKNmtA+UIj0nfa7OMap2TeYeozQwdEVKg0FGsCccNb3XNHTdfPhQnga9 o9B+ozjUrYFQCNYeEYGk5E8LYymfYg98rWFH9NzhzLb1ZrB7fwtaxqrWXwuhWutE+E zmyV0E9JpL/nS2hN/GTaW21g1qPPoMil5RSV0JDOtOcf3XR2kJ5IxZXgFRAaNfkF1z 4OTNwHRVMCrkYlSjz+WLH5tEOf81aaaTmtj6/TzdPodYpzlMRMgUjr8FR4Hfn3Gm1K xxS71QOAaUnfg== Received: by x201s (Postfix, from userid 1000) id 9B272203FD8; Thu, 2 Nov 2023 18:14:36 +0000 (UTC) From: =?utf-8?q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= <ast@fiberby.net> To: Saeed Mahameed <saeedm@nvidia.com>, Leon Romanovsky <leon@kernel.org> Cc: =?utf-8?q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= <ast@fiberby.net>, Yevgeny Kliteynik <kliteyn@nvidia.com>, Muhammad Sammar <muhammads@nvidia.com>, Alex Vesker <valex@nvidia.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net/mlx5: Fix reserved at offset in mlx5_ifc_fte_match_set_lyr_2_4_bits Date: Thu, 2 Nov 2023 18:14:35 +0000 Message-ID: <20231102181436.3458623-1-ast@fiberby.net> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 02 Nov 2023 11:21:52 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781476846235211131 X-GMAIL-MSGID: 1781477483234244001 |
Series |
net/mlx5: Fix reserved at offset in mlx5_ifc_fte_match_set_lyr_2_4_bits
|
|
Commit Message
Asbjørn Sloth Tønnesen
Nov. 2, 2023, 6:14 p.m. UTC
A member of struct mlx5_ifc_fte_match_set_lyr_2_4_bits has been mistakenly
assigned the wrong reserved_at offset value. Correct it to align to the
right value, thus avoid future miscalculation.
Fixes: 5c422bfad2fb ("net/mlx5: DR, Add support for matching on Internet Header Length (IHL)")
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
---
include/linux/mlx5/mlx5_ifc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 4df6d1c12437..09c50e786ff4 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -552,7 +552,7 @@ struct mlx5_ifc_fte_match_set_lyr_2_4_bits { u8 reserved_at_c0[0x10]; u8 ipv4_ihl[0x4]; - u8 reserved_at_c4[0x4]; + u8 reserved_at_d4[0x4]; u8 ttl_hoplimit[0x8];