[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230113114029.0ed9f618@kernel.org>
Date: Fri, 13 Jan 2023 11:40:29 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Sudheer Mogilappagari <sudheer.mogilappagari@...el.com>
Cc: netdev@...r.kernel.org, mkubecek@...e.cz,
sridhar.samudrala@...el.com, anthony.l.nguyen@...el.com
Subject: Re: [PATCH net] ethtool:add netlink attr in rss get reply only if
value is not null
On Wed, 11 Jan 2023 15:56:07 -0800 Sudheer Mogilappagari wrote:
> Current code for RSS_GET ethtool command includes netlink attributes
> in reply message to user space even if they are null. Added checks
> to include netlink attribute in reply message only if a value is
> received from driver. Drivers might return null for RSS indirection
> table or hash key. Instead of including attributes with empty value
> in the reply message, add netlink attribute only if there is content.
>
> Fixes: 7112a04664bf ("ethtool: add netlink based get rss support")
> Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@...el.com>
Applied, thanks!
Powered by blists - more mailing lists