Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp320038imn; Wed, 3 Aug 2022 05:19:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sXUFyEd2WHv7sLBw5ruqM/+CZBP8042OinA5uGz5/d/9fYQTmVHECD27NCBL0U/WSd/lLk X-Received: by 2002:a05:6402:a47:b0:43d:17a0:fdc9 with SMTP id bt7-20020a0564020a4700b0043d17a0fdc9mr25046051edb.41.1659529161903; Wed, 03 Aug 2022 05:19:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659529161; cv=none; d=google.com; s=arc-20160816; b=PKHgJLjox4cfIcbScR8Bo4/Zp+R0w7Fnpj9H8+cAY/wf9JCy7oYWv5j1/ADBQThzkT I8WAZ+YejFJ099GrTNNeZvK37j73Ss67Zt8M2rqEW3b04cFrAJZA321YnrUx7kMj8Fij htC+QPvl2qzaebdxR+Zf2QjjrgiUJWoflDxo8/wqUnljieVn6MyjaETfWdnxbOl4Rp7C ey3JSPk2qnB+BcCQxYMtbwAHECgKyJeoOHkEL093mJG6CheRf0GBszgiWxoosfv+fne9 Xy74xTOSjisVjTWvuRvlGCl+m5EjoHGiK+K6wMrt2V4b8GDNfw8KDsOSJJc1duBNgesD JMOA== 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=3FOcvqJbUoGHDDUFPqQYrb80yq1QgKC3KQgj7v11X3w=; b=MdhUGO4GOu/TmVE1BG2PlxZsSgfTonPqfOzkwW87hbpzY1n+/tnVzbc1giza4FRi9o cmtclCs6xI0U1Pr/D1aIyIhRz/rqQth60O9HxdTWtgC5SPjIW5K26G+PhlkdTGLNHukg Z6tFTMBScxGfHpFl/dlTZwtc+vE4vvbie19E6jSTWsgrgKnk4Zgw5JYJXDBcpbBUWxfr zWYwHNzNxHlDMpYy5hvhxlW1VKaIHpbBdHiU199ui4R5A0veP468k/KOlQsd1zHISV6/ Tb4+bj/C0pxbhqEM3XunrnbCxX0+MPoMeyT5Og6JbokLNSk3wR6c5fvTeFV44yXEXFwq wvSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JjbwWhHs; 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 mp3-20020a1709071b0300b007308ee3b634si7788550ejc.777.2022.08.03.05.18.42; Wed, 03 Aug 2022 05:19:21 -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=JjbwWhHs; 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 S231533AbiHCLYG (ORCPT + 99 others); Wed, 3 Aug 2022 07:24:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbiHCLYE (ORCPT ); Wed, 3 Aug 2022 07:24:04 -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 AFEDAB95 for ; Wed, 3 Aug 2022 04:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659525842; 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=3FOcvqJbUoGHDDUFPqQYrb80yq1QgKC3KQgj7v11X3w=; b=JjbwWhHs9EwDfvH6RMjMhSHHjF+FMBfcjYq3UBh5oEwjlNtpmkF4gXF038PHH716zH74H5 S9iHxrSlFYbwWPBe4FdSFPhkbUbgLElB22MOvYwGc3D6ruyyVA+CszedYAhEY1vMjEnYPs qev9iTG+1Yyuv+5Pd9t96DH8E453V5Q= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-507-LibjRHezOhqQGSvIKkQ5Hw-1; Wed, 03 Aug 2022 07:24:01 -0400 X-MC-Unique: LibjRHezOhqQGSvIKkQ5Hw-1 Received: by mail-qk1-f200.google.com with SMTP id de4-20020a05620a370400b006a9711bd9f8so13242065qkb.9 for ; Wed, 03 Aug 2022 04:24:01 -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=3FOcvqJbUoGHDDUFPqQYrb80yq1QgKC3KQgj7v11X3w=; b=7Vt6xdglNCzGM7wP2rSBJINuvXhiQJUtyh6EoFyka6Kxj/jhNkEJq41w9eYy1tGxCo pLxjMOYbyEX3j//i0I//2aLV1YF3o+eGGIV/MJAUCSbR0RZn7lMjCzsGi+3AdL1yIaOI 5pqwsXkPFGSySvtqsexRYMjaUnIX5Dqd8vvAghRv2NdnoFKHoV+tQ87jJcvZH8wxOTnZ LBhQ1MrSBzMGe3CNDaZ+emu6NigHSrXK76ADUdTzgelE9jf2lpA0D9NpZlDZxyZWsCgw 7iDqUYEF3UYGRG7apn2oUflEqPW4kkUZyBzOl0WfYVWecLv8N9VbOub/mSyNtZJM/jW5 0akw== X-Gm-Message-State: AJIora/yWBrKSxvTNJ5zKeyR9hXH/T1PmaZNHeTwxom9USVKzL6XC0MW UsVSEq5x9igEqUUE69pgVetSzg8DOCYji8I/RyJJQmpJMTH6Try0h5w4d759ta79Y0TRZNxfSps 3DpArBrhQ3LyPGzxhcwTg8Wpt X-Received: by 2002:a05:622a:247:b0:31f:1ede:840b with SMTP id c7-20020a05622a024700b0031f1ede840bmr21715039qtx.564.1659525841368; Wed, 03 Aug 2022 04:24:01 -0700 (PDT) X-Received: by 2002:a05:622a:247:b0:31f:1ede:840b with SMTP id c7-20020a05622a024700b0031f1ede840bmr21715005qtx.564.1659525841139; Wed, 03 Aug 2022 04:24:01 -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 m26-20020ac866da000000b00339163a06fcsm3147288qtp.6.2022.08.03.04.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 04:24:00 -0700 (PDT) Date: Wed, 3 Aug 2022 13:23:54 +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 1/4] geneve: do not use RT_TOS for IPv6 flowlabel Message-ID: <20220803112354.GA29408@pc-4.home> References: <20220802120935.1363001-1-matthias.may@westermo.com> <20220802120935.1363001-2-matthias.may@westermo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220802120935.1363001-2-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=ham 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:32PM +0200, Matthias May wrote: > According to Guillaume Nault RT_TOS should never be used for IPv6. While I obviously agree with this statement, I don't think it brings much information to other people reading the commit message. Even though the cover letter has more information, it won't be immediately available to people reading the patch. Also the cover letter will be lost if the patch gets picked up for the -stable trees. Appart from that, I'm fine with the patch of course. > Fixes: 3a56f86f1be6a ("geneve: handle ipv6 priority like ipv4 tos") > Signed-off-by: Matthias May > --- > v1 -> v2: > - Fix spacing of "Fixes" tag. > - Add missing CCs > --- > drivers/net/geneve.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c > index 4c380c06f178..e1a4480e6f17 100644 > --- a/drivers/net/geneve.c > +++ b/drivers/net/geneve.c > @@ -877,8 +877,7 @@ static struct dst_entry *geneve_get_v6_dst(struct sk_buff *skb, > use_cache = false; > } > > - fl6->flowlabel = ip6_make_flowinfo(RT_TOS(prio), > - info->key.label); > + fl6->flowlabel = ip6_make_flowinfo(prio, info->key.label); > dst_cache = (struct dst_cache *)&info->dst_cache; > if (use_cache) { > dst = dst_cache_get_ip6(dst_cache, &fl6->saddr); > -- > 2.35.1 >