Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp811477pxb; Thu, 12 Nov 2020 17:53:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyS0OQxJRzV9Dbcg+Ef8KQLugXfyIL0O8KmhMSkOgplZbE0OiKbUf5SJtsNRJLjsiGbW5gK X-Received: by 2002:a17:906:b20c:: with SMTP id p12mr2130740ejz.369.1605232392766; Thu, 12 Nov 2020 17:53:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605232392; cv=pass; d=google.com; s=arc-20160816; b=QxC/9UCcUXh9HlrDOp3JfFXNH+cEk1M/6KjOtb7GZOP6EIEw6DbRP4XNh9VmYAnVOa 5whHiS2q8sBtFn3nbq+asCyAMnY8fQwaDtMHsTlzvqcmO6JEu/5miHDYA5tY1EDaALMY VK6FxhhU/QSrjucIXYnlFIMX1QjLyAJtnqbud52ip/jZKNHJCPcgKNDLEj7q8kgN9jB4 gyUx8wji8o4QRbWIMy4jw4K45y/3BhJ7mVzjMWTOD1wnboSin3IZxFVD557NG8/SXHoL QVCk4x7ZzkqgHM7bsC/8GKAC1hS85h0VgFBqobyaxaQc4+5O/reUaZkdBhp+HVQ+ZuJG bIDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=kXj3vK7g3qlNy7BhovDLyuAQcTyd7DXq6f2uK8FasKs=; b=0ekeqqBiHtSqXMMvj4VoAigOHtjJ+kpAbF722Sv5jGggYS2T/Ek/RGgnvkEqsyci3/ R8SEEdnPR5N+YDSj9E3SkEpYww8xYb8jjabBQ2sBp2homNrOfs8Q4nKPgvQTJdKtrzUF 2pQUmQLcBwSRfjwzz9MyB49c/LtV1kZ5zGHW/4T8rQkAk2ARo39wisLE/ij/HY7Nn76m 20k4Xls64ivOgsa8qId0gekCY2wvHQacpURY0vX/TmLtzE1551X0BsgGXdZvEss9Ok+4 iOnSpgjtP0hcJwe3v3J1uZ5lQz9y5YT9hQ72C85BqnMUBtjFLhPywiIVqcypqKYoAeGs Fz1g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@shytyi.net header.s=hs header.b=Q4Y2seRX; arc=pass (i=1 spf=pass spfdomain=shytyi.net dkim=pass dkdomain=shytyi.net dmarc=pass fromdomain=shytyi.net>); 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 k13si5028828edk.167.2020.11.12.17.52.49; Thu, 12 Nov 2020 17:53:12 -0800 (PST) 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; dkim=pass header.i=@shytyi.net header.s=hs header.b=Q4Y2seRX; arc=pass (i=1 spf=pass spfdomain=shytyi.net dkim=pass dkdomain=shytyi.net dmarc=pass fromdomain=shytyi.net>); 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 S1726254AbgKMBut (ORCPT + 99 others); Thu, 12 Nov 2020 20:50:49 -0500 Received: from sender11-of-o52.zoho.eu ([31.186.226.238]:21329 "EHLO sender11-of-o52.zoho.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbgKMBut (ORCPT ); Thu, 12 Nov 2020 20:50:49 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1605232207; cv=none; d=zohomail.eu; s=zohoarc; b=JVN6i00fIw9oTGVyR3tWAXZG87KNlL405oRwS18W3s2yvOejlL67LuNLH0RL4mYU4PPLGf+NcNIV5wQMJL6e6dbuSEPutH4pOl2PoTl/8XmmmIB6QFs6BXRdCo8oFOOr+3mX9DQALe6GCxO2TsBsupN3OWwiMMs5znbNt3zJbt8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1605232207; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=kXj3vK7g3qlNy7BhovDLyuAQcTyd7DXq6f2uK8FasKs=; b=C9SukEpVSwhFN8eHfYIZXiK+M30DB8zht2uGTDirOqS/sCKrAfgr7R8wlxDSU++bkSqRYAF5JVtu1hI09LLyI5hZjRumlp8qI8hbdoM75/0LoxBlxGCb14Yda3amx+aOtO4Tdek9gFJBlyE0HCnT3C8c32dmHWkR6WpXrseBiH0= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=shytyi.net; spf=pass smtp.mailfrom=dmytro@shytyi.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1605232207; s=hs; d=shytyi.net; i=dmytro@shytyi.net; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=kXj3vK7g3qlNy7BhovDLyuAQcTyd7DXq6f2uK8FasKs=; b=Q4Y2seRXtMKp6FeDEJyEg+KTPEvzlFZzSScdP0RAbirkxY4KOX132JmLG43TQh95 HJfWmKMSK56k3+g0ZPTmS/BDC1LPSSRaYMwdH5XQ44UECCOuczztkunXcneYEH/0Q03 bHdNnL2+JVheU3R2Et57eI3IIC6bJlhqfcerzRbk= Received: from mail.zoho.eu by mx.zoho.eu with SMTP id 1605232200583113.95955939267355; Fri, 13 Nov 2020 02:50:00 +0100 (CET) Date: Fri, 13 Nov 2020 02:50:00 +0100 From: Dmytro Shytyi To: "Hideaki Yoshifuji" Cc: "kuba" , "kuznet" , "yoshfuji" , "liuhangbin" , "davem" , "netdev" , "linux-kernel" Message-ID: <175bf4b8b86.dba0173e131152.3554549396274308531@shytyi.net> In-Reply-To: References: <175b3433a4c.aea7c06513321.4158329434310691736@shytyi.net> <202011110944.7zNVZmvB-lkp@intel.com> <175bd218cf4.103c639bc117278.4209371191555514829@shytyi.net> Subject: Re: [PATCH net-next V3] net: Variable SLAAC: SLAAC with prefixes of arbitrary length in PIO MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, ---- On Thu, 12 Nov 2020 17:55:08 +0100 Hideaki Yoshifuji wrote ---- > Hi,=20 > =20 > 2020=E5=B9=B411=E6=9C=8813=E6=97=A5(=E9=87=91) 0:46 Dmytro Shytyi :=20 > >=20 > > Variable SLAAC: SLAAC with prefixes of arbitrary length in PIO (random= ly=20 > > generated hostID or stable privacy + privacy extensions).=20 > > The main problem is that SLAAC RA or PD allocates a /64 by the Wireles= s=20 > > carrier 4G, 5G to a mobile hotspot, however segmentation of the /64 vi= a=20 > > SLAAC is required so that downstream interfaces can be further subnett= ed.=20 > > Example: uCPE device (4G + WI-FI enabled) receives /64 via Wireless, a= nd=20 > > assigns /72 to VNF-Firewall, /72 to WIFI, /72 to VNF-Router, /72 to=20 > > Load-Balancer and /72 to wired connected devices.=20 > > IETF document that defines problem statement:=20 > > draft-mishra-v6ops-variable-slaac-problem-stmt=20 > > IETF document that specifies variable slaac:=20 > > draft-mishra-6man-variable-slaac=20 > >=20 > > Signed-off-by: Dmytro Shytyi =20 > > Reported-by: kernel test robot =20 > > ---=20 > =20 > > - write_lock_bh(&idev->lock);=20 > > + int ret;=20 > > +#if defined(CONFIG_ARCH_SUPPORTS_INT128)=20 > > + __int128 host_id;=20 > > + __int128 net_prfx;=20 > :=20 > =20 > No, this does not help anything.=20 > Please do not rely on __int128.=20 [Dmytro] Understood. Thank you. > --yoshfuji=20 >=20