Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6278102rdb; Thu, 14 Dec 2023 13:29:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IG47fpvre1Em4X9UxM0ERGtJSq8vW08nkx/bX3kxDK3oJqi3x1Ul1ZtJlWx+B9XhUJ45DL/ X-Received: by 2002:a17:90b:1489:b0:28a:f3c7:c06f with SMTP id js9-20020a17090b148900b0028af3c7c06fmr1721442pjb.78.1702589352069; Thu, 14 Dec 2023 13:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702589352; cv=none; d=google.com; s=arc-20160816; b=OCR9g9rU+reSre3IffbGrjJlet+zaygnbbZPEWFOBGJ86D0wTLRzjGWgDw80rp/w/4 ZMC7HLn78V1UIjVTmf/ugZambasUaJQP1wfGz/9+Xl6ai5jvpcki6BOa1HYiEetrGeQt cbjIUOzf5doxl9O+Ltc3wAP2IqSDp+DVflcC6Z8PyCLAxD0qGxpXRlg93MNtPYuNOt2X zV0LIDOdDRNZKcyqT3PdKKkx/CrQ/S2HdseUZUOS4W9jT6jzBr3teK29gWlplbUYbQCj ZGOAIROfhCkrfsosgVSXEm5+mnr4H9nZuLvqcoFJl/0o383lxhFEh8KDA/J8/xg0EijC VYgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=87QCYFMZnTzVDhauQj7APRl9gZQp7z+Dll8f1MxFP68=; fh=Gr6DLeOWyZzKDr6OJKm/iMsVo2p1qemJd4inQgycAm4=; b=rGBQ7unpXtJCKFB+aqHbAWooXF8TsewHeaispmuDQ7gQUoWDnaQoFaqNquq18jCLOH vV5nm3mOcEMnXJ50qnybYvhLqLfPH4MbyfL69uMdgDsAJbAc8utAcM06+2PJRt2GjJlO z+2y0rGnynlZFIMue5bpyAR9JqUbCoJZDcLoE3PFtDmr67q7Eme+1mXy3Pac7R90Dh1M QYRfgXAQhr0sv8x3Vc5fyMxWSsfXL2atC0S5dz5np81TI5PkoJcFVojmi0zNT8dS0oVZ X1fAbG/yQoKPfzDLSUVExzuUAPwLzwB63H1KJ0lSSQB01GoI1mUOV1LGkxdqlmtSRdtd 7HNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b="W+/h5yrQ"; spf=pass (google.com: domain of linux-kernel+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gp5-20020a17090adf0500b0028669fbf7b6si382686pjb.76.2023.12.14.13.29.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 13:29:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b="W+/h5yrQ"; spf=pass (google.com: domain of linux-kernel+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr 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 B10FA283DC1 for ; Thu, 14 Dec 2023 21:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2985A6928A; Thu, 14 Dec 2023 21:20:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b="W+/h5yrQ" X-Original-To: linux-kernel@vger.kernel.org Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (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 999EA2BCF6 for ; Thu, 14 Dec 2023 21:20:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=87QCYFMZnTzVDhauQj7APRl9gZQp7z+Dll8f1MxFP68=; b=W+/h5yrQzfyASJhiS8Y6xsStOWS6EFGql3DwgR7frKvmHerhmG/r4+5z CAmP+Kf4hu9/YF0Hcg2CcXOmu5YGZdGMvuAP+d0lNdMO+NyS+B53S93gn Aj/Ni0I+tiSegVMwbfAXANdHTTuKCnFYZNcEY7L71qdbYLdneB7PFZjYW M=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=lucas.nussbaum@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,276,1695679200"; d="scan'208";a="142395013" Received: from xanadu.blop.info ([178.79.145.134]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 22:19:34 +0100 Date: Thu, 14 Dec 2023 21:55:10 +0100 From: Lucas Nussbaum To: Ivan Vecera Cc: Julia Lawall , "David S. Miller" , linux-kernel@vger.kernel.org Subject: Re: Failed to start Raise network interfaces error Message-ID: References: <21977757-3a63-4586-ae03-e6630c1f009d@redhat.com> <4c707e3e-a324-a5e6-dc21-833b6d40324d@inria.fr> <88a7a623-ad80-406c-a63b-3136df963888@redhat.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <88a7a623-ad80-406c-a63b-3136df963888@redhat.com> Hi, On 12/12/23 at 17:44 +0100, Ivan Vecera wrote: > > > On 12. 12. 23 17:33, Julia Lawall wrote: > > > Look at 'systemd.net-naming-scheme' man page for details how the interface > > > names are composed. > > After booting into 6.7.0-rc4, I have the following in > > /etc/network/interfaces: > > > > # This file describes the network interfaces available on your system > > # and how to activate them. For more information, see interfaces(5). > > > > source/etc/network/interfaces.d/* > > > > # The loopback network interface > > auto lo > > iface lo inet loopback > > > > auto enp24s0f0 > > iface enp24s0f0 inet dhcp > > Just change 'enp24s0f0' in /etc/network/interfaces to 'enp24s0f0np0' But is this change of interface naming really the desired behaviour? From a user point of view, this is likely to cause hassle during upgrades from older kernels (or generally when switching between kernel versions -- think bisecting). Is there really a benefit to that change? On a dual-port XXV710 NIC, the naming changes from e.g. enp98s0f0 / enp98s0f1 to enp98s0f0np0 / enp98s0f1np1, because udev previously computed the name using: enp98s0f0: PCI path identifier: domain=0 bus=98 slot=0 func=0 phys_port= dev_port=0 → p98s0f0 and now uses: enp98s0f0np0: PCI path identifier: domain=0 bus=98 slot=0 func=0 phys_port=p0 dev_port=0 → p98s0f0np0 Are there NICs using i40e where the function number is different from the physical port number? Best, Lucas