Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2562126rdb; Wed, 21 Feb 2024 11:27:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXoXhrK8rH2tnZnCaU/x7PLYMPm3steRCX4giq9cwVmkQJDF8NLi2mQT88rcpJS2g1aPOh9s09YMWZ+WY15Y7oeAFQyHePH2VhcrsBqBA== X-Google-Smtp-Source: AGHT+IFMrTVgWLydpmhE7ZPi5U1rt1vLfCHOqlmCLHu9PQJ1hYVYWMIFHk3vC3f/ghWJn/DAPKVV X-Received: by 2002:a05:6a21:1743:b0:1a0:d23b:311d with SMTP id nw3-20020a056a21174300b001a0d23b311dmr60114pzb.32.1708543624108; Wed, 21 Feb 2024 11:27:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708543624; cv=pass; d=google.com; s=arc-20160816; b=uxGlG/qG2BPGMxPi8eyVjrnTobMMAhxcus8lk69BIlWALU89L1g8TUxkZbB4+H/BP7 CuDOqURadaDQ1o9rdICoMAL7luLpvQHI9lQPmjRX+purjdVowCZaHm3UltlLAyseXGax 12AEzy5K3cAVoDxgzV9GZQYCoWUO5EMYtdJSUo5TSm/LoWF2lKD03J5+6MvObC8fPO/A b1aYpTNsE3o3y+6fuyBK0gEjRu5Vh218cPwibj2NhXAuOJT6Uf3UpYDd/9JO/lZahdr5 Bpn+guRzqsj43aPjXa0ucyTSW5oLudPLtjq4SwAfo+J9iuXb0ZuoCuds4a0E102xaOdE +mWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=vA+Ti8eLQr7z5rYo8ab4IWJg+PSRjv8EUVW3vaRe4c8=; fh=GPHLF0THR9jal1LRZxpWLiDWn58Vwxfs6kgIdBwtwtI=; b=ZEoBU6dpZp/6xFD12PqRp7CDmRGgz0tL+dpNi0n7dOUq5Ri0bZHOC/NLQUR5QZ7pkq 68zjJyPuzdh2pYlSuy1jC+v3JLvwynTQEzCm46PLhTPkBoSliTJv00lka5ia6KB0kkBu r8XMZO0dqztEZhdy4wVUw/kdLg0kSLm8E0amnfS5r9S6YekbK5JUcNVYySrjXa34OUUX V5sL5lSL6YHm7YGyiaR5BFAVOorxP6btUjDtViItFJRVJpaqdD8/gUgn+ZRA/rRVqr1f F6S3jih++UKWF9cKhekiQSQVttLCbfnzNd61IPGK+LD4g/vYXJLDOPfoiroSa9a6yHHc oUJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AH0vUZLr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h10-20020a170902f54a00b001dc11f149d1si4253674plf.248.2024.02.21.11.27.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 11:27:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AH0vUZLr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C24DF286DEC for ; Wed, 21 Feb 2024 19:27:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 813AD86141; Wed, 21 Feb 2024 19:26:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AH0vUZLr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A783785951; Wed, 21 Feb 2024 19:26:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708543606; cv=none; b=rJxP2PmxuQyBku5bRtBqMwnvR8FhmCZLmvjW421kH0tqpAxFtfllh0+Br9I4cVHdA0o5cmFwU8TYs1xlKAbNsTK3JYfzb5J5VRk+jQgA18c6wgLFsuzDMgpbFdn+v6xjvfm1jmmsooSv51clc+/2WcRKMlzVRGGI3CDE3HdBgP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708543606; c=relaxed/simple; bh=Ndry+qHCQ603OHGHZTI/GVCt3W1oZYIYEDm1GUXWnNE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rWY1Rjaj+SDsByxWznrIu/wCK/bRKwIJ8iErYrwp4OyuPRYeQARuMnQFiqFmlykQM8fPYuMq6Geie5Jo2r13Ehj1b/3mlACscf2F8qhtFerYwhZhf3C39RV/uiBx5I17FSEBKHQ8yFj6+nWP63XeMkUffCVMIQ8oKMVkmF6bRlw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AH0vUZLr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA7A8C433C7; Wed, 21 Feb 2024 19:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708543606; bh=Ndry+qHCQ603OHGHZTI/GVCt3W1oZYIYEDm1GUXWnNE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AH0vUZLrHsVG4T0qMWIlNXzMjop/28Dty6Te4J2DnaOBNs1MeJYZayf6JYT8X+0vk drfSYeJVTubWIMj+feMOa82Vmy60V+ZWRkZTWsX8g2uotfRB+C+3jxUr3C6l3Z4ESg wvLQ++/1vLT2P1g/Rn1d5Wpn+pzmpLED77fTwkpZIPD7U42res2uEoPk0dFfbF1CrO 1ULMuRRuaCFmjo7e7HMtGTIAE1pMJQA9ano9Iwwrj6HPd8OegOQOyU3/f6M0fuWD0+ PesrC7TtfSd0hb2SWmF8T6sy4KUjedt/fe+IBoSFyelZMDZ6RKOIAOOCSNGt/9xUbA zOl501ZBlVcag== Date: Wed, 21 Feb 2024 11:26:44 -0800 From: Jakub Kicinski To: Joe Damato Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov , Amritha Nambiar , "David S. Miller" , Eric Dumazet , Jesper Dangaard Brouer , Larysa Zaremba , Maciej Fijalkowski , Paolo Abeni , Sridhar Samudrala , Stanislav Fomichev , Tariq Toukan Subject: Re: [PATCH net-next 0/2] Expose netdev name in netdev netlink APIs Message-ID: <20240221112644.3d8c4c5a@kernel.org> In-Reply-To: <20240221192122.GB68788@fastly.com> References: <1708531057-67392-1-git-send-email-jdamato@fastly.com> <20240221110952.43c0ae6e@kernel.org> <20240221192122.GB68788@fastly.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 21 Feb 2024 11:21:23 -0800 Joe Damato wrote: > > For context, the reason why I left the names out is that they can change > > at any moment, but primarily because there are also altnames now: > > > > 2: eth0: > > [...] > > altname enp2s0np0 > > > > Most of the APIs try to accept altnames as well as the "main" name. > > If we propagate the name we'll step back into the rtnetlink naming > > mess :( > > OK, I see. I didn't realize this was a thing. I suppose what you are saying > is that we wouldn't want to expose names at all and stick with ifindexes > only, is that right? If you think it's a major usability improvement I can be convinced, but yes, leaving the names out initially was indeed intentional.