From patchwork Thu Dec 21 18:00:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Chevallier X-Patchwork-Id: 182378 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp587607dyi; Thu, 21 Dec 2023 10:03:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQkav+WfGTxjk+cI23/yPe2zSUzx04FIPz3U+htHR0H95JXQKJnlWt2//8liWFCKE8gHcc X-Received: by 2002:a05:6a21:a58b:b0:195:204f:cdbe with SMTP id gd11-20020a056a21a58b00b00195204fcdbemr68343pzc.91.1703181807021; Thu, 21 Dec 2023 10:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703181807; cv=none; d=google.com; s=arc-20160816; b=SylPI4LBOgrkeHA+gk0k9uGLN41xTUMJ4GhuWqYaVTTi5zMjrGGhK3lOevn6EjQ1xO frMcJ7GqFn9tRa1ELErqloa6jkvstRRadKV24NQG8k2+1QXGFzcVfoW8NRX/AiDoDcnz 8IVP7T99zJbJHFAXpZj4VHjSs63dov+XrJpphHoJSTUTrosP1cK79DynLj+N2EQ62oHd HTljg07dtcBfm/cor0n9tC5sn/wx9PT83lt0YTQgtl4CNkZeeS7yTYxwPyl7xulEb4NZ RbJWDVnl6JRpas2rxV7Y5NLB56of65BwmRJK4B5hj7q1kw+MyKu70LPFLvcNHurgtL6/ sDAA== ARC-Message-Signature: i=1; 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=MdJWImCQJ1m/KrG/6TN8XupS4VHpoUJ+SRO2wKb8JX4=; fh=d3Krop4IPE3x6nBOvh3GY5QHg6bS91zVnQiH59I3hyM=; b=x9UNfpQEnEUs7teW/lk1kf261jhMdFOgIVI3WP0BM05xEaGaFvxhDrLMxFYyLP2fOr f7cEbCI2be5AIpU0gnKk+R8TZU09Lxae6X4Y28GLI0hNzS0dLJVtLe7Cw6WKy285SX0W NB3Nexi2myaufediNL2ZLZwDE/C90NWFLRbqrz0jkGneQluom+8t4eD9vXBz5KMIRNhL jZsPibzwuZUui713l60O0YehCSGnqob+6R0uIYfemlhNzTbkJ0rrx4Hcwkm0yp4DrHLC tdTNSAEK4DR69NJgCzwXqVC6PCBHlkqRSj6cmP3/XVQy1kxWA78d/dsrmZ6k0CUngogj 8+hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=kVDlQce7; spf=pass (google.com: domain of linux-kernel+bounces-8891-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8891-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 r17-20020a17090aa09100b0028aea7a9f59si5254374pjp.3.2023.12.21.10.03.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 10:03:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8891-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=kVDlQce7; spf=pass (google.com: domain of linux-kernel+bounces-8891-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8891-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 A56E62893A0 for ; Thu, 21 Dec 2023 18:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94BD976DBB; Thu, 21 Dec 2023 18:01:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="kVDlQce7" X-Original-To: linux-kernel@vger.kernel.org Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 5EDFC6EB63; Thu, 21 Dec 2023 18:01:01 +0000 (UTC) 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 B12DB1C000E; Thu, 21 Dec 2023 18:00:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1703181659; 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=MdJWImCQJ1m/KrG/6TN8XupS4VHpoUJ+SRO2wKb8JX4=; b=kVDlQce7t47hS6xkdauzdd2Fh3KujCZPNTFT87B6wi0T3RjCduHNc/e44/BDEXTCpvr+hC ic5SM/Rgb+7mysIqag1oOZ8Uy31LcgELTr6BSf2pyRZFUq4bvOqMSu9Qvl3H3s4sTbDMtB 27iIg2XrTaX2Jv7kda1wkxM7j6pWH4NBpQgoiZXjHzqRBGP1pZGSLsvnyl/no35+D0kZQ2 O2bMGx/qODlloJzzFAmWA2PqHwd7lV50pGazP7s0jK9C5AkK87FdeuGt1etvWZqDgiTkF8 tIkoVUaVO9hmIdiCaHXDCPZf5HeGcS97iut5dYCRPcaouVWtCAG8amMVOwNxAw== 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 v5 06/13] netlink: specs: add phy-index as a header parameter Date: Thu, 21 Dec 2023 19:00:39 +0100 Message-ID: <20231221180047.1924733-7-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221180047.1924733-1-maxime.chevallier@bootlin.com> References: <20231221180047.1924733-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: 1785915566454903979 X-GMAIL-MSGID: 1785915566454903979 Update the spec to take the newly introduced phy-index as a generic request parameter. Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn --- 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