From patchwork Tue Feb 20 18:42:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Chevallier X-Patchwork-Id: 203754 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp596533dyc; Tue, 20 Feb 2024 10:44:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzN5jz4sm2e6nPh+55q5Bklf7FeHmV1PaA5QRGkcuXtSa+tWHvzyixxRz3rN5c3NPwXC24h5UYpukOAdVGtVu1dldNhA== X-Google-Smtp-Source: AGHT+IHXyH7kIpbPgDhDi8NCho3GDSj56hPFW25yz9y6+F/+LOITgeI9FHkPwQIPa4hWsJIwPFhO X-Received: by 2002:a05:6a21:150a:b0:19e:b477:33a4 with SMTP id nq10-20020a056a21150a00b0019eb47733a4mr22241649pzb.27.1708454683842; Tue, 20 Feb 2024 10:44:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708454683; cv=pass; d=google.com; s=arc-20160816; b=V51Lc0LBHQSU+y9HKrQon/zoIwCJZItjqp/pezzUBPQXftR1iY43JukcZsrgy2Bu/v SDC7W/z54RzAOt7JfYjtMOVG7udZxTITSaREcg4ouesXz3SSh7pfprLbyUcQuAm0vGXz TERF+0B5MW5DjzH0YTzNQ/qo0OsQdQ4NcHmfz51nJtHzMY1kXMZTAI33bP8HA6EgxEC2 bqmt1IF9TyfeTIfTO0Rpa+O/Tigcz7oZxTNG5rrLEQtymJOFcjpkRE2PuNMMhdbgDt1x gTdrjUb1cwqDnaxtitkDD213E7bcOI1Ff3qCHUn+UEYww+ix7lywmoa/8bUfe4aOANmZ /i8g== 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=kzU1DGkxlviUtU3Iczd0dNlsucDWa9RamGMHI1il2+A=; fh=1vUu/d1GTjraph6G+ET+Z0z13QVrf6oL/IrrK9zaTF8=; b=f63mxenLPwigG90SXwgacQ8IeiCveeFjtwBfDNJxjOOXVcbOc12kiPvPZpvW3zJS7+ 5YcRTk82sOO4MVJR4HDgKaLvdfsTQEbpKNqyybEnSnhgaj58+NTp+shW7/Nh/mNTwpnU waDU7el/XgCQ1auuk9GPe/5jZG69WCkA3dZjaJW98zvxYd9VjZSrgyRpbwyJrN9Xywr/ GiHd2k0+wPj7JmlhwLSRxBB56WDGzDpf7lKS8/Tq4H++g5f0j3i3DNnmimC6KNCeVIOi g6DR0VInuOpn3HpXKyqZk2dm6XtQTpdBvmVX5uOExnylTHj9Xx3hH2haowdFdctuyoGX J9+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="cXd+SjC/"; 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-73531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73531-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j64-20020a638043000000b005dc96170131si6509411pgd.766.2024.02.20.10.44.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 10:44:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="cXd+SjC/"; 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-73531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73531-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A59C2286549 for ; Tue, 20 Feb 2024 18:44:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F9FB14F9C0; Tue, 20 Feb 2024 18:42:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="cXd+SjC/" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 2D78D14AD10; Tue, 20 Feb 2024 18:42:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708454555; cv=none; b=YoY2wuHdB1q/JCUdeSqpEGjrqvFzbAgh7XHJKdhV+EBqk2QaQyNXE/KCWlWxuwyq5Y0nH5L4OuaWAgqVQrUNncUgD8PKGr5clEFL5Wjo55j4pBk12ggumbM/cTGmt2DwtC7+a5K0tYmUT9n3Mcz5uboqk9+iTZUTD6id92em9T0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708454555; c=relaxed/simple; bh=cu//mvdBnU/a5RvPo+XEddcDQnJai6Uuq48F6wEkBzw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uRvTSL5gecTuOzzCrgbWL/9CRs5aiE6+SQmgMPBGjJn20vv9TTUJT7ZV2Jcnlhs8K729QuEVYTgDugO0Ln5ngZnELstoUKtcEg+5+10mx8pACARtJXkpGSB1tE2bM2HxkAyIhOuMfQIcc38VACb/MhobH2x1GnrybNl9bx8p1is= 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=cXd+SjC/; arc=none smtp.client-ip=217.70.183.195 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 54D966000E; Tue, 20 Feb 2024 18:42:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708454550; 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=kzU1DGkxlviUtU3Iczd0dNlsucDWa9RamGMHI1il2+A=; b=cXd+SjC/QbqpVzQfI5PznEDcamd+W5fPjO4x/OjaTFwpiGnyu+Me3aVWYh3Q7nyqEGc5wq dM+XhXSeLFdIPWjUGDyOmOWep3eczy0TvG3TKUoUy76lE4GF+TdIV8RYwgiOqGdLyME7Xs eAQkJkTpoaAWT30iIdBIvNzYXyoF1VSnEUg+WYoWxtKAKavdeZUn69dLbHivIqVH/yYYSW KF20n9Ji5bRB3h4cXbzVoE+ybCxWBcFRnm22fntQ8SvFr9waeq3mxDAVvTX2HNXXxceTFJ 8mOdB6H19EmOpKY3WYFGg0oqL2Fi0uNguFX+3oJA/5ymluvEe736+skVNw2dCA== 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 v8 06/13] netlink: specs: add phy-index as a header parameter Date: Tue, 20 Feb 2024 19:42:09 +0100 Message-ID: <20240220184217.3689988-7-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240220184217.3689988-1-maxime.chevallier@bootlin.com> References: <20240220184217.3689988-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: 1791444578563865819 X-GMAIL-MSGID: 1791444578563865819 Update the spec to take the newly introduced phy-index as a generic request parameter. Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn --- 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