Received: by 10.192.165.148 with SMTP id m20csp4906444imm; Tue, 24 Apr 2018 10:18:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo7mbiV1RVAR+JsIjiTxxRdOoRirpTwp5qH0X93CtW28b6W3HEfD1TsV/oC6YZXPUbPoja1 X-Received: by 10.98.78.200 with SMTP id c191mr3612864pfb.153.1524590303489; Tue, 24 Apr 2018 10:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524590303; cv=none; d=google.com; s=arc-20160816; b=T5DDj4BfhVi5AHk6bWFcWyerHJjLwxmLUGGf4RHtcyyxRhheAPtYDgn3Hy9iOxUg9k U259gKM7xhfwQznBO4+J3RHOU+ZMi5Drfv+IVBoK/moWMXa/mH2r7VvNQe7Kqt2q0vOF Zw/bH4np7gpQLL2fSNM1wxKPUkVo5NCqWt0/6SL/tM/Gh0fe0a2hvKDKAlQDNm/RVJ/V b7ch8n7xhRfGNgBWtWBB8Muax//IchAlEB1afVZlB2hNwB2DYJtcxL4JyQnH8tSXECdn nNL995oqGAAgCDPrtNLZ9PKCP40CL3+LpQeiOsk0bFBJn5UcnPnnQfkdL82cRFIAaxxi u7qQ== 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 :arc-authentication-results; bh=BEP3SFlY/EhiuVEzUm6zT33szHNp6WQcexevW0GatrA=; b=TZ9qnZlcPQvaW2aM3Zip2XhzJM1zG+rN73SEV96CdgwqIiQQfFF5vU0oSkJB1JVN9O aAfeOwUtZ0EE+QDNTgQ3jM7vfQ2o388FagwYoIgnQUF3ztCUXyUPJ1PL9KB1ScIp2d6i V8/B56WZwR9b7JE0OWYKbshFU9hyuHAQ20Sj4qj+OrJqiuVF0DV89VM+4pBh0C1HyZ28 9FeVnGCJHxrpruA2OY7MLeTIupOqeVgOGGtdpMjghG0X8SJ7YvUppoF7Ptt8+EnlgbhU +fDavsmOnnpEpZuS16QdOUQI8fErocxjvnjuZ0C1eF/f1hHeqfg8gl3Sj+p3TmHpzk63 fAhw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m23si14062428pfg.323.2018.04.24.10.18.08; Tue, 24 Apr 2018 10:18:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751555AbeDXRQz (ORCPT + 99 others); Tue, 24 Apr 2018 13:16:55 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:37408 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751239AbeDXRQy (ORCPT ); Tue, 24 Apr 2018 13:16:54 -0400 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (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 D13AE143BE9B3; Tue, 24 Apr 2018 10:16:52 -0700 (PDT) Date: Tue, 24 Apr 2018 13:16:50 -0400 (EDT) Message-Id: <20180424.131650.2276839479783300009.davem@davemloft.net> To: amsalam20@gmail.com 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 From: David Miller In-Reply-To: <1524519420-1612-1-git-send-email-amsalam20@gmail.com> References: <1524519420-1612-1-git-send-email-amsalam20@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) 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, 24 Apr 2018 10:16:53 -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: 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.