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 1411EC433F5 for ; Sun, 10 Apr 2022 17:01:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238173AbiDJRDn (ORCPT ); Sun, 10 Apr 2022 13:03:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiDJRDl (ORCPT ); Sun, 10 Apr 2022 13:03:41 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 349E548383 for ; Sun, 10 Apr 2022 10:01:30 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 581AE3201DD2; Sun, 10 Apr 2022 13:01:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 10 Apr 2022 13:01:28 -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=FaCAmOomb3TpRnPv6 cIb8raTfVCz0LJepNMkg3hXWPY=; b=RPuQ+sCAIcIo4j87+rNCqjWJE7XrwCiCw yVi/Gv4VOrl0l01a9tetElJPwx8mFGJjMzcJXMWafjKHNyHnv2Fsv15hTQPdPKLY iK2yMU1wGeDpk6Yji5rBcSKkqiOFVPXa+2oLBfbrPJNxV3wzf16mLFPP2/rs4Em1 33iZ18PdnArl7GVc16OvCzRPiELImiggkN4WZb4ljARxeCT/oh2OptUqm8iY47ML a5wnYL5EEtcPVIvAbK0l8f89AdNxC6mF/UcO7DS1hVme9IpJBYyBeuWOkriJ1WXd TSimEoSi+eV1qrKYdmXHGF7oPQOOxxyE2C02IsUGNtpZwYFleHsdQ== 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:01:25 -0400 (EDT) Date: Sun, 10 Apr 2022 20:01:23 +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 1/5] ipv4: Use dscp_t in struct fib_rt_info Message-ID: References: <027027eb31686b0ea43aaf6e533a5912ca400f21.1649445279.git.gnault@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <027027eb31686b0ea43aaf6e533a5912ca400f21.1649445279.git.gnault@redhat.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Apr 08, 2022 at 10:08:37PM +0200, Guillaume Nault wrote: > Use the new dscp_t type to replace the tos field of struct fib_rt_info. > This ensures ECN bits are ignored and makes it compatible with the > fa_dscp field of struct fib_alias. > > This also allows sparse to flag potential incorrect uses of DSCP and > ECN bits. > > Signed-off-by: Guillaume Nault Reviewed-by: Ido Schimmel