From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BE8F9322B9F; Mon, 23 Feb 2026 23:04:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771887843; cv=none; b=EbQsjLz4oemKTftaoZyNyWxkcj22kpqN6LiTYiyixJ5B7xb13IyuZP1dyT1UEHbHWyIUxaRaJ+GPkCEw36jNal1uOcDJBZhwk7ZX1kVmgGyShhfNhEsSOzGl+MNbYOOjipIO/wvdHS7XjfgDlV3xBQd282/TWt+eTvD5+BFx4xA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771887843; c=relaxed/simple; bh=TkyQ0ve43Eajtu+f8t4voCveupiNrZZM+dzN9AHGyGc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BN1QmWvFAJBjw9BSXp1xaJ0q14FAb3r9bsXub1Utq8vD1eliSNeD5B0qyq2F4Dd8a48RXRd2gLpA06GyAeTiZrTbPf81lJqd23mv3wOjcSQVuUSKXcn7dNjfVpTkxZxCEa6YBZHlPRaqZ8+xHtb6+4TLwMGuGC0DEEclgZsYPoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=meaQnNPL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="meaQnNPL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91CADC116C6; Mon, 23 Feb 2026 23:04:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771887843; bh=TkyQ0ve43Eajtu+f8t4voCveupiNrZZM+dzN9AHGyGc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=meaQnNPLeO+BPz/znhZDNE2E3JpKAEv+ZoJkxV3penwNDIZd/a9SP4wXiUoBy061Z Vye9Wf+OcJc4tLQkvIkRM4V+tXVAOHxQOEobTvL8OCM5XnkOqxWS1zgwW/6wol842P 7gcNNJm+FzzvsVMFFG/BAYcwnMhee3vOP5n03XHLwRhs8BzZ6N4eIb+3Rp4RcpwSfF RNCmIoEjc/+HM2n7JKoNopTHoTTBs7Chj048Zd1haz69t0BAPTQUp4iqiZfK8aRxzW 9qfxbXddoretLbXQxpoBQ/zkjddx9vADYU3cli67tb8EbpzCaEqV4kAkpN7A2JlH4U S2z5Yl3CMA1Lw== Date: Mon, 23 Feb 2026 15:04:01 -0800 From: Jakub Kicinski To: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Cc: Andrew Lunn , netdev@vger.kernel.org, Donald Hunter , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Saeed Mahameed , Tariq Toukan , Leon Romanovsky , Andrew Lunn , Maxime Chevallier , Michael Chan , Hariprasad Kelam , Ido Schimmel , Danielle Ratson , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [RFC net-next 0/4] ethtool: CMIS module diagnostic loopback support Message-ID: <20260223150401.7993b11a@kernel.org> In-Reply-To: References: <20260219130050.2390226-1-bjorn@kernel.org> <415c4922-cc8d-4e35-bbac-3a532f44d238@lunn.ch> <20260219160519.323041bf@kernel.org> <3b0949fa-0b05-4bce-86c0-2a7a058865a5@lunn.ch> <20260220131254.03874c4c@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 22 Feb 2026 20:58:30 +0100 Bj=C3=B6rn T=C3=B6pel wrote: > /* Loopback layers/scope > enum ethtool_loopback_layer { > ETHTOOL_LB_LAYER_SW =3D 0, /* Software/Kernel stack loopback */ What would that be? :) > ETHTOOL_LB_LAYER_MAC, /* MAC/Controller internal */ > ETHTOOL_LB_LAYER_PCS, /* Physical Coding Sublayer (Digital) */ > ETHTOOL_LB_LAYER_PMA, /* SerDes / Analog-Digital boundary */ > ETHTOOL_LB_LAYER_PMD, /* Transceiver / Module internal */ In my mind the "layer" was supposed to tell core which driver to send the request to. Same concept is used in the timestamp source selection. PCS/PMA/PMD is both too fine grained when you have multiple PHYs in the path, and does not cover all the possible loopback points. > ETHTOOL_LB_LAYER_EXT, /* External physical plug/cable */ is EXT used somewhere to mean SFP already?