From: Przemek Kitszel <przemyslaw.kitszel@intel.com>
To: <netdev@vger.kernel.org>, <pabeni@redhat.com>,
<willemb@google.com>, <jiri@resnulli.us>
Cc: <intel-wired-lan@lists.osuosl.org>, <anthony.l.nguyen@intel.com>,
<donald.hunter@gmail.com>, <davem@davemloft.net>,
<edumazet@kernel.org>, <kuba@kernel.org>, <horms@kernel.org>,
<andrew+netdev@lunn.ch>, Petr Oros <poros@redhat.com>
Subject: Re: [PATCH net 0/3] ice, devlink: fixes needed for XLVF
Date: Fri, 4 Dec 2026 13:53:42 +0100 [thread overview]
Message-ID: <253241ce-bf42-45d7-a84c-6b7ca3f8d0cc@intel.com> (raw)
In-Reply-To: <20261202124956.18277-1-przemyslaw.kitszel@intel.com>
On 12/2/26 1:48 PM, Przemek Kitszel wrote:
> 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.
summary of sashiko feedback:
ice patches - no/or pre-exisitnig only, please merge as-is
devlink patch - too many bytes allocated for same netns handles (8B),
please let me know if you want v2 of this patch or its ok now
(more precise allocation would result in more code ofc)
>
> 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.
sashiko has not bothered to read the last paragraph...
>
> [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(-)
>
prev parent reply other threads:[~2026-12-04 12:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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-04 14:56 ` Loktionov, Aleksandr
2026-12-02 12:48 ` [PATCH net 2/3] ice: lock VF config while changing its MSI-X vector count Przemek Kitszel
2026-12-03 13:31 ` netdev-bot+sashiko
2026-12-04 12:41 ` 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-03 13:31 ` netdev-bot+sashiko
2026-12-04 12:49 ` Przemek Kitszel
2026-12-02 12:54 ` [PATCH net 0/3] ice, devlink: fixes needed for XLVF netdev-bot+sinfo
2026-12-04 12:53 ` Przemek Kitszel [this message]
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=253241ce-bf42-45d7-a84c-6b7ca3f8d0cc@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