From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7EC01C9DD3 for ; Fri, 6 Sep 2024 11:21:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725621670; cv=none; b=PQdmI7Wz9iM4EjRtKfRp0OnjExlKoNkn79LW7dc9OBIwWzstl90bzBlS9zIJJ5P9Cel59SBD+4doURJo2/P9e7/oYtLwu5U7foWwypNPX2rXl1Ht6tTttMUTHyPMokdyC+SAg+LwW5ICeaLfjfk5RWEzBUdkfZw1tntTGHR4dwA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725621670; c=relaxed/simple; bh=XM5romIm4KxJKc2Cm0Xo4inyO+ieNM4r8IJYwcGNYzU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Content-Disposition; b=UDHdvfYYUPVWyAGJWGf8OP53DQDjKb4zaBw36zvGwpLPn9mo/AU+xM0sZfOyoX626boLo3XOTl7cQmdxR4c5MG0aIKsuG/Cbie2NUbxuu6OKdVr1cdvgysNZeHYBWU2alg2Sd5Xh7bg0Xr3TshxzQrYlgNoSWfx8RtEXwcABVbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=CYcw5Jv8; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CYcw5Jv8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725621667; 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=XM5romIm4KxJKc2Cm0Xo4inyO+ieNM4r8IJYwcGNYzU=; b=CYcw5Jv8BDvU98HiCNiY7to0v1mR5i3UC69SUWW/Q5ehBuvWWpsQSyr8Xj3PBn0bTWVNyi iANQgd012t4kzXxd0XKiR3UwYMLTCGJXG/KgW9KUGiC7JXNiIwANvskcLpW74XvFuCIgT5 almXTJz9J4BXNGYImIy39A30buJ5KJw= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-240-pDrEgcdxNWqQ9zbIIUsy8w-1; Fri, 06 Sep 2024 07:21:06 -0400 X-MC-Unique: pDrEgcdxNWqQ9zbIIUsy8w-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-42c7b6358a6so15283695e9.1 for ; Fri, 06 Sep 2024 04:21:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725621666; x=1726226466; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XM5romIm4KxJKc2Cm0Xo4inyO+ieNM4r8IJYwcGNYzU=; b=oX4koKCsMPXo2vg/nZBSU98M/wXlkMWLxDZH3lxdirr//Go9XJS3RKI6py1jhc3omn 8nvSaMskaV3Hiuhae6SB+WhTsw6eU0waNFq5D4mFCVIe9YWH/pgbqjxYc9zbiLD2FO6D 7810RZRXNrAw7xNw0F/rvPr3FEo4ZLYluwQwoC+6wjNqaEIIV1Bn52b3+WN8f9oAmGZB ul+uWNcrOVQzme7yJBWCdTu6zumXj6o0Dh3im8SJ23SBdj06JSch7qD1cxOKzxJ+qfa7 ISqz1MdJZb1gVDDOy2TjmTxQu/xjyYhASEA1htiuFt167wxvb63XFOx7EMngb9fL1Srd YwJg== X-Forwarded-Encrypted: i=1; AJvYcCXmoci+NJmFHYsKGvetaR36dzCVGLGnwIfxx7jt7rolZ7wVhc7QT1LCzWE/OPOpiPoEgdsVuE4=@lists.linux.dev X-Gm-Message-State: AOJu0Ywql+/IH6aLz1+ot9CwZTlHvp0TCt3FlOjC9NFi8oUEI90XBSOO im82RHnrAwPsZL8IWnVq36/2rt8QkQFz16o5RtdsZuLNg0Aj3Sn9snmZZWCyJRuxYP2nwpwrBF3 GIDw1ofkeYbcG82UC0/vZ5lZqTZ5eJ3ReEeOqDpKUxLUSrlxNqpUN1A== X-Received: by 2002:a05:600c:5103:b0:428:2e9:65a9 with SMTP id 5b1f17b1804b1-42c9f9d65cbmr16318235e9.28.1725621665633; Fri, 06 Sep 2024 04:21:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE93E9q/W6NuTuOA8k3tsvdqWAFnV+g/TGFfrApNmc8vSoM76gleN9ntAIhvsJ+eJLqfOgoMQ== X-Received: by 2002:a05:600c:5103:b0:428:2e9:65a9 with SMTP id 5b1f17b1804b1-42c9f9d65cbmr16317795e9.28.1725621664988; Fri, 06 Sep 2024 04:21:04 -0700 (PDT) Received: from debian (2a01cb058d23d6009996916de7ed7c62.ipv6.abo.wanadoo.fr. [2a01:cb05:8d23:d600:9996:916d:e7ed:7c62]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42ca0606e9dsm17561175e9.45.2024.09.06.04.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 04:21:04 -0700 (PDT) Date: Fri, 6 Sep 2024 13:21:02 +0200 From: Guillaume Nault To: Ido Schimmel Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@google.com, dsahern@kernel.org, razor@blackwall.org, pablo@netfilter.org, kadlec@netfilter.org, marcelo.leitner@gmail.com, lucien.xin@gmail.com, bridge@lists.linux.dev, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-sctp@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH net-next 03/12] bpf: lwtunnel: Unmask upper DSCP bits in bpf_lwt_xmit_reroute() Message-ID: References: <20240905165140.3105140-1-idosch@nvidia.com> <20240905165140.3105140-4-idosch@nvidia.com> Precedence: bulk X-Mailing-List: bridge@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240905165140.3105140-4-idosch@nvidia.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 05, 2024 at 07:51:31PM +0300, Ido Schimmel wrote: > Unmask the upper DSCP bits when calling ip_route_output_key() so that in > the future it could perform the FIB lookup according to the full DSCP > value. Reviewed-by: Guillaume Nault