From patchwork Mon Mar 4 15:10:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Chevallier X-Patchwork-Id: 209575 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1484936dyc; Mon, 4 Mar 2024 07:13:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUwpWrz/1FfZOYaarBkxLxa9Y0n7iGinBOjiXnd4l6YPgoWuxsmAaUbRai+OUJed90KpL5Y7OzVgfc3LYRwckspNT63Yg== X-Google-Smtp-Source: AGHT+IH5FvTpN+akS10BCmdCkatLSbCJkKsXddcQDT0kaNGGWWFPsDbXWDFD+G952o3GQ8kEFcy+ X-Received: by 2002:a50:cdd0:0:b0:566:3f3e:3a23 with SMTP id h16-20020a50cdd0000000b005663f3e3a23mr6155506edj.1.1709565238418; Mon, 04 Mar 2024 07:13:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709565238; cv=pass; d=google.com; s=arc-20160816; b=odWnxr5TGwJOn6ZsM7qnoncBHZtH3v4SmkobxkysBwq6k6qfWwtq80P6QP2bnMn1Nq FhomzlEKBVskR9N+UA/dUUtPW0JbcisHR0q0qYI/lO7WtftO/E81GOYa5s4zu1RKfklo RNWYLiJ7+5VmboOuwwAXwcSCvpeFsI8EmKii2/XdWAR9m4aWwGAA72ZbVufCqgjvFLyY RTVMXAiBW8Z7drxH4mnIh1dGDj2tb7J6a2ZahZPR7N+tC2/Jrw8kN9g/Kg7W3cctkZ0I McO7YoPKok0bA/WIs2MisER6uCuYo808JdbtVjm8kXHFoK9w756jlLRtdN/O0UPuQbbR ma+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=1pgzFb+b0po/iP/C9MLnMjDEAAPz/mzUfU3a45pXWto=; fh=1vUu/d1GTjraph6G+ET+Z0z13QVrf6oL/IrrK9zaTF8=; b=qHO+Rvr2NOgGrmHzhMDf3hJ+pXLZcUchPy3D2HyqB/CeGw392V4x1y2vlLOkdur6Et 4OZhnG5nI+QKLg3pPnG5pLQGvtZ5xsV8MKCD3UKHdgoSw9jt7hPV5bNt21aMD8SI4YmA cQlAmH9QZBuQtnoGuDlcaz4G6m0S/WnLeX9OYO73aigkZYP+0+2Zpo19SXQJDv4uk7vz fxXK4rveiOfCXPsBeziFOQa9H2L1bHqcjyFywZvpkH+N7imTMebRIgS/hPI69RPxThAr mB9k2nSW4LUBVSe68xyDBB9PtJybziq4XKMnRjXtpfips+a8perOEQgvlfLtqIZRoXK6 swKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=KS7bF7Mo; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-90785-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90785-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y22-20020a056402359600b00565b5e786cesi4182693edc.27.2024.03.04.07.13.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:13:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90785-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=KS7bF7Mo; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-90785-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90785-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F10FE1F23094 for ; Mon, 4 Mar 2024 15:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 216C254FA7; Mon, 4 Mar 2024 15:10:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="KS7bF7Mo" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 5F6BE47772; Mon, 4 Mar 2024 15:10:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709565027; cv=none; b=NsvOo+NnP0JbZSjQC6+7rZ+s2oxq7LtRTK5u00E34yJZXXuxtBoi9uCTsWkjlI8DDSas/hTpW23PuGbLAnJVnsKjBT9cxUTaDx3vP+nMeGgOFcVx/LFhw6EkuSgoZ5eIGL9TuG1rd1PIMJLYBRm+wqUl4faPy9w7A/p98dIyRPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709565027; c=relaxed/simple; bh=FObpKjZwmA5qdngYK9icddLLLWJb/ZpGOA9fXbSUY2s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cDlCCrkxKB+xk5c7xFtqY0buvgPMKgpSgkMxC+VaYJ0PMfhy4fDIhQhGS8RL1+hGPoAJCGlXO9NREXgogG/V+s0pPDTbIxtt/LaF1toQf+6fZxgaTQux3z532z2HiedBfFAp1WJKD06KIm37SawnFetBs7Ao8h4j/EjVEwZqN8o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=KS7bF7Mo; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 7D0141BF207; Mon, 4 Mar 2024 15:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709565022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1pgzFb+b0po/iP/C9MLnMjDEAAPz/mzUfU3a45pXWto=; b=KS7bF7MoGQSpfMPtTUNNE0XVL0mtZfB3dZUlx5A5ulCMoYBvbepxnj6GmYh7vr2EM2isB2 KqiGoNpNkIkN96b4yWT+ke2OIMB76f22P42C1PgVjGLWmEwjBYReDaZ4PrylxPhrJQ/CfG 1iCySfk/j1PsVIU4y8B7WoLmfge1qLCZETcY22xAgfWpZMdT2i37z69hCSm5CKPESNjHNb DPWN4vxbpP1X1uVDS1SCcuS3H9vTrIcsb5UTEno2eZjL8+RDOl1svbH03W4/c0+Ss5Zoq6 krrGgmg+3zg8oGXEhoFKkksAaBXA6b47QAnTvFj6GbqQ57QYN4uJbzAq6U8vCQ== From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?utf-8?q?K=C3=B6ry_Maincent?= , Jesse Brandeburg , Jonathan Corbet , =?utf-8?q?Marek_Beh=C3=BAn?= , Piergiorgio Beruto , Oleksij Rempel , =?utf-8?q?Nicol=C3=B2_Veronese?= , Simon Horman , mwojtas@chromium.org Subject: [PATCH net-next v10 06/13] netlink: specs: add phy-index as a header parameter Date: Mon, 4 Mar 2024 16:10:02 +0100 Message-ID: <20240304151011.1610175-7-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240304151011.1610175-1-maxime.chevallier@bootlin.com> References: <20240304151011.1610175-1-maxime.chevallier@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: maxime.chevallier@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792609079536051554 X-GMAIL-MSGID: 1792609079536051554 Update the spec to take the newly introduced phy-index as a generic request parameter. Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn --- V10: No changes V9: No changes V8: No changes V7: No changes V6: No changes V5: Added Andrew's R-b V4: Ditch the ethtool-user generated code V3: New patch Documentation/netlink/specs/ethtool.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml index 197208f419dc..bb6e1dc6d1c5 100644 --- a/Documentation/netlink/specs/ethtool.yaml +++ b/Documentation/netlink/specs/ethtool.yaml @@ -30,6 +30,9 @@ attribute-sets: - name: flags type: u32 + - + name: phy-index + type: u32 - name: bitset-bit