From: Jakub Kicinski <kuba@kernel.org>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com,
przemyslaw.kitszel@intel.com, ecree.xilinx@gmail.com,
jacob.e.keller@intel.com, Jakub Kicinski <kuba@kernel.org>
Subject: [PATCH net-next 0/2] ethtool: use the rss context XArray in ring deactivation safety-check
Date: Wed, 10 Jul 2024 10:40:41 -0700 [thread overview]
Message-ID: <20240710174043.754664-1-kuba@kernel.org> (raw)
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
next reply other threads:[~2024-07-10 17:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-10 17:40 Jakub Kicinski [this message]
2024-07-10 17:40 ` [PATCH net-next 1/2] ethtool: fail closed if we can't get max channel used in indirection tables Jakub Kicinski
2024-07-10 20:13 ` Jacob Keller
2024-07-10 17:40 ` [PATCH net-next 2/2] ethtool: use the rss context XArray in ring deactivation safety-check Jakub Kicinski
2024-07-10 20:14 ` Jacob Keller
2024-07-11 22:00 ` [PATCH net-next 0/2] " patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240710174043.754664-1-kuba@kernel.org \
--to=kuba@kernel.org \
--cc=davem@davemloft.net \
--cc=ecree.xilinx@gmail.com \
--cc=edumazet@google.com \
--cc=jacob.e.keller@intel.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).