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 19CB41CF290 for ; Fri, 6 Sep 2024 13:52:33 +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=1725630755; cv=none; b=J8mxXF4gajBTK81gLilOKmEwBt3VMqzSbYEJbzGXqwRCfDOaTn5AmLE6uqBhYzsCySJ6Mvnb7Ojzbg/9PIgJnu9AnznIFE8ygUOfYcKRIoihSZigUGJRXK3r5hqL5abDvlaVl3/KTmPV+9bUPAmmTz7yLiXVGCw4NuivluglDk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725630755; c=relaxed/simple; bh=q9aU6MLxmooh2pjhdIX2la9jDmWUIouSae2ZL0rKgsM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=I4FczU6frcoAltjTqAlgs7CrDPOTA59/q2WUshk30EHasKmfPmfF+nsCOAoA6AiaV5rZheVLW74fYED8e2KAZ2BYWQLHCVkw5ztjM2fASwuATyZ4EIXm47epZz2FC+0rp5x/X818ceuUNle424yxr8UiHddM0z6MLXsNhr7vXAA= 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=a6UEALXc; 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="a6UEALXc" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725630753; 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=q9aU6MLxmooh2pjhdIX2la9jDmWUIouSae2ZL0rKgsM=; b=a6UEALXccBhdpCwo4Dy108UqV2JV35xFDXAmw3HnLlLHvX08Q/Uav8w4haINWKdn0Jfye5 hibslstYDH5B9erziNHYmPTIFHhei+puU01qDU5Cxf199mMyyqb79GbzC1nkFw+HZYciaQ gckIuLqyqE9mgTIUR9IprZkbW4EOpWQ= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-552-hTgrKbmWNFyHMdDCUEnetQ-1; Fri, 06 Sep 2024 09:52:31 -0400 X-MC-Unique: hTgrKbmWNFyHMdDCUEnetQ-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-3787ea79dceso1175002f8f.2 for ; Fri, 06 Sep 2024 06:52:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725630750; x=1726235550; 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=q9aU6MLxmooh2pjhdIX2la9jDmWUIouSae2ZL0rKgsM=; b=QQzcH4Uq9mi0jGPHX/A2oFV8TiqvbcHswmvRSx1KwG2YABfrL43SduudB+gX7Subnm uue/0zNiXb2MsMS7up0T4sF4NFWXN1MWXEep3VkJHPvmz/bZ9FZpkbraPdCIBweFeT+E YW0zLrXLpUv8fzoRr2coS2zLYdlvjW25DHa90d5FvvfchsdY0XcdE0+77XoY67Ro+uVQ XAH+bvB0GWWr35bzBNONMXVf74xFj6CnzXZh8pJlvAxgLMMsEmnMccrCsdoFy3jwecdV R1l/tmJtbvW3uKDnAOdtu1rveW9Ixn8TpyHBFNWE0TgXqtcaZ/Rx/58D4o2wuUwhleuW thDg== X-Gm-Message-State: AOJu0YzCca6q3JTXJNR4yFt18YML8coR0HPefJ8K7n3ULGWg1LW+6TeD BUjFeGMnRA5c583PlrMhecheVGOtfsj8+669ifzPjH04/Us7Sir9xUO9mAKuYcLxtLQC8fsFaac cYCVCkgOtm8jt/b5jM0BHwGWMYTb+Wh6qj/hqoQ7fhhDaIy3cx3XOsFXb0Geaj6z/ X-Received: by 2002:a5d:5e04:0:b0:374:b5af:710c with SMTP id ffacd0b85a97d-374b5af7510mr12649968f8f.26.1725630750368; Fri, 06 Sep 2024 06:52:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE7rIucSxMSJNCM9P3fVpLg+fca1j3lilFUPuCE9KWtPYnhwY3r2Fu3rHNI/1QZKG6cYsZRkg== X-Received: by 2002:a5d:5e04:0:b0:374:b5af:710c with SMTP id ffacd0b85a97d-374b5af7510mr12649933f8f.26.1725630749848; Fri, 06 Sep 2024 06:52:29 -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 ffacd0b85a97d-3788773ea3csm2131461f8f.54.2024.09.06.06.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 06:52:29 -0700 (PDT) Date: Fri, 6 Sep 2024 15:52:27 +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 05/12] ipv4: ip_tunnel: Unmask upper DSCP bits in ip_tunnel_bind_dev() Message-ID: References: <20240905165140.3105140-1-idosch@nvidia.com> <20240905165140.3105140-6-idosch@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240905165140.3105140-6-idosch@nvidia.com> On Thu, Sep 05, 2024 at 07:51:33PM +0300, Ido Schimmel wrote: > Unmask the upper DSCP bits when initializing an IPv4 flow key via > ip_tunnel_init_flow() before passing it to ip_route_output_key() so that > in the future we could perform the FIB lookup according to the full DSCP > value. Reviewed-by: Guillaume Nault