public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Simon Horman <horms@kernel•org>
To: Aleksandr Loktionov <aleksandr.loktionov@intel•com>
Cc: intel-wired-lan@lists•osuosl.org, anthony.l.nguyen@intel•com,
	netdev@vger•kernel.org,
	Dawid Osuchowski <dawid.osuchowski@linux•intel.com>
Subject: Re: [PATCH iwl-next] ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs()
Date: Fri, 3 Apr 2026 12:57:18 +0100	[thread overview]
Message-ID: <20260403115255.GA60103@horms.kernel.org> (raw)
In-Reply-To: <20260327072236.129802-1-aleksandr.loktionov@intel.com>

On Fri, Mar 27, 2026 at 08:22:32AM +0100, Aleksandr Loktionov wrote:
> From: Dawid Osuchowski <dawid.osuchowski@linux•intel.com>
> 
> Resetting all VFs causes resource leak on VFs with FDIR filters
> enabled as CTRL VSIs are only invalidated and not freed. Fix by using
> ice_vf_ctrl_vsi_release() instead of ice_vf_ctrl_invalidate_vsi() which
> aligns behavior with the ice_reset_vf() function.
> 
> Reproduction:
>   echo 1 > /sys/class/net/$pf/device/sriov_numvfs
>   ethtool -N $vf flow-type ether proto 0x9000 action 0
>   echo 1 > /sys/class/net/$pf/device/reset
> 
> Fixes: da62c5ff9dcd ("ice: Add support for per VF ctrl VSI enabling")
> Signed-off-by: Dawid Osuchowski <dawid.osuchowski@linux•intel.com>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel•com>

Reviewed-by: Simon Horman <horms@kernel•org>

  parent reply	other threads:[~2026-04-03 11:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-27  7:22 [PATCH iwl-next] ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs() Aleksandr Loktionov
2026-03-27  7:22 ` [PATCH iwl-next] ice: do not reset MDD counters on VF reset Aleksandr Loktionov
2026-04-01 23:14   ` Tony Nguyen
2026-03-27  7:22 ` [PATCH iwl-next] ice: check cross-timestamp timeout bits Aleksandr Loktionov
2026-04-02  0:01   ` [Intel-wired-lan] " Jacob Keller
2026-04-03  9:03   ` Simon Horman
2026-06-04  4:15   ` [Intel-wired-lan] " Rinitha, SX
2026-03-27  7:22 ` [PATCH iwl-next] ice: fix AQ error code comparison in ice_set_pauseparam() Aleksandr Loktionov
2026-04-03 12:10   ` Simon Horman
2026-05-08  9:27   ` [Intel-wired-lan] " Rinitha, SX
2026-03-27  7:22 ` [PATCH iwl-next] ice: call netif_keep_dst() once when entering switchdev mode Aleksandr Loktionov
2026-04-03 12:41   ` Simon Horman
2026-04-14 13:13     ` [Intel-wired-lan] " Holda, Patryk
2026-04-03 11:57 ` Simon Horman [this message]
2026-04-13 15:51   ` [Intel-wired-lan] [PATCH iwl-next] ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs() Romanowski, Rafal

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=20260403115255.GA60103@horms.kernel.org \
    --to=horms@kernel$(echo .)org \
    --cc=aleksandr.loktionov@intel$(echo .)com \
    --cc=anthony.l.nguyen@intel$(echo .)com \
    --cc=dawid.osuchowski@linux$(echo .)intel.com \
    --cc=intel-wired-lan@lists$(echo .)osuosl.org \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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