Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.201.30 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796101581; b=NZr2CxpvYwR+ckHxD6mJBpolkAb2CJ00vL0Ip+8xQ3ZWJxX8/zmn+6X4xlePkIN9ZkJu U8cA8LZ84wjjC9AD4l+2Ew8CLnidXAKuBO2ybyaLmiX72XN0oAIUFQrXUr/KS7URVL39P RmdD0lhjQMWsBfODK4kwQXckjMS5e12E5MHH5zvwdOruLbM3cbNunEXa8FzuFi7kG8PKu +mIAVzJEHFF++xGrSMXEV2JY8otBW4YAr6O7544ZoamZxG+KNxAczXcsc/RMSuEavTlrV WjBhPco8U5YHxhU0WFlkLdMIjmIgNzw1G1k+xPXA7eTR0aFH3kQwVH2vNBTTgYZdedw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796101581; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type:X-Originating-IP: X-ClientProxiedBy:X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=vbAy+comi3c71IfLyEeRWF/TnJ5FulY2N4YY7krRk1A=; b=pr1dPW1FodvliMxhfB4NzNe8J+WgORHihMzSVmJxyw2861I+dHHuSdWyiIglcWOvHQCw +bYQtxK+BfsbcI01ygAFU1AhwTAIzWurweYf+JmSStZ3gO2CXjTcvR+AY2TBVuSPDUebe H1oOuIdKaRpoXYy8kbpVDY3VCPK75yuLnoBQ229jGvT+Cp14S/ubPLqKEj+RLDnexgFE7 x1ouUg8F2lpjvLXFgMyqxTswAB2v2ndMIwqaRwNCBNiK/elwqyLUw8qM26y4ww5n4lh7k N73wOE38u9Wtq1ie3ulon1FZL1EqvtPawpJAIAbWpPKHPXSHi85y6dBULU4ZdqF996w== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=dTrAmEDH; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.201.30 Received: from CH4PR04CU002.outbound.protection.outlook.com (mail-northcentralusazon11013030.outbound.protection.outlook.com [40.107.201.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D692D606A31A for ; Tue, 1 Dec 2026 05:06:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D692D606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=dTrAmEDH ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=h0U0UPrvCmfzvmeB6pcqaw0KATWLDPoZvLiKFN8x/fky/W58b/cr0iLhZiPeKrp1n/UjSYXYXTSAhnGQDSNMm92rZcWIMPY/EJ+nxkms1uVgltea9zehnM6g7uw5qKJoRjFe9M1r1OJbzZIbkK9Sthi9BaktijAcIfRidxk0/edq4OATKOeNYzp/JZ2mF2UUC7xs6+GnoXOy2jkWyiQXMgM7ECsY764R96ArLmMoKE9BmYKgIIsGHmFHQHiRB7c+ZZQeZ92jEkUS5w2tRTVGWNvshJTmerVB0mSNFjw63L9Mzwj2OK62yDsIMNe3o67QMt2tXF8CrcAKXmcjQOVxCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vbAy+comi3c71IfLyEeRWF/TnJ5FulY2N4YY7krRk1A=; b=LBbVgnfa3gR2yA5kJF/ZbZSQ+kw+ha8+kCglGKbDzvNWeoO4vj5+6Yul4UCip4P9XiZRX6uH6Tim1K1Cq3if4YAHK/+bL13J1hvVf1PhsHTQtFywrU9XrZs+0QSXQkjK2S2MV7RbLG6JJ9Ry6I5OmwypSWVyaQMlawb9Ul4jci5wO/HYwr3QstMJFHWLSG6UFB3a771nQF2p8kxhu5PC8wFUpBvf8GrIr3Mqq4OYVKVbjysdxUwWiqDDvojp0WexjmaJtLPyZgR806TutHM62LoAxjtQ1VmavHeTxai08K9FXCXSYFBpPpi3c4BTeWhaDiW4ifUfMhqdMPaHZwz/dA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=redhat.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vbAy+comi3c71IfLyEeRWF/TnJ5FulY2N4YY7krRk1A=; b=dTrAmEDHg860dGf/0da9oA4Jcv84uvdokpZE/frcE3LBkn4NdPrcNYw7BZ1NgRebcKOd6/zjTOjPgNMGiC/1PHHgPpr+DQjAMpTb4ODO0+n0G2q/B0QaWWHeO+F7vrokqB63T1CO7cnHfyIYKpR6WZkJljUOpm8O8lRuXmikSBg= Received: from MW4PR03CA0258.namprd03.prod.outlook.com (2603:10b6:303:b4::23) by LV2PR12MB5773.namprd12.prod.outlook.com (2603:10b6:408:17b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.7; Tue, 1 Dec 2026 05:06:16 +0000 Received: from SJ5PEPF000001D2.namprd05.prod.outlook.com (2603:10b6:303:b4:cafe::98) by MW4PR03CA0258.outlook.office365.com (2603:10b6:303:b4::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.13 via Frontend Transport; Tue, 1 Dec 2026 05:06:15 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by SJ5PEPF000001D2.mail.protection.outlook.com (10.167.242.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Tue, 1 Dec 2026 05:06:15 +0000 Received: from AUSALIEM01.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 23:06:14 -0600 From: Amanda Liem To: CC: , , , , Subject: Re: [PATCH v4] virtio-net: Add VIRTIO_NET_F_LABEL for a per-instance label Date: Mon, 30 Nov 2026 23:06:07 -0600 Message-ID: <20261201050608.6011-1-Amanda.Liem@amd.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261105133905-mutt-send-email-mst@kernel.org> References: <20261105174308.11982-1-Amanda.Liem@amd.com> <20261105133905-mutt-send-email-mst@kernel.org> X-Mailing-List: virtio-comment@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-ClientProxiedBy: satlexmb08.amd.com (10.181.42.217) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001D2:EE_|LV2PR12MB5773:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c890be1-a928-489b-ae81-08df4f68d38a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|376014|82310400026|23010399003|1800799024|10067099003|56012099006|261021135927099003|261026121527099003|261026140227099003|261028144727099003|261022105027099003|22082099003|18002099003|11063799006|4143699003; X-Microsoft-Antispam-Message-Info: koZ1Wf39BIUEAsn2DGYUrq4RXpsTK6mbG2+GIykoopS09V99Tws6pMEgTVymicEbwCxMCR+z6dExlQBVOoAP5NbUW2ulSZeLfYTzRntO6ORQTQ6wTNDXOHVPDQWpkXKMg2UQys/5ex4ha8i1ghf9/zUovK/7a5/HhUaeCzmkQqVPYfTuCIv7jsrf5iyq1P5V2ht47lvZFGecPsfWWUsvWox+9xb5EC+/0IQeVpZ8XD9cQzN24zuXBhGMH41g88B+MNJ7Qj4gcQOVEejOBI2dHsfvNBM4zkhfSgiJyhj4WIKbaboNB1H4c8DRNOvWaaxY5QzFXBMHZwPr2RDptfwIy94wr/YGEMceVFVnhDYqnX+mARosJu7B+ZPtZqIQn2LszqwN4iIyTekZ3HTM12Ue33ERQfK33Fm+cVhEy3OUgzl8n1JIF2+m1CilngfAPYzDr6r1RjtU5GaXdSdaCoHT8YGmU3saDqiAz0iFpyhHY/KPb0WLBSZ3IZpLFN8RV5xlNLO5OuP1YX0ci8G+WNRrT9k7qkbOkT8vp4dmvqgLf+PKDmkVVHQ7VY5Lt4DE0pEwu2NCW2HFhxZAc/StqQoevBE2d193wyVrFNFZqkCyQj0XmNWYhxvOwiQCstnIXH6ljxD08tReCQy/B9gakOqZxlBDYAbl68R9OcTMNZz9lhuzAGFo/S8a/PfYc9FM7AKroLoEq/GMp2RW/llt3xKKBg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb07.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700016)(376014)(82310400026)(23010399003)(1800799024)(10067099003)(56012099006)(261021135927099003)(261026121527099003)(261026140227099003)(261028144727099003)(261022105027099003)(22082099003)(18002099003)(11063799006)(4143699003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uk+g106YrK7gB7jJh/zv8AuNMHV2s7A46PjLdhZY9b0zdxu5gk2nGdQyw1pGcCFAV22qKUwAUIBvG24XW+vPHPqCDTKzC0ZQVQn7h3mwHaLr9FKgBJD3KitVUZvfi/u0hcb+5+0a5LCtlEsFqQg1accUMROWghy75jAPiQQ4ihe2zPIuPEpAg3FGg8JqtJHf7R8YSJNwtAbHhl3JLFuEltIeJdn4S38wk6iT6AFCItNcyqgCn22ZBUIPlzU+u3FeZwtT5GaMPoUnMvKFrgP07DTqZP1o6T2sp9qN3jEZAS61RVhw93VNHl/68cDrA9w+YJaGRzarFU8L2jhQb2nGw+vXMLhZIWtLNkTtisgFV0LkHIzaOb8mKjjELd9ERrofBLAYV8H7nCUf1vn15AgRJcV8dMJpm4DPlEuYOuygfgVjsZzNyb5bTma/BebOX7We X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2026 05:06:15.3174 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8c890be1-a928-489b-ae81-08df4f68d38a X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF000001D2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5773 On Thu, Nov 05, 2026, Michael S. Tsirkin wrote:=0D > > +does not guarantee that it is unique or that it persists across reboot= =0D > > +or migration.=0D >=0D > migration?=0D =0D Dropping in both places. You're right, the section below here already=0D says the device can't change these fields or signal config change, which=0D holds true across migration.=0D =0D > > +A driver that matches the label against a value it expects compares=0D > > +the two octet-by-octet: they are equal if and only if they have the=0D > > +same length and the same octets.=0D >=0D > seems to imply the driver will not parse it in any way?=0D >=0D > > The device does not normalize or=0D > > +case-fold the value, so a driver that needs Unicode normalization or=0D > > +case-insensitive matching performs that itself.=0D >=0D > then this one suddenly implies it might?=0D =0D That's true, will update to just the second definition, as this spec=0D should not prescribe how the driver should perform matching.=0D =0D > > +read \field{label} beyond VIRTIO_NET_LABEL_MAX octets, MUST NOT use th= e=0D > > +label value,=0D >=0D > then why read at all?=0D =0D True, I will update to say it must not use/read the field.=0D =0D > > +If the driver reads \field{label}, it MUST read exactly=0D > > +\field{label_len} octets.=0D >=0D > why not less? in fact > VIRTIO_NET_LABEL_MAX above is an exception.=0D =0D Agreed, dropping the sentence. The driver may read less.=0D =0D > > +The driver MUST NOT make any routing, identity, or trust decision=0D > > +based on \field{label},=0D >=0D > why not, if the device is trusted?=0D =0D I'll drop this MUST NOT - trust is a deployment question rather than a=0D conformance one. The descriptive text already says the spec defines no=0D meaning for the label, which is enough to leave that decision to the=0D driver.=0D =0D > > MUST NOT derive the network interface name=0D > > +from it,=0D >=0D > so what *is* it good for? for example, u give example for port 443.=0D > so why should it not call this device internet0?=0D =0D It should be able to, will remove this. =0D =0D Thanks - this tightened it up a lot.=0D =0D Amanda=0D