From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 17EF448B0D for ; Fri, 14 Nov 2025 18:03:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0449040EE2; Fri, 14 Nov 2025 18:03:50 +0100 (CET) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mails.dpdk.org (Postfix) with ESMTP id CFE84402E5 for ; Fri, 14 Nov 2025 18:03:47 +0100 (CET) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-bc7665af914so556875a12.0 for ; Fri, 14 Nov 2025 09:03:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1763139827; x=1763744627; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=cDp6uOa9luTQ3K6zYoH++FIMjL9u83c+GWcx7tVWll8=; b=zyediAitiixhxO3jkNUNSEFiWXKJNH8NL687u7sXFPLLfRTEWKlm34BiWopNdyAivy uJKUDpCzzPN/SQtITnj+R5PEoOgIouzN1ZjSOFJz9GSglAayR5DtD13JvR+onqud2n/6 H27JgKoPrgj5Oe5tql/FX1pvOPFPAp0SfrgTMjHD36jbLLJ+j9IRHBw3I1BJ5doTF8oG gN88fSvYlqkEFC+B8mgoiXF6HlGzKsKY7Z9cxVvcqjyYgdQQ4heZHwZivTWoQkeSxn0L EOPYd300J++q1cX35Hlz4oOhGu4rzUMtn7Rt2sys9ko5UVX2lYQE6rBCHG5rMvvoNITz J5iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763139827; x=1763744627; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=cDp6uOa9luTQ3K6zYoH++FIMjL9u83c+GWcx7tVWll8=; b=fAaDUuSqTz02TzNRIu2JiyCYh8/WgULZRWMutA8dAEWgSKX+EdHqItd9oj+T+jN5xU XPiubcgEJLjuVicg6HVMQeepR5kzKtBphePVEuc18ajMTEzCUYRMCjtVjwWv4pBHUkUG M+1U2Kk06ZrA0cOKH3vWmHlNQGvUyVUOIQTC00rFqyyxfCKA5e6QDJTCICbeujhpNrM2 Hl4DmU6fE8NGvHnI2644iUF1oRzeIQGTLAKdxO35MEKOnZG10PdovK3xxGQ2RDK8T/c2 sghoGeAg5ibyDbpv1oR8UiSrlgXHN9POUbSD/DD81WkBINuzfDxjeNvVzKILWa75W4nw ayIg== X-Forwarded-Encrypted: i=1; AJvYcCVEWXTUjKjyocVbLTZwMRdQJjnPbqQJX2i0mPTu24sJm3KNnFZ7JkoypLxgPFc0b0GhOymLe44=@dpdk.org X-Gm-Message-State: AOJu0YzckIJtV0cSUbzX7jetzdC/AwrttLKfRAy+B++X5PzrdBANDeIE hCV+yxGokrYCTrEUqfD4JupEfaQGvuZ1kJt2a9OxlmUHeuvNdabpRq633TaTZVTL9gc= X-Gm-Gg: ASbGncvqo/34VohF/jX7Ep7reo/zKV1kyRmJnC92cYW2rUb/cN/KNL0bS2ixLHXUlSI Nq0cRli51b/lU9lWVxJ1RsSpxsMXMLvh5clnaPKc9wbs3Bg2skdGCdqNizX1xM7MIFnf7Aia2+J KCPSQwOuSxXyFHqr8lb9StX42oJ3Uj+2JZZY77oR/wZcwCIHa3bi+ucBXpG5xGKYOXCsTh6siTw vzYISgoSMIbIaKILv66KSzmDeSsY77SsN4m698JJsXPpu+EqfB6w6PCCQUIKgcPnEz84ETUYlwV g4dwO/RpCsanUh6Ocsry3rnR/YLt8mMi9mxq8BSbXrXaMygujEUGpCH3Ek5kouTbC4I5l7lx6N6 cZ1C52dPCLzesIIJBFACqJI4k/iXcnHmaGa/pYpFcRav/eose3Lbe3Pw7f8lTcOAX1OkQj+3Jk7 GQEeW1VLaj7uV7UodIC8MBJUy2bn9IY4iM9O13ykrCuiou X-Google-Smtp-Source: AGHT+IH7kBL2cnw0KDDM4FSc+x36iweUBcfr72Zl6kk74vSC5yYq6Vz1pEnS2tfRAdkm7qPqWLOutw== X-Received: by 2002:a05:7300:8283:b0:2a4:3594:72ed with SMTP id 5a478bee46e88-2a4abb54d64mr1125483eec.28.1763139826774; Fri, 14 Nov 2025 09:03:46 -0800 (PST) Received: from phoenix (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-11b060885cdsm11887379c88.6.2025.11.14.09.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Nov 2025 09:03:46 -0800 (PST) Date: Fri, 14 Nov 2025 09:03:41 -0800 From: Stephen Hemminger To: "Robin Jarry" Cc: Morten =?UTF-8?B?QnLDuHJ1cA==?= , , "Christophe Fontaine" , Subject: Re: [PATCH dpdk] net: ipv6 link local compliance with rfc 4291 Message-ID: <20251114090341.589bcbd6@phoenix> In-Reply-To: References: <20251114105751.54802-3-rjarry@redhat.com> <20251114080532.1e86d13e@phoenix> <98CBD80474FA8B44BF855DF32C47DC35F65560@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Fri, 14 Nov 2025 17:46:42 +0100 "Robin Jarry" wrote: > Morten Br=C3=B8rup, Nov 14, 2025 at 17:14: > >> From: Stephen Hemminger [mailto:stephen@networkplumber.org] > >> Reading the kernel source there is also special handling to include > >> device > >> id into link local address. This is to handle corner case where > >> multiple network > >> cards have same hardware MAC address. =20 > > > > Multiple physical NICs should never have the same MAC address. > > Lots of stuff will break if they do. > > E.g. a network switch will forward packets to the NIC that most recentl= y sent packets, so its MAC address was learned in the MAC address table in = the switch. > > > > What is the use case justifying this tweak in the kernel? =20 >=20 > Some drivers expose multiple ports sharing the same mac address. >=20 > This very is specific to certain hardware vendors. The comment here > refers to a change from 2005. I couldn't find the root commit/email. Yes, this code is in first git commit 2.6.12 from 2005 it is possible (but not worth the effort) to find it in earlier repos.