From patchwork Sat Aug 3 04:26:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 13752158 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 C96E9762E0 for ; Sat, 3 Aug 2024 04:26:58 +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=1722659218; cv=none; b=pJ0uAkGq+XvgEJke6SZxrsfs+HGlNlWnmLAIBv9HCxAk7VkYhG54vBL6rhXbTzkX1Y5t91YIxVVOKMLLJYCfeoEQ0WgBNLo/wzLp9QpWaR33vVcG1obZ8VsBLrGbUBaPX9qBfD1pGoVEAlY+j9aGzJcK6Ry48YeBnrLJBrrk038= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722659218; c=relaxed/simple; bh=dI7gId/L8B6nMeZZXK6onHZD2A995y4+iTbvKlETJAA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nyD0Yc4zXUsxr1pxa6xxoetYcwBnJgpGbv7p2fH2RCJLsJJzCdqeempwGZgBVn28k3mSh5m6YcpXJYPBYaepuRigUJKXk5svWjEVZhw0X4XFPQTCJAfRDAFmQ8zpRNcDvd2Br59wg38EddTdMZTQIute2bmU7hkwfEOUt1kaik8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OgdlmrnB; 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="OgdlmrnB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDC27C4AF0E; Sat, 3 Aug 2024 04:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722659218; bh=dI7gId/L8B6nMeZZXK6onHZD2A995y4+iTbvKlETJAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OgdlmrnBc1tcIlkL336v31Rf7LSYcGpdDqMm7wfOikaxzMwK7XVx86wUVT9lbtUIv y5RTcwE9zN0PSDEVuGmO0upsBS3Dx+KxxwAdBujri88or2jQxi0nHa2TqKUphSKZsa T4cZPdNIBxdZcPBDWGI+81ny4Xwj+P7tdd3FvzxlL4jjqnIgrLLbgx4Ddlaawerdph n9ekWiHJhPkB+0cH9Q/DhwHA5U/z4PJlHtc3qQuN4luWgdnOIptfwhozONxzo4/+OW IF2ISDkjjSypgLbWFl6HivsKOfI6NxM1PZcLCajEbQa+l1zM4lGZr89JliSTtLpyw1 JmDnJYVWsa+Jg== From: Jakub Kicinski To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, dxu@dxuuu.xyz, ecree.xilinx@gmail.com, przemyslaw.kitszel@intel.com, donald.hunter@gmail.com, gal.pressman@linux.dev, tariqt@nvidia.com, willemdebruijn.kernel@gmail.com, jdamato@fastly.com, Jakub Kicinski Subject: [PATCH net-next v2 11/12] netlink: specs: decode indirection table as u32 array Date: Fri, 2 Aug 2024 21:26:23 -0700 Message-ID: <20240803042624.970352-12-kuba@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240803042624.970352-1-kuba@kernel.org> References: <20240803042624.970352-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