From patchwork Fri Jan 26 18:38:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Chevallier X-Patchwork-Id: 192742 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp73994dyb; Fri, 26 Jan 2024 10:40:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxAq9oN3NrczDtqi5hCgPURYFXt25mhEffwGnb5EpXVRsQpuMJqoPRCpm1UlWEmMBnBEFe X-Received: by 2002:a2e:9317:0:b0:2cd:3227:130c with SMTP id e23-20020a2e9317000000b002cd3227130cmr138810ljh.95.1706294442051; Fri, 26 Jan 2024 10:40:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706294442; cv=pass; d=google.com; s=arc-20160816; b=YN+N7YSZQE4Z0yo1tzWp4aG4iM9nKciW1aPmFUwEwoYjgClgD3lIo1lCJ49i+gmrmO naREalyuAQCZDmNeAcHfMLca9lCHHZhlMW/pevtOyL+EZa7ZrSGRWUl707OkQBvmpNg3 1KMecGnSkiJMmr/h0uPHLrLZSC0+M2zXF7uCnQ3wW1XKhY1mt1tc3PCISveINs2obd9w V4KQ2XtajlVS1DrH+KmQ+Ew6G1a9PINxnJYbhG57FalcKB1CVuKygEuPI04J3jAGar8o MsK0xoMWLjXpcnC2+RxhqxVtawKrS/+R2XluMqsLBLA8XenAj94xFjipnnsg5QrBIODf w4TA== 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=4VA4LXOq+DUE3/vzctPspi/ENCsHhbSNqzTsn2IgL8M=; fh=d3Krop4IPE3x6nBOvh3GY5QHg6bS91zVnQiH59I3hyM=; b=gwMRXwlaO9hS7Z6iQUlNVXr3m+ImZUQSZPeyZ4W1rtsSlMRBUwaIzi+hx9p6PNPl4M 67GQxQprTNED9mfkBXeInm7zEtVspDjyIWfe/WbNybvD9k4Q0gEUmDYE4V9yD6QnoN2N aA68bRQbjJbf7uetASJQXyPSbA+U35VtcudntpXRbqBUEPs4bSuhlmeUFF9mSt4wE/Up umQ4O1L/DenCHKLfsN+Yce7FisSHdU9RFkVabtzTp6Q0kEZ9V1Qz13975KURw5+Xix9S b3aISjzfzlIbl6tZyiBx6ldnGIE0Cx68ml5DXnEpGA3OrLG/WS7PuCPfx8bMTi4sCs4l NpDQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=l1R7pzuq; 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-40505-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40505-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 z2-20020aa7cf82000000b005582e993832si912082edx.294.2024.01.26.10.40.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 10:40:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40505-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=l1R7pzuq; 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-40505-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40505-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 A712A1F24883 for ; Fri, 26 Jan 2024 18:40:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89A1E249E7; Fri, 26 Jan 2024 18:39:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="l1R7pzuq" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 2E7D822307; Fri, 26 Jan 2024 18:39:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706294347; cv=none; b=RqT293Oabz2Z8IQlIq8eSSjiQAZhje9v6XXxXYwbRXmtLei0AS1P7333fuOy5ABIHpjYOzGlLmyCyTtHI7D8yFcrlKcF6i0SMPLPK+pdKIiaui1JkFhMBeCLIMiGfUychscN13Ax6inrJ8lh6MR2Pao/0JNlHHeuJ7aYR7H9y7s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706294347; c=relaxed/simple; bh=6bq2A7yWxXO60DDbnJ5MDs6AhRaolkFAslIffwbnQOc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UwSAlYuVorcRMNIRfxHp3Ituu/5JmW3E7FDJjWlH1rmi6r4Xr675AId0ulw+/aW6NX74gH0JTvFJ93CTbfzcwnKVBp3jsWoTyoiYJVLnmHh8B/gATMIEvTGaAys92pm4p/yKU6j3063g0ZQOCA2NvxM6ImSP8h3XIvM6l/YdCyI= 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=l1R7pzuq; arc=none smtp.client-ip=217.70.183.199 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 5B9B5FF803; Fri, 26 Jan 2024 18:39:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706294342; 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=4VA4LXOq+DUE3/vzctPspi/ENCsHhbSNqzTsn2IgL8M=; b=l1R7pzuqM3U3MOw7clg7hzvDwj2rP83LJ5H5On74QWR2tsPh6XRnlRQr8P7j+Cq74vY1z9 plozEnDfbLeL9EJCeXiXYdNb0CmoEdCm6bhaFVQSlq7vynUDvnodjivQNDI4CwwbLX277r NTJEbT0Ly+v21tF0qrLOy5Vlmh4R/1JpWPavDv7gc5sspzaj6TEMcz8uw1arjuU9LNoHdI LX8lyx9nY/XG00vACTf3rfF80zQez7nImIUNoVgveFUCloAwHkxL1BBzuGLDmrPjyizJIM a9zdWI5C873b59aq9evl76W+H2qHJoz0Qp6vw07jB845bCwaaAVrqZfMsPQfrQ== 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 Subject: [PATCH net-next v6 06/13] netlink: specs: add phy-index as a header parameter Date: Fri, 26 Jan 2024 19:38:43 +0100 Message-ID: <20240126183851.2081418-7-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240126183851.2081418-1-maxime.chevallier@bootlin.com> References: <20240126183851.2081418-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: 1789179401143522686 X-GMAIL-MSGID: 1789179401143522686 Update the spec to take the newly introduced phy-index as a generic request parameter. Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn --- 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