[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y4yPwR2vBSepDNE+@unreal>
Date: Sun, 4 Dec 2022 14:17:05 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Sudheer Mogilappagari <sudheer.mogilappagari@...el.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, mkubecek@...e.cz,
andrew@...n.ch, corbet@....net, sridhar.samudrala@...el.com,
anthony.l.nguyen@...el.com
Subject: Re: [PATCH net-next v7] ethtool: add netlink based get rss support
On Thu, Dec 01, 2022 at 04:25:55PM -0800, Sudheer Mogilappagari wrote:
> Add netlink based support for "ethtool -x <dev> [context x]"
> command by implementing ETHTOOL_MSG_RSS_GET netlink message.
> This is equivalent to functionality provided via ETHTOOL_GRSSH
> in ioctl path. It sends RSS table, hash key and hash function
> of an interface to user space.
>
> This patch implements existing functionality available
> in ioctl path and enables addition of new RSS context
> based parameters in future.
But why do you do this conversion now? Was this "future" already
discussed on the ML?
>
> Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@...el.com>
> ---
<...>
> + u8 *rss_config;
> + int ret;
<...>
> + data->indir_table = (u32 *)rss_config;
Please use correct type from the beginning.
Thanks
Powered by blists - more mailing lists