]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethtool: use the tracking array for get_rxfh on custom RSS contexts
authorEdward Cree <ecree.xilinx@gmail.com>
Thu, 27 Jun 2024 15:33:53 +0000 (16:33 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Jun 2024 01:53:21 +0000 (18:53 -0700)
commit7964e7884643d56d4ecd0e2b92190f8a361cea48
tree50b411a64b4e7dbfa679f91fdca4fd9c1132cf30
parenta9ee8d4a97d8ea0004615fe1f2c1ce6aff5c1a14
net: ethtool: use the tracking array for get_rxfh on custom RSS contexts

On 'ethtool -x' with rss_context != 0, instead of calling the driver to
 read the RSS settings for the context, just get the settings from the
 rss_ctx xarray, and return them to the user with no driver involvement.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Link: https://patch.msgid.link/2d0190fa29638f307ea720f882ebd41f6f867694.1719502240.git.ecree.xilinx@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/ioctl.c