Netdev List
 help / color / mirror / Atom feed
* [PATCH net 0/3] ice, devlink: fixes needed for XLVF
@ 2026-12-02 12:48 Przemek Kitszel
  2026-12-02 12:48 ` [PATCH net 1/3] ice: move only the valid VF queues on LAG reclaim and reset rebuild Przemek Kitszel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Przemek Kitszel @ 2026-12-02 12:48 UTC (permalink / raw)
  To: netdev, pabeni, willemb, donald.hunter, jiri
  Cc: intel-wired-lan, anthony.l.nguyen, davem, edumazet, kuba, horms,
	andrew+netdev, Petr Oros, Przemek Kitszel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-02 12:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 12:48 [PATCH net 0/3] ice, devlink: fixes needed for XLVF Przemek Kitszel
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox