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 3984EC433EF for ; Sun, 10 Apr 2022 17:02:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240700AbiDJREp (ORCPT ); Sun, 10 Apr 2022 13:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiDJREn (ORCPT ); Sun, 10 Apr 2022 13:04:43 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 373DD4DF5A for ; Sun, 10 Apr 2022 10:02:32 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 274073201F32; Sun, 10 Apr 2022 13:02:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 10 Apr 2022 13:02:31 -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=v5Hrjiv0Yk5B0jF+0 QN7pX0yYPsJFcyC4sVsIi+VRg4=; b=b5SCZdcZcFp+D6uRVGSlwPao8HeyjLrI8 pxfdxSunV+jYpDq7x4OM2djZ4z2kk3PMf+Da6tSHRkuxbdbaNtZ0vR0Nqnl/uQdb XEtvzGmxizYIDL8YWo+v/C+AvSpTyGQ0vm4yGYFVl0WpAfrCWWscvKfctTgVjo8s q3A2ZH+pcCIrcxGBZJbks+CRRmZAi7xgd3ghVLG6lRqZGvtY+U99QN1770LaUpgO Y5fompKW1L42JnAi2EN1RFLR6SPkqBPPsqcDGEcvYVjlEURIEkNPzsZoQ+kcEvfK +Az59crrFT1fVOhuHC/7ITzYHObo7fpoeBZNaFuWZ/v2r+yX8AXvg== 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:02:29 -0400 (EDT) Date: Sun, 10 Apr 2022 20:02:27 +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 3/5] netdevsim: Use dscp_t in struct nsim_fib4_rt Message-ID: References: <1f643c547fc22298afe21953492112de9b9df872.1649445279.git.gnault@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1f643c547fc22298afe21953492112de9b9df872.1649445279.git.gnault@redhat.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Apr 08, 2022 at 10:08:43PM +0200, Guillaume Nault wrote: > Use the new dscp_t type to replace the tos field of struct > nsim_fib4_rt. This ensures ECN bits are ignored and makes it compatible > with the dscp fields of struct fib_entry_notifier_info and 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