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 90F3FC3F6B0 for ; Wed, 3 Aug 2022 11:27:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235431AbiHCL1n (ORCPT ); Wed, 3 Aug 2022 07:27:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235188AbiHCL1m (ORCPT ); Wed, 3 Aug 2022 07:27:42 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F0EB927B39 for ; Wed, 3 Aug 2022 04:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659526060; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WXCHkKJ3NiqFVPxxjTWcCdeUI1hi1Vc6RuS+UWOjl2A=; b=IKKB6OZsQA1NNKLXpTk4sheuCbO69Z9pu42/195oCnfdHXyA/WCUlMs+GMIK0x8pFhQeWK Zd8dtr41P1ph96P/pZdPC8V0JMh34D9sm4k60s87tqEdOj3kfX04CQ/XW8dJSclqNi7wgq Is6UN2cXS/VHws+7I+wMAyidqE2uUBI= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-543-4S4IdLxxOgSNHTyKcrOVJg-1; Wed, 03 Aug 2022 07:27:39 -0400 X-MC-Unique: 4S4IdLxxOgSNHTyKcrOVJg-1 Received: by mail-qt1-f200.google.com with SMTP id u12-20020a05622a17cc00b0031ede432916so10671172qtk.1 for ; Wed, 03 Aug 2022 04:27:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WXCHkKJ3NiqFVPxxjTWcCdeUI1hi1Vc6RuS+UWOjl2A=; b=QuM38ZaKARkuqY0gd27UmSEG6+3V7m9I0DF6BKkVONyenWQeuAoQXCLYgH3vwr7CXr uM8oeHFSbraSwj75mRPSB8hmgUNzpT4Ul6Bnmj+kdtvgtUYY66eEzy0MxlkwBLsaizEM C2EM93WKqCxl+KfzT+BWkS94+IOLLr5Gl6k9z53qNVcVQBvHKPzUoE9ZF1iw7IQWfi1Z sEf0IXnmG6F3c97dzTVtDL4EGX+8+ab5ircUr1zB9oHiddfwkhAYOe3v3fD5r5GXedf6 lSA7Dhvfg0tNP338WK4hevsh7+YodOcX3WMeJfdWRlbUYF832ClzparMfJnQIJM4Mlkc Xk/A== X-Gm-Message-State: AJIora9SF0a3gu3GxC2eB774UMqTFnDItArX4tkhuJ/gE3pV/JPcADR+ bFchwM7hz8CR7s8i+FyaJMnWhEKDRTk5mhZgn9ypJ1aN/ztiGr1HMUDW/rFXgW5XftvzUN5n/EQ GS4McS1zEoszF X-Received: by 2002:a05:620a:29d6:b0:6b5:be51:fcf0 with SMTP id s22-20020a05620a29d600b006b5be51fcf0mr18064237qkp.705.1659526058537; Wed, 03 Aug 2022 04:27:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uy36sdA7Sh8aasUy+6BxrbC/DrMuE16xQziCA4OiQcdH+TqUbY9dg+IdQ3r5/Ko0Cx+GqURg== X-Received: by 2002:a05:620a:29d6:b0:6b5:be51:fcf0 with SMTP id s22-20020a05620a29d600b006b5be51fcf0mr18064224qkp.705.1659526058324; Wed, 03 Aug 2022 04:27:38 -0700 (PDT) Received: from pc-4.home (2a01cb058918ce00dd1a5a4f9908f2d5.ipv6.abo.wanadoo.fr. [2a01:cb05:8918:ce00:dd1a:5a4f:9908:f2d5]) by smtp.gmail.com with ESMTPSA id fd9-20020a05622a4d0900b00304fe5247bfsm10712589qtb.36.2022.08.03.04.27.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 04:27:37 -0700 (PDT) Date: Wed, 3 Aug 2022 13:27:32 +0200 From: Guillaume Nault To: Matthias May Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, roopa@nvidia.com, eng.alaamohamedsoliman.am@gmail.com, bigeasy@linutronix.de, saeedm@nvidia.com, leon@kernel.org, roid@nvidia.com, maord@nvidia.com, lariel@nvidia.com, vladbu@nvidia.com, cmi@nvidia.com, yoshfuji@linux-ipv6.org, dsahern@kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-rdma@vger.kernel.org, nicolas.dichtel@6wind.com, eyal.birger@gmail.com, jesse@nicira.com, linville@tuxdriver.com, daniel@iogearbox.net, hadarh@mellanox.com, ogerlitz@mellanox.com, willemb@google.com, martin.varghese@nokia.com Subject: Re: [PATCH v2 net 0/4] Do not use RT_TOS for IPv6 flowlabel Message-ID: <20220803112732.GB29408@pc-4.home> References: <20220802120935.1363001-1-matthias.may@westermo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220802120935.1363001-1-matthias.may@westermo.com> Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Tue, Aug 02, 2022 at 02:09:31PM +0200, Matthias May wrote: > According to Guillaume Nault RT_TOS should never be used for IPv6. > > Quote: > RT_TOS() is an old macro used to interprete IPv4 TOS as described in > the obsolete RFC 1349. It's conceptually wrong to use it even in IPv4 > code, although, given the current state of the code, most of the > existing calls have no consequence. > > But using RT_TOS() in IPv6 code is always a bug: IPv6 never had a "TOS" > field to be interpreted the RFC 1349 way. There's no historical > compatibility to worry about. Apart from the not so informative commit messages, I'm fine with this series. Please keep my acked-by on all patches if you send a v3. Thanks again for fixing this. Acked-by: Guillaume Nault > --- > v1 -> v2: > - Fix spacing of "Fixes" tag. > - Add missing CCs > > Matthias May (4): > geneve: do not use RT_TOS for IPv6 flowlabel > vxlan: do not use RT_TOS for IPv6 flowlabel > mlx5: do not use RT_TOS for IPv6 flowlabel > ipv6: do not use RT_TOS for IPv6 flowlabel > > drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c | 4 ++-- > drivers/net/geneve.c | 3 +-- > drivers/net/vxlan/vxlan_core.c | 2 +- > net/ipv6/ip6_output.c | 3 +-- > 4 files changed, 5 insertions(+), 7 deletions(-) > > -- > 2.35.1 >