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 7D342313E1B; Thu, 26 Mar 2026 22:23:39 +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=1774563819; cv=none; b=QisO2GBgq1/XSrr3r0VGxPH6o3a3wunpo/3vYoc03sc4Wsgn3ScHxEzhWZBbjZ2H1c4tFCwGkhxNMwAzc73ipC0hLk7PiJbJRVpHoUaQTjmDbS1mCW9AJf4upNmBKj3uSDwe40CPv97J6LICHFJIh9dTmZ6YjOu5REpt4mmH++w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774563819; c=relaxed/simple; bh=gd17ff83Qslzmu6nQdhq7Bpr2kdFpRbIISHbIzyiYpg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BAtxxDxmyhRY1HRnXN++8nlfmsMgB+xKUoydNR4eeX/kVc6JOsgD7aWXx+3tmi7y9jxCBJ9pKtn091qSuVIQRTKUzQk1rPbSULaJssYb4B0+oc8LyX5VVRCkcSzoTNzXQ6BwZ5MlfMywhvd2JgKyFhikG2CE4ScVc842xaQJQuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y/sh3n5j; 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="Y/sh3n5j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF0F6C2BC87; Thu, 26 Mar 2026 22:23:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774563819; bh=gd17ff83Qslzmu6nQdhq7Bpr2kdFpRbIISHbIzyiYpg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Y/sh3n5jSq5Y4zqHT1MXYwHYKcO/9HobHF4tfnFrzErwbT335YDZqcq2ireQ+EEzB mdHf3J/1PWEOw3WJk+Qw1+i++pcJ2XbkW7BTAz/U1jGA/B0zhfb0tII3IDId05p1aI /rEt8UbeZoq0HNoPUiojinswNIvgVqbZhtGACVzeEFHZmbkaQTKZqCDVTnAly+cy99 bGdD7PwQWXfJgMkxatA6s2vZl8xBnMC7VGdHWVUUZAtrPCyERwAJAM2yflFNJz3I7a Oa8Gz+iEu3hR1KXJ+FcKdMZSKUy5aoWrcb5QWYKhN4BH5mIIrK9orlv90gmprr5YM8 kzrg6zlmgl04A== Date: Thu, 26 Mar 2026 15:23:37 -0700 From: Jakub Kicinski To: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Cc: netdev@vger.kernel.org, "David S. Miller" , Andrew Lunn , Donald Hunter , Eric Dumazet , Maxime Chevallier , Naveen Mamindlapalli , Paolo Abeni , Simon Horman , Danielle Ratson , Hariprasad Kelam , Ido Schimmel , Kory Maincent , Leon Romanovsky , Michael Chan , Oleksij Rempel , Pavan Chebbi , Piergiorgio Beruto , Russell King , Saeed Mahameed , Shuah Khan , Tariq Toukan , Willem de Bruijn , Kees Cook , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH net-next v2 03/12] ethtool: Add loopback netlink UAPI definitions Message-ID: <20260326152337.2cff3c24@kernel.org> In-Reply-To: <20260325145022.2607545-4-bjorn@kernel.org> References: <20260325145022.2607545-1-bjorn@kernel.org> <20260325145022.2607545-4-bjorn@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 Wed, 25 Mar 2026 15:50:10 +0100 Bj=C3=B6rn T=C3=B6pel wrote: > + - > + name: depth > + type: u8 > + doc: | > + Ordering index within a component instance. When a component > + has multiple loopback points of the same type (e.g. two PCS > + blocks inside a rate-adaptation PHY), depth distinguishes > + them. Lower depth values are closer to the host side, higher > + values are closer to the line/media side. Defaults to 0 when > + there is only one loopback point per (component, name) tuple. > + - > + name: supported > + type: u8 > + enum: loopback-direction > + enum-as-flags: true > + doc: Bitmask of supported loopback directions > + - > + name: direction > + type: u8 > + enum: loopback-direction > + doc: Current loopback direction, 0 means disabled u32, Netlink attrs are padded to 4B anyway