From patchwork Tue Aug 6 19:33:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 13755271 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.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 CA00A15B12B for ; Tue, 6 Aug 2024 19:33:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722972826; cv=none; b=XTV9OiV1ZdnhBMN0gAUVzfbAO3O2Y97EKdJ04TrYgMvyE692bZgWZ7WIGBxVKAMSjItsvup7LISm72ezmfGom7bzANkqY0T08gzsOcworH/RxgjjRfM2p7B7eXjLqXvlDpATUwwlM3mJK/8K3AoKcETDUCkN7JwYDumbbHeMBmY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722972826; c=relaxed/simple; bh=dI7gId/L8B6nMeZZXK6onHZD2A995y4+iTbvKlETJAA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Q9SOhK4x0wdrc+s66djjiOSR6vkew4WS9RGbkVH/OJcbAGAv2fMXJD4h5dGUHF0KWdex4rNZKqxvmaQ6AtVjiOyz9qJGdeiMh5NHaGlDnJMwBCdfIInhM3/MZDn/zrKoj2sasFRxS47y0PwAZGJx+7AHUMhUNgaN/2nd9EzZJKg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TBzOYIb4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TBzOYIb4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94925C4AF10; Tue, 6 Aug 2024 19:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722972826; bh=dI7gId/L8B6nMeZZXK6onHZD2A995y4+iTbvKlETJAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TBzOYIb4FPzcmKhm/wM1Ht1gO6lltrmH8Ltj4Jq4HPXNel9RMxEEUh3k3QXVOkQCR xEXDQCLUMHti601Lwy/icvafoa1hyvPT6hPsB/mNOogUeznTLdeXyhjQOWt48dXuJd W8stZpJM/bWKOg2ssfxfiaPaiA0vqZiX9svHV6UzxF4lpx3S8xCgKyKKa3rIM0Ar1u BSWwqnBqZ0c/Bw2lZ895Q9FceBUsP4dGK6il/HpX6089a6fUTnX4hhgsqQek03gYHD A2hzqNHqyVZI4zRtpyJDY6reu6YVJaCkRnXTJ9MBZVcYecFWv/UiS0NNB5soOKXVzg ubdQ/bOuXxaCg== From: Jakub Kicinski To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, michael.chan@broadcom.com, shuah@kernel.org, ecree.xilinx@gmail.com, przemyslaw.kitszel@intel.com, ahmed.zaki@intel.com, andrew@lunn.ch, willemb@google.com, pavan.chebbi@broadcom.com, petrm@nvidia.com, gal@nvidia.com, jdamato@fastly.com, donald.hunter@gmail.com, Jakub Kicinski Subject: [PATCH net-next v3 11/12] netlink: specs: decode indirection table as u32 array Date: Tue, 6 Aug 2024 12:33:16 -0700 Message-ID: <20240806193317.1491822-12-kuba@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240806193317.1491822-1-kuba@kernel.org> References: <20240806193317.1491822-1-kuba@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Indirection table is dumped as a raw u32 array, decode it. It's tempting to decode hash key, too, but it is an actual bitstream, so leave it be for now. Signed-off-by: Jakub Kicinski Reviewed-by: Joe Damato --- Documentation/netlink/specs/ethtool.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml index 4c2334c213b0..1bbeaba5c644 100644 --- a/Documentation/netlink/specs/ethtool.yaml +++ b/Documentation/netlink/specs/ethtool.yaml @@ -1022,6 +1022,7 @@ doc: Partial family for Ethtool Netlink. - name: indir type: binary + sub-type: u32 - name: hkey type: binary