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 569C3C433F5 for ; Sun, 10 Apr 2022 17:02:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239160AbiDJREP (ORCPT ); Sun, 10 Apr 2022 13:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiDJREO (ORCPT ); Sun, 10 Apr 2022 13:04:14 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39A3A48383 for ; Sun, 10 Apr 2022 10:02:03 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 27C573200AF3; Sun, 10 Apr 2022 13:02:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 10 Apr 2022 13:02:02 -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=Hvcm6ZlYf4cJLHB2A dE+SzvlX1dZu8vmiEjIbI4HZ+g=; b=kjw0l6c5MZ9MYl6CAXFmcYP817NbjFh3B sy784hrBZT/Lr3IHpy55ouNrCuEvgmp5ByFBHdIdu/Cr3OPlg3JYv40lv4InI6nh soE5nX99iRoy2f9VWJTJ7/OdH2L5UING0mO+Dvcggr0rDwLo4xNiF+8TxrJLY7FF G1z/BYX2ZnNtp5034HsU6UY7UNwdzV84HD9jGAmtOn09P5bEfDoczBSb7cNFW9fC 2hg9uzX8BoWA4aWZg72g2NUIFPVRsMOVXUsGBoMOLyvq/Rh5coKneOHdPqniWjM3 Yk5xcpHJZNxhrSz2dREtbQiO+kAUrSiRCWSNJkPn1Dl8ctWnz6avA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekgedguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtrodttddtvdenucfhrhhomhepkfguohcu ufgthhhimhhmvghluceoihguohhstghhsehiughoshgthhdrohhrgheqnecuggftrfgrth htvghrnhepgfejvefhvdegiedukeetudevgeeujeefffeffeetkeekueeuheejudeltdej uedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepih guohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Apr 2022 13:02:00 -0400 (EDT) Date: Sun, 10 Apr 2022 20:01: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 2/5] ipv4: Use dscp_t in struct fib_entry_notifier_info 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:40PM +0200, Guillaume Nault wrote: > Use the new dscp_t type to replace the tos field of struct > fib_entry_notifier_info. This ensures ECN bits are ignored and makes it > compatible with the dscp field of struct 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