From: Przemek Kitszel <przemyslaw.kitszel@intel.com>
To: netdev@vger.kernel.org, pabeni@redhat.com, willemb@google.com,
donald.hunter@gmail.com, jiri@resnulli.us
Cc: intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
horms@kernel.org, andrew+netdev@lunn.ch,
Petr Oros <poros@redhat.com>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>
Subject: [PATCH net 0/3] ice, devlink: fixes needed for XLVF
Date: Wed, 2 Dec 2026 13:48:00 +0100 [thread overview]
Message-ID: <20261202124956.18277-1-przemyslaw.kitszel@intel.com> (raw)
These are fixes for problems that are already there upstream, found
while working on the XLVF series for ice and iavf (more than 16 queue
pairs for a VF) [1]. XLVF builds on top of them, so I'm sending them
for net first.
Patch 1 fixes the queue count passed to the FW when ice moves VF queues
between ports of a bond: only the queues with a valid TEID are filled
in, but the command got the number of all of them. Reported by Sashiko
on XLVF v7.
Patch 2 takes vf->cfg_lock while ice changes the MSI-X vector count of
a VF, which could race with a VF reset started by the PF and oops.
Reported by Petr on XLVF v7, XLVF also extends this path.
Patch 3 makes the devlink dev messages fit any number of nested devlink
instances. ice already nests one for each subfunction in the devlink of
its PF, and XLVF will nest the VF devlinks there too.
Known, not addressed here, as XLVF does not depend on them: the MSI-X
change remaps the vectors of the other inactive VFs without their
vf->cfg_lock, and its fallback to the old vector count, after a failed
VSI rebuild, can fail too.
[1] https://lore.kernel.org/netdev/20261121230123.316391-1-przemyslaw.kitszel@intel.com
Przemek Kitszel (3):
ice: move only the valid VF queues on LAG reclaim and reset rebuild
ice: lock VF config while changing its MSI-X vector count
devlink: make room for many nested instances in a dev message
Documentation/netlink/specs/devlink.yaml | 1 +
net/devlink/devl_internal.h | 2 +
net/devlink/netlink_gen.h | 1 +
drivers/net/ethernet/intel/ice/ice_lag.c | 4 +-
drivers/net/ethernet/intel/ice/ice_sriov.c | 7 ++++
net/devlink/core.c | 13 ++++++
net/devlink/dev.c | 48 +++++++++++++++++++---
net/devlink/netlink.c | 14 ++++++-
net/devlink/netlink_gen.c | 1 +
9 files changed, 82 insertions(+), 9 deletions(-)
--
2.51.1
next reply other threads:[~2026-12-02 12:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 12:48 Przemek Kitszel [this message]
2026-12-02 12:48 ` [PATCH net 1/3] ice: move only the valid VF queues on LAG reclaim and reset rebuild Przemek Kitszel
2026-12-02 12:48 ` [PATCH net 2/3] ice: lock VF config while changing its MSI-X vector count Przemek Kitszel
2026-12-02 12:48 ` [PATCH net 3/3] devlink: make room for many nested instances in a dev message Przemek Kitszel
2026-12-02 12:54 ` [PATCH net 0/3] ice, devlink: fixes needed for XLVF netdev-bot+sinfo
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=20261202124956.18277-1-przemyslaw.kitszel@intel.com \
--to=przemyslaw.kitszel@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=davem@davemloft.net \
--cc=donald.hunter@gmail.com \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=poros@redhat.com \
--cc=willemb@google.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