From patchwork Tue Feb 13 15:04:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Chevallier X-Patchwork-Id: 200476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp600513dyb; Tue, 13 Feb 2024 07:10:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWWpinLuMfbLawE9SHcc3dlG7r69h3W8G9E9QaG/f1mqYlmSSK7LfmRgyF+TN7qvUYgzvt/sgLEU9Gh+o8DzjBhemXy6g== X-Google-Smtp-Source: AGHT+IG68CGuLHtc0ieKglwwZtXaGbWvlUwhsjA86gRgDvfJo+vy43oq2ZPMMDUqzcoTil+Jhcr1 X-Received: by 2002:aa7:cb47:0:b0:55f:d95c:923 with SMTP id w7-20020aa7cb47000000b0055fd95c0923mr6691266edt.25.1707837013545; Tue, 13 Feb 2024 07:10:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707837013; cv=pass; d=google.com; s=arc-20160816; b=UQmuCtRF1+1QEqA838BGz+GIgtsmgw3qDzg/DVfvLBe91yRYYRunCdAddsqF5e+b9l Mf5vagKoiz27GH1N0/ONOdF6ZUrSI+JJsoDoD59xkZ8QWy/EU86mK5m13ne8H8PNifKX rqSjrCVnBk6bkqiz8kip4+aT4cpmTSPd9w4o/JgU4tXyVPXIHYkGpzJ6wcuJJ8QnaY3I t2iKFhNzti8qhIrCGEemP6lxCPhPJ7QG1ZifBCfTl8s+0nvp64wnoQHNbadJFXHtxZ35 AJUfTOTZTL2G3liILl+5SyiCxnObah2x3/a3/g50nAdOxsUlngaew816D+7GBpWPHEkF AV7g== 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=VwIX7+El5QmnjROakdN4myLsb1ax3viGLX6LhH3RGqg=; fh=aL61WfFzcAtLU/cqbAnLoQNaklO1jJhSRN92OCM2+Kc=; b=xhivvFz3hLAdzrgGvZHUoyig1W94fBc/RivUpC6dh8rirqAzUj64IJvKu9Hn4m/yXs TSQUf3sUrYqg3GuXruFJ8OGh35pd9hPE6rXJxFCUQZIuU6sJ8RiPjuaEd6ONP8u/6OoR 3vTImRWNPMam29fJhwPdFo/wRpPYO97xlOCsuMb+R5NRpPHlf5kR+G/SPIhIvhvtPyJN 4nWhSESqrtXGVCtRVQ9LQwMyw6ss5NCzLVk7V5Mz9mJNcVxiP7CR9GCWE9nBfR7G7CeK Fz1/ILMQtb8TvajINceZLFC3mY7BJFsoaUR2Ynq9WnAikcOOP+uJ4Y+5Vq3tw0RghQsp HsXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PytGMhye; 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-63771-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63771-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCWzMKxzvqxIjAeS7deNTombk+/srK0DjK5RXss26lrywzEm4aMR+gEY5dea3ZTNZvysAFDYQJorUICdu8hTqTKKLY9ZnA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dy22-20020a05640231f600b0056110e68e82si3849950edb.137.2024.02.13.07.10.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 07:10:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63771-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=PytGMhye; 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-63771-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63771-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 0204B1F29E6A for ; Tue, 13 Feb 2024 15:08:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3690560885; Tue, 13 Feb 2024 15:04:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="PytGMhye" 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 82F535F87A; Tue, 13 Feb 2024 15:04:46 +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=1707836688; cv=none; b=SymAh0aH9qPRN3hD6Yyq4c0HoIKECiLs34A8hGDeinHsBOjBF9Owqq1EOtvYD0Z85Ts6yFIiITS2E9eD7FX9LNDNRbpBMGHunlxarG8OL29V6bHKZbrKVNTLfXhG9aaH7sozqjCjKDuNa8CRfqN8+WFPI97F1DK8A9z+dlFscoI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836688; c=relaxed/simple; bh=57X+EBrpaLE/1lkDUXRPxy6Yx07hO3FWy/vn76Y07Mc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eBpy/++YD34xLYh+ZLmgkxeyfYbQWY4xT2b/ql/15o/xdVaehEYNcg/v1klC4Z06oweS4OMx69pq1BIk15TeG1P5BGetusTPGF64ObZMXiQzxWjHkhMxRM4Z7EW9LKTxdpduC7/xF7Qy7jnuJZLAQSAbBD96pwiWY9c6ipTiGYg= 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=PytGMhye; 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 9E56C1BF213; Tue, 13 Feb 2024 15:04:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707836684; 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=VwIX7+El5QmnjROakdN4myLsb1ax3viGLX6LhH3RGqg=; b=PytGMhyeOYM5jYUaEKRjAOI2GSDCVx7LRSQT5UzLNj3dTIysGD8dOOKCCRRdZ/YR9a8hLu JNCEPcEhYlYIhc2xtZVXuA5tlCsQ6nZEF9CowAush5Zb1AyscTgYUAwyLt5O9hWvSWW5pi FO6U+VVobe5VnwlEj5ag02QxY9oqAdIG9TWAljjHcERdIxvII1VEWCA+fTjlq8wJ9CfqV7 cKAC3siHAnVOKj7n5ApO8V2qLOyrpaCE8nNMXJdCBIu+1RMNjVl4yqOFQOWPvc/fbZT6up u6EV0oq68SBcB/v8Oy0QaVzcWsAg6/SUuA2PaP47ZihNTb1gXQsIyZ/mZwwVjA== 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 v7 06/13] netlink: specs: add phy-index as a header parameter Date: Tue, 13 Feb 2024 16:04:23 +0100 Message-ID: <20240213150431.1796171-7-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213150431.1796171-1-maxime.chevallier@bootlin.com> References: <20240213150431.1796171-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: 1790796904781663046 X-GMAIL-MSGID: 1790796904781663046 Update the spec to take the newly introduced phy-index as a generic request parameter. Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn --- 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