🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5199

Re: [PATCH net-next 2/2] net: pcs: xpcs: select operating mode for 10G-baseR capable PCS

#5199
From: Andrew Lunn
Date: Tue, 20 Oct 2026 00:08
22 lines
9332 bytes
> I have spotted a very obvious flaw in my reasoning above: the special
> case logic for FBNIC that suppresses the initial XPCS reset.
> Unfortunately the version history doesn't mention what bad thing we
> can avoid by suppressing the reset (perhaps a reset can clobber values
> such as PCS_TYPE_SEL that are injected by the firmware).

At a guess, they want to avoid disconnecting the BMC, which is sharing
the link. The firmware is probably doing an initial configuration of
the PCS, so that the BMC gets link, before the host boots. A reset
would upset that.

But just a guess.

We need a better story for links shared by BMCs. phylink should be
told, so it can tell the PCS to be extra special careful not to upset
the settings if they are already good. It can also reuse some of the
WoL code to not actually down the PCS, PHY, SFP etc when
phylink_stop() is called etc. But so far nobody has stepped up to do
that.

	Andrew
Technical Details
Message-ID: <2bd6d040-6e28-4323-b02e-c8cf11635b24@lunn.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348910-linux-kernel-netdev=dewy.ru
References: <20261014223100.304486-1-elder@riscstar.com> <20261014223100.304486-3-elder@riscstar.com> <f8c01002-da88-4f0f-a02a-7480591f4296@lunn.ch> <atI1IK6blP-vumLQ@aspen.lan> <fe13016b-ebd6-4a2f-a07b-324f46b456d3@lunn.ch> <atZJBaHU2QQGwcnG@aspen.lan>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348910-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 2/2] net: pcs: xpcs: select operating mode for
 10G-baseR capable PCS
Date: Tue, 20 Oct 2026 02:08:21 +0200
Organization: Usenet Network
Message-ID: <2bd6d040-6e28-4323-b02e-c8cf11635b24@lunn.ch>
References: <20261014223100.304486-1-elder@riscstar.com>
 <20261014223100.304486-3-elder@riscstar.com>
 <f8c01002-da88-4f0f-a02a-7480591f4296@lunn.ch>
 <atI1IK6blP-vumLQ@aspen.lan>
 <fe13016b-ebd6-4a2f-a07b-324f46b456d3@lunn.ch>
 <atZJBaHU2QQGwcnG@aspen.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3745311"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Sg6jUq4gNuDdf5irdzsl8GdS0+8= sha256:6oStTKTz5pYE9ik585/qw2DCvZsyiO+z1evKDZ9hyl0=
	sha1:CLFEndG1rvHYr0Y+95rmQSQp6PM= sha256:o+WcYSTPmBzjhCsox0V6SuOEVg118CpYIi2Mz+vD0jk=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 7D9CF110B62; Tue, 20 Oct 2026 03:09:02 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id mSzvTCB10ryj;
	Tue, 20 Oct 2026 03:08:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-348910-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 9A64F110AF9; Tue, 20 Oct 2026 03:08:49 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 04CD02D6C8; Tue, 20 Oct 2026 00:08:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792454922;
	b=dVe8IojwiFO/yOGKOmkDliSxprdHjUVOWGvN5lSlR2EKI2dQxoM7S+YJ7LkAo8zXs7uD
	 qjZZkb9pMrlqvGGJ80Z/kvCt2UJrmlBE/Cjmz067KYnXBd4PwN2KSyXYV59whsN0PiNOb
	 /JiP7BfUJhWjeIi3GCODB1LSy3unIAtRWRQ3jEe5AS2gSBvgdQ34wbHI8i34v6Syqg8X1
	 BHF/iMNRdk2oIs1sPKq9Vdb0RDZMwAbwY4wiSIZqLy5EbVPM+dRJVuR7vE8TLuSdfsH2y
	 gYDmDTl8MrjPMbxYewlsUa+8/br0cXHJ+ng9QtQ7lQK2mQknKMQcNWTomeSmS0fMM6w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792454922;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=XrES0nnZmNQvejovFCK6JN6ubaAdWpRVm1jqxh9GRiI=;
	b=u0nkWcGg6iuNVCx9Tef7bLGQdRNaM5R4K2BhLdii58cNNY0SUEzZ2EENj+N7ZqPagR6U
	 RiEwU9SMhK42Wiw0J7j/rZwsgWW+Ll3V3HfgcEVCuCJWgtZmFVegkYAMOEK10faLHRqDt
	 hYc2WskVef6S+/YhwJqdxahHv4RB0yUD+jtsO8CDPeAV202HCuRlBuQnKR/sJYIl7BQ7d
	 937IuwPQ9TxnpYDxTEKIp6AvdlZvb7Wi/puH2kesB+0oJkX3tJ22c6OxAF9fuiJvvr0Od
	 ZJ7oQCfBE4XKEoHrF2i1P3xVVXRVfDo+dK1iq7d7fatBcQqPz3mkynL4OXgdeXFAkUA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=mne+8Gu1;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 69B2D606A31B;
	Tue, 20 Oct 2026 00:08:42 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=mne+8Gu1
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792454916;
	b=S8/rUWFjnzVBJwr1twD5zsd0LHClIa5GPkj0he/RjksSdFjM0GC8F3BoHs1QSdpBUoFi
	 EQQmc6h6WUmc/9W+SQopkzlGQX/V2tFnyETGHmguneRdSeAo7725TYtDUdCiKekKGK89n
	 s8DhGoQlj7mBH4kzKxbIaD/H0V8NhuS2jnlziOc71dRNL3eEmeE7Ssl9vQkDRwxd3ckLF
	 7BycIeYKS4mkjP4zr9Fis6V2gSndyy3qDlAWgCF+K4bWY3uh3k7G/Y8kAORExSOJxnuaf
	 51lKJ6y6w0iDCHVwXdOVpVTv/1hXILFhESU+oBMRknG1Zi54RG+bS71AOi7sptZdpmg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792454916;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=XrES0nnZmNQvejovFCK6JN6ubaAdWpRVm1jqxh9GRiI=;
	b=WE5zeCl+4UWgP6A2gW8bREWra9Xi+w0Oa3hwke5HaLUNt06Kzi5Q6lq9s6FGvH/vwRe/
	 AU0bBV20GDQDLW0UxzpeU1+A30Gi9B7UqKRPVoKiosoIiPkHD0c7ZEwxGPZ/REwXoMBR8
	 GW9kpgEJg52IkPKIgw9AM6XG2Qulr2MJfAuO7i8sntJA6S/PrQbx2+thTz5LHivTn+a3P
	 xRMhWksnqgDuxnov54eTY+nWY/Uli4vneNRE6RzVh4j+q4zQdzWzB2jXXZ8P9ZTfYwwA5
	 fE9SD9i56G22McXbgd4106DOPdlCu43M3UAEBXfgl5900efLOiR9Xj8pYlMsDu25RvQ==
X-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=mne+8Gu1;
	arc=none smtp.remote-ip=156.67.10.101
X-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 E3357606A319;
	Tue, 20 Oct 2026 00:08:35 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E3357606A319
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To: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=XrES0nnZmNQvejovFCK6JN6ubaAdWpRVm1jqxh9GRiI=; b=mne+8Gu1M+8AB66REq8iZBT4YP
	zrl+irFzqgNryUw6SF+SYEW3PxXq5RXhW/rN5NqstXNhzXpp6FMso12kR3nVhA7DNgwTKljmqJnGa
	da5tMMiGQ2S7NFktUc8tKuPCQJJckvrSsOLXp9BeE51YwoCFjZOcET4BYAwd/vhD4EVw=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xIxOv-00Bj3d-8x; Tue, 20 Oct 2026 02:08:21 +0200
X-Cc: Alexander Duyck <alexanderduyck@fb.com>,
	Alex Elder <elder@riscstar.com>, hkallweit1@gmail.com,
	linux@armlinux.org.uk, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <atZJBaHU2QQGwcnG@aspen.lan>