From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796227883; b=rt3hbUs1EtdwmHVD2ZJusWEfVFMWGTAMoYI0V+0J5OUg5RESGda0XALnJSWayE5/t0jq 4V+epNKABPKVhuGVfgsWpcFNh+J6T5tOOXgRhLhz9aYGZkRrg4voDbB9GeSbTlmwMiUS3 RQvj1VQbSQaKFDeNlJyk3+Iv/2YAtNvB88/AWKEZZDkEX/uuwBm61OKtJdQ4LeM/GMCyL zTXl+ZQz0tJXW+K9Sxopjvj2wFf+vSdtUl9kxBZ88jFZfvJ14OjR6HpUX12IOQEk1nuIl Jb5fzWdXJAlOLTBY4DscJUspFD8DaNmyRo/FoPzxoHM17eDIT2PrihZMEVqrvkvQjkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796227883; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=69IMlxd1yyzCik/ilOvlhVjJOKvIow1TWfSAjqdXKAs=; b=AyYxNqsQCRC7GRAlai/RIPpw5sfoSra2w/vU7F6f6e6fCLa8yqSiId8T8GAXIGHk7NmY s7FAPXVMjTG27iGY/6a741Hl97RXzmoJ9ZUxbri9+UvF2x2xAhXC+DoW+LUol65Cx9fjZ 6dXSObII9mRxmvGMGFFhbi27T9yCPbvmBdv6aKzpdWJGAjU/Gt+WyTsQpl56YCX4+Xugj cNM0rJu2IVsohE2YbUqX1aKN+8teBh2yvJNqQNkzmcWVx4PBWIUu4eE1iSYf3cZdzLLQP Hzizf9zRtw4pjXzI3+mTU0fTQXiR5HCE/bkOAlUoBGl3WY/5DUbgq/4bVnVcl8YpQ8g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=SXsGccrT; arc=none smtp.remote-ip=156.67.10.101 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A604606A31A; Wed, 2 Dec 2026 16:11:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7A604606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=SXsGccrT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=69IMlxd1yyzCik/ilOvlhVjJOKvIow1TWfSAjqdXKAs=; b=SX sGccrT/tAM4bT7hazSsgIyqonMWogirMhVJ4XrZfnIeVHm8NeYzJaEDZq4dizwuuh+p9Ml0S8FGQn vOYbTvLcq8txyb4IVoHfX54gpgeWsM7UdCm0fsp4o/XUuiZ9PgOQ1wMShBMKdzPiQVHOSNojkmFGQ DGM/Wu4nePYJ3k4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1xYmvF-002rHk-20; Wed, 02 Dec 2026 17:11:09 +0100 Date: Wed, 2 Dec 2026 17:11:09 +0100 From: Andrew Lunn To: Fil Dunsky Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Philipp Zabel , Hans Ulli Kroll , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v6 2/3] net: cortina: Add CS7542 CPU network datapath Message-ID: References: <20261202-b4-cs7542-ethernet-v6-0-a8c1905efa9f@gmail.com> <20261202-b4-cs7542-ethernet-v6-2-a8c1905efa9f@gmail.com> <8fc46e0b-0b85-4bad-9c78-58cb5f2dd2d3@lunn.ch> <179617937855.5.11721813140107507027@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <179617937855.5.11721813140107507027@gmail.com> On Wed, Dec 02, 2026 at 05:42:58AM +0300, Fil Dunsky wrote: > Hi Andrew, > > Thanks for the review. The Cortina NI has one MAC_ADDR0 register for > octets 0–3 and one MAC_ADDR1 field for octet 4. Each GE port has its own > CONFIG2.mac_addr6 field at 0x18 + 12 * port. The vendor driver describes > the resulting address as the source for generated pause frames Pause frames don't really matter what address they use, they never get passed the MAC into the network stack. They also use a link local distination, the source address is ignored by the receiver. So pause will probably work with any random source address. > and > the address for WoL detection. WoL is going to be messy. Basically, if the user has changed the MAC address, you cannot report the MAC supporting magic packet. Or you need to somehow give the user a way to know what address it is listening for. Maybe just rely on the PHY doing WoL? Andrew