Received: by 10.192.165.148 with SMTP id m20csp4914489imm; Tue, 24 Apr 2018 10:26:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx48mcMDp9t4xZhOUCRbCyxkfIj6pS091NbPL9cVLRBw+4AE3NBH5NJC3HXszZwsfQYu7EF44 X-Received: by 2002:a17:902:20eb:: with SMTP id v40-v6mr25652756plg.277.1524590810381; Tue, 24 Apr 2018 10:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524590810; cv=none; d=google.com; s=arc-20160816; b=ZkUASeUMqGpz3OPeCHISFwsKfUHgRLfi4zpVWE7VI81BN3Q5B3OvD1HsFGaI2WJaJG 5tNlepwuXTLiJg2Q1DHpTs21K1JZ53do2o91Erl14KEUPIr6/tX/StBB3ji0KziwIcaW fb/mANSdptkorWOaNykKKKq8Wzc0+ihh/7ueTy3KBa03nHdpUHjo0dLroSRGbn7tWtnq 2rPrPVIBdiA0yS2MMtF+XsYzsKS1U9XFwXRxG/LL17I+VsDZpAR4w4RG5coYdCXCsdbo vFiyivwAzk+jP7hr7PHavA/r9skS2UQrQQv/NxB+zn+WvjNGRa5ANy6pL0g+V4oslkLf P84A== 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:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=z3LPKpjxxuudWORUFMUibR2bTT5DtEfYHgVaTFQoy38=; b=ppAYMQs6+7G6Tmjpabx4DS99kwP3gwdGYXSlcVdclAMFDgubuMh7BaLVbaQB0ZphJz 98HuDhCCn8JvzWCIC78zCHeFgBkSTTtCbPJ3lEqbdDydtv1B2nvZypo7zxIQAddC2dTq VEPuPuP3U2Dwxxs9TID/GEbd5oQCSTWyDGxsPf73DT6NCTfphsjuinOVm3fFCkJTSHX5 Ji/k7H5fcMYoA1nsOcTJ1YEoFVliUhkuyhOdVQOolOrPHRQHpjmkHXzN1/pACuhuD8IR nE+wRBPdYJqeTP+Md7QrEfh/MGxd1dzV2nXDtf3rPiXHuSYGnM3tg6HKUKWLmwTy1Bgs LVlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N8CBzepp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j63si13771504pfc.351.2018.04.24.10.26.36; Tue, 24 Apr 2018 10:26:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N8CBzepp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752694AbeDXRZW (ORCPT + 99 others); Tue, 24 Apr 2018 13:25:22 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:35591 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752116AbeDXRZQ (ORCPT ); Tue, 24 Apr 2018 13:25:16 -0400 Received: by mail-wm0-f44.google.com with SMTP id o78so2167257wmg.0; Tue, 24 Apr 2018 10:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z3LPKpjxxuudWORUFMUibR2bTT5DtEfYHgVaTFQoy38=; b=N8CBzeppFcjEWVToZGr/1byFuv7Y+IYy5NdpZzj1i8rAm3hJuFWKXB8rETSneQX5Jn 8KezKeDOtXl9xDdu/Eqy+A0hJpsDb5uRByxjAY5jqfIDqOC5qk9N2BdxRtAVOKplwOPI wdy7CE0SSxGqkNA/h485EeToz0PSBuMn/fQUTOfu8vBjd2lvqZxz10jDl07a4BFVUJpT 16mkeSlbyLjPrs6DtnQcvPSohZ1zbx43LbyDitK8ySbu47vOZLkJp4PPTFDgWZ4tJ9b+ XpsAvusDr5zXGkmGFLzF7Md+C35Zo21Ue4KGTM8CV1uXc4Y7KxvpJK+f3GQNwZt6jEtE XV9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z3LPKpjxxuudWORUFMUibR2bTT5DtEfYHgVaTFQoy38=; b=Hid2lzQLhqSBxES8f7qvmmZchLQy69YwaKUfthT31yWhYt/UK975+VoQn8z7DSHiR3 U3n2f0IChB+0Y5Ytmq4dlidLUNTLLpjLOz0ALzka9K6QKiVF0NBqMO8kDSFV+qN9DeeD 21UnaOPaAwvfGHk8xDtcEYQ6CzZ3UY6okddY2xQLGrZXt+HlroGcDppSSkXhf6OFls0H 7HFS+zQAj9GrM+aVOW7wiu124ezHe6pOPyBN6iRHfFRJQLVxDtTvBRpjhbgLamWcd87z q93BZrIPFtdaoL9kZAsFnG/SzAkFjqBpuevmU6aJQ9jKROWt/pZwyOJ54TB5moRDm5IL htZw== X-Gm-Message-State: ALQs6tCtFSaBTAMSPRx5L2vx4hZQ85RgX6Xblpkx9THAD07+H0U7l0CJ PB7x90RbhU5F1oAu1bB7+Pc= X-Received: by 10.28.184.21 with SMTP id i21mr13360878wmf.94.1524590715387; Tue, 24 Apr 2018 10:25:15 -0700 (PDT) Received: from AHABDELS-M-M2VD (wifi-guest-target.gssi.infn.it. [192.135.27.147]) by smtp.gmail.com with ESMTPSA id f2-v6sm12201683wre.76.2018.04.24.10.25.14 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Apr 2018 10:25:14 -0700 (PDT) Date: Tue, 24 Apr 2018 19:25:13 +0200 From: Ahmed Abdelsalam To: David Miller Cc: dav.lebrun@gmail.com, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next 1/2] ipv6: sr: add a per namespace sysctl to control seg6 flowlabel Message-Id: <20180424192513.113ec48f44792cad25eeffba@gmail.com> In-Reply-To: <20180424.131650.2276839479783300009.davem@davemloft.net> References: <1524519420-1612-1-git-send-email-amsalam20@gmail.com> <20180424.131650.2276839479783300009.davem@davemloft.net> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.21; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Apr 2018 13:16:50 -0400 (EDT) David Miller wrote: > From: Ahmed Abdelsalam > Date: Mon, 23 Apr 2018 23:36:59 +0200 > > > This patch adds a per namespace sysctl, named 'seg6_flowlabel', to be used > > by seg6_do_srh_encap() to control the behaviour of setting the flowlabel > > value of outer IPv6. > > > > The currently support behaviours are as follows: > > -1 set flowlabel to zero. > > 0 copy flowlabel from Inner paceket in case of Inner IPv6 (0 for IPv4/L2) > > 1 Compute the flowlabel using seg6_make_flowlabel() > > > > Signed-off-by: Ahmed Abdelsalam > > There really isn't a reason to make this a separate patch. > > Adding a sysctl that nothing refers to doesn't add much value. > > So please combine patches #1 and #2. Ok, I will combine them and send you a new patch. Thanks -- Ahmed Abdelsalam