[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <23d0c617-228c-4498-a36d-f74bf5490e2b@nvidia.com>
Date: Tue, 15 Jul 2025 10:24:53 +0300
From: Gal Pressman <gal@...dia.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
andrew+netdev@...n.ch, horms@...nel.org, donald.hunter@...il.com,
shuah@...nel.org, kory.maincent@...tlin.com, maxime.chevallier@...tlin.com,
sdf@...ichev.me, ecree.xilinx@...il.com
Subject: Re: [PATCH net-next v2 05/11] ethtool: rss: support setting hfunc via
Netlink
On 15/07/2025 1:27, Jakub Kicinski wrote:
> Support setting RSS hash function / algo via ethtool Netlink.
> Like IOCTL we don't validate that the function is within the
> range known to the kernel. The drivers do a pretty good job
> validating the inputs, and the IDs are technically "dynamically
> queried" rather than part of uAPI.
>
> Only change should be that in Netlink we don't support user
> explicitly passing ETH_RSS_HASH_NO_CHANGE (0), if no change
> is requested the attribute should be absent.
>
> The ETH_RSS_HASH_NO_CHANGE is retained in driver-facing
> API for consistency (not that I see a strong reason for it).
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Gal Pressman <gal@...dia.com>
Powered by blists - more mailing lists