Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp602436pxa; Tue, 4 Aug 2020 13:11:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXTez1mEChABbJFfvmlQGfVflO9oSeKCE3FZjxrF1OEpP+GKoHP2p2TYZPnxmt2Sfi1qnW X-Received: by 2002:a17:906:1707:: with SMTP id c7mr5583222eje.498.1596571903563; Tue, 04 Aug 2020 13:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596571903; cv=none; d=google.com; s=arc-20160816; b=GR7pkOyz4fm69G6Iu0Xk3/wEzyKA5/5zv/KmlA2mvTrIU7YbZVnqbQf9zPg+y2K/sB vdrC0dDpHCoTwZeti3UadTB21vU4ME+gIpNe7Ulj/CI/XMa9w1fl/sp991YpY0AxU/Fp wxoT//WaPfgI4QpNYrMVbRtiYsY2fEm+OsrEGgvIzv1qNX6+svKadb9jogxL1ZNSOh+k Wfl6H20dcH0+M7A2rWejZjdpP6iqZ8E17AHOTR89FqcSfS1AwaeDm8MBlMR9MDV+JhZJ f+oQpTFo2xUp3kKbdp07LJ9uNgBELA8g7LQxrIvfWeUwpxd68wnf5biW/TbbMpg9LmPy N9/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=6flKTbD2cj/Ivk8NfzTJX2aY1GUht1nNCGdfWUfhylY=; b=kPiSFv+gUp9BK6QbVAtpEZBTwXa4BapV6gHCyVomErQOcruLVGGlQm+sRuJ/7fqhYB h9LdPUjHPsweF/5nyF65+NY77GhKCU9jPSsGKsO9yIYJ8XEqQ9C/gv4cXGkSKg5f5lNu MhGir8yYVF3j/S8jO0zNmRiWVH3KMwJ27DIjxTZB+aBRHRbavqBW4g528/uaWC6JGP4/ joxc24v8egZj9e78YW97+mlhWk5wavxolB8s8ecR0dUrkufhlAAa8PEifOvC5nVFIYo6 I+ywgq4Ju5PlZ8jtSzlH8EnPNSNaMyzCSgCzjo89Ul2yhZqYMiKwNciJBkkhAQXr/qSz tkiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si12961883ede.204.2020.08.04.13.11.21; Tue, 04 Aug 2020 13:11:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727051AbgHDUIe (ORCPT + 99 others); Tue, 4 Aug 2020 16:08:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbgHDUId (ORCPT ); Tue, 4 Aug 2020 16:08:33 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80B94C06174A; Tue, 4 Aug 2020 13:08:33 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id AB68C12880E16; Tue, 4 Aug 2020 12:51:46 -0700 (PDT) Date: Tue, 04 Aug 2020 13:08:31 -0700 (PDT) Message-Id: <20200804.130831.58597376499470026.davem@davemloft.net> To: ahabdels@gmail.com Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrea.mayer@uniroma2.it Subject: Re: [PATCH] seg6: using DSCP of inner IPv4 packets From: David Miller In-Reply-To: <20200804074030.1147-1-ahabdels@gmail.com> References: <20200804074030.1147-1-ahabdels@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 04 Aug 2020 12:51:46 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ahmed Abdelsalam Date: Tue, 4 Aug 2020 07:40:30 +0000 > This patch allows copying the DSCP from inner IPv4 header to the > outer IPv6 header, when doing SRv6 Encapsulation. > > This allows forwarding packet across the SRv6 fabric based on their > original traffic class. > > Signed-off-by: Ahmed Abdelsalam Thanks for reworking your patch this way. I need some time to audit the new control flow since the SKB push operation is now in a different location. Thanks.