Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp308530imn; Wed, 3 Aug 2022 04:52:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR6DgeAZJJ9j0+6oBDb6evBxRac1ExB6kiEQPvn8Iy11c6vaucplC6S7KSpveWV7WX67IZ/X X-Received: by 2002:a05:6a00:4509:b0:52d:4943:90b4 with SMTP id cw9-20020a056a00450900b0052d494390b4mr16312031pfb.22.1659527539283; Wed, 03 Aug 2022 04:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659527539; cv=none; d=google.com; s=arc-20160816; b=OLgHvqdqt4RkHx/iYIQ1SxTx/Jff9xCvCnULPQ67SdqAI1a9O0jfGCpzvC08nPlsHB 5xINIfMJcqwRhLrk0/Cv2lIWp4bdGiquHEBl7sXRNtT3JBMlJVX9Hbasyc1xVTq7jRgY fpgTjxuNZyvzUuROmAhCut8OOYf7g9MkpHKEWC8tFM3E9rCSTHAdT3w5RHK8KsXYRqk1 vKY+jGhK5kB5Gya2axk+yhnjLQBFp2h0fHdvCkj+FIfgrCN6t/U6zMvpNL1rHdrLivPI /T9WiyKa3DwlCXOd54h6OSRAZNvMr3u3TJvxhWdtoaI/mEsAsswYsDdnKoQhknJkeHXh HvBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WXCHkKJ3NiqFVPxxjTWcCdeUI1hi1Vc6RuS+UWOjl2A=; b=bXJxvcAD/8eMq8y7T0Pr5YHsmM+BJ2lBol/BB1xNi+OT6+MW//vbYUe25Mij1VKGbU TXyiCeQv4Dcdh3tXCiT19PFGw9FY/kBxd1vNsx/gjCAj44newWlk5JjrL1U+8SMIsP0M DhZVQBRnzx9g5ddNKsVsa8qZwONkkqx7bqPq+1qOS+16U7jOTXRBMPWuxVhHb9f//Ssh A4go3/Kr6CWR+fK0knGYyfLwJ4N0ANblCOdNcPXALFHjBtKmoIdqy2xZaEU+1AVnjTPl OThga5mUwiAc9/7VRvV+OUb7aZrhjm2Ca36euRYRboqrvAIpp9ovpW9Q88voYI8TDiq3 vr4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IKKB6OZs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y125-20020a633283000000b00415d7f01122si16801590pgy.273.2022.08.03.04.52.03; Wed, 03 Aug 2022 04:52:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IKKB6OZs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235188AbiHCL1o (ORCPT + 99 others); Wed, 3 Aug 2022 07:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235289AbiHCL1m (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 F0F1A2B245 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-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-543-HY_s7UGMPwuYrKGlb2r65w-1; Wed, 03 Aug 2022 07:27:39 -0400 X-MC-Unique: HY_s7UGMPwuYrKGlb2r65w-1 Received: by mail-qt1-f199.google.com with SMTP id h6-20020ac87146000000b0033eb4c65676so764225qtp.11 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=10WB7olrP5k25E4mYc8RllDm98aIbO6E3H3CgooCz564QUhqOoINGJFCfscoqB8M12 JmaOUXWWcyQ0REz74VvURs1O9J6Ti/kN3AOwTqlpHQWs8bit3HaDlD+qRbnQJCsJ8O8k EL81KmzhOrmt0rjSDXGg6Nyv7ad5t7r3b2PKDFxb0UzzsCpQlBpr3MzHesJpsZemqdaB TaNDtPtpefd3q+yHfcKSBWw+26ZGAFewobBiKuJ13XuoTD+h+RvTonNIhTLDrWEruLl+ N6GjGwxO1EbQn9E8wwpyGKDwwx/pgLkrGTd3HeVFYEk3U+wrmYrCSwaC85vnbAZ5ULOn BHGg== X-Gm-Message-State: AJIora/w3j6gnVh84j1oqkbGIzyw4niSqNO7itJshS5SqkuT1hPPZl9z n7hJz/R2smm4oVpZrxWrkxCl4rZozEyIzGnuW+3B8S/Pjw7TZcXGDAniIWSj00njA9mL8m7hfBM r5lo64hakw8aRf3X41e0xLBD1 X-Received: by 2002:a05:620a:29d6:b0:6b5:be51:fcf0 with SMTP id s22-20020a05620a29d600b006b5be51fcf0mr18064239qkp.705.1659526058539; Wed, 03 Aug 2022 04:27:38 -0700 (PDT) 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> X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 >