From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1ACCCC433EF for ; Sun, 10 Apr 2022 17:03:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240713AbiDJRFP (ORCPT ); Sun, 10 Apr 2022 13:05:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiDJRFO (ORCPT ); Sun, 10 Apr 2022 13:05:14 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 101FF4DF5A for ; Sun, 10 Apr 2022 10:03:04 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 026EF3200E42; Sun, 10 Apr 2022 13:03:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 10 Apr 2022 13:03:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=rBySSrHHSGhToG9ed EZ+GEC7x3nJzGv6GVqQOIXJtWQ=; b=eR+pvyowHRbP3/r22fU/ZEosN/gVNWYY3 7uiIW0d2p3QdYFLquRyGgzNVDUgddDeNpBI6KsYM2G9s1dGW3FYDyHYePrbx156v RjpvrwyGG+0EGsRzBlzn2Y3ZA+AtQH7f7UfuK0S0shOfNwnZd4KXxsNpP6Hv0wK/ wh8arvhbdVREdOtDvk58RFOa7NRSLXLcyI6l+VKDKTJw0MGwVQ+DupuCw/fcRzkA hh6CUIVauSXxK4umqCe05Fj9tUzm9AtBrU57vcVuT9YHFeJaE667PwgBI3vXTBSn moyd5ALNkMAbSIk+cQpLmW0b2gvAOyOhndMjDKoKsadUaia+sNhhw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekgedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepkfguohcu ufgthhhimhhmvghluceoihguohhstghhsehiughoshgthhdrohhrgheqnecuggftrfgrth htvghrnheptdffkeekfeduffevgeeujeffjefhtefgueeugfevtdeiheduueeukefhudeh leetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepih guohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Apr 2022 13:03:01 -0400 (EDT) Date: Sun, 10 Apr 2022 20:02:58 +0300 From: Ido Schimmel To: Guillaume Nault Cc: David Miller , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, Taras Chornyi , Ido Schimmel , Petr Machata , Hideaki YOSHIFUJI , David Ahern Subject: Re: [PATCH net-next 4/5] mlxsw: Use dscp_t in struct mlxsw_sp_fib4_entry Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Apr 08, 2022 at 10:08:46PM +0200, Guillaume Nault wrote: > Use the new dscp_t type to replace the tos field of struct > mlxsw_sp_fib4_entry. This ensures ECN bits are ignored and makes it > compatible with the dscp fields of fib_entry_notifier_info and > fib_rt_info. > > This also allows sparse to flag potential incorrect uses of DSCP and > ECN bits. > > Signed-off-by: Guillaume Nault Reviewed-by: Ido Schimmel