[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240710174043.754664-1-kuba@kernel.org>
Date: Wed, 10 Jul 2024 10:40:41 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
przemyslaw.kitszel@...el.com,
ecree.xilinx@...il.com,
jacob.e.keller@...el.com,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 0/2] ethtool: use the rss context XArray in ring deactivation safety-check
Now that we have an XArray storing information about all extra
RSS contexts - use it to extend checks already performed using
ethtool_get_max_rxfh_channel().
Jakub Kicinski (2):
ethtool: fail closed if we can't get max channel used in indirection
tables
ethtool: use the rss context XArray in ring deactivation safety-check
net/ethtool/channels.c | 6 ++---
net/ethtool/common.c | 51 +++++++++++++++++++++++++++++++++---------
net/ethtool/common.h | 2 +-
net/ethtool/ioctl.c | 4 +---
4 files changed, 44 insertions(+), 19 deletions(-)
--
2.45.2
Powered by blists - more mailing lists