Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by "Nowlin, Alexander"
Sat, 07 Nov 2026 04:55
RE: [PATCH iwl-net 09/10] ice: program multicast magic wake before tearing down the main VSI
Author: "Nowlin, Alexander"
Date: Sat, 07 Nov 2026 04:55
Date: Sat, 07 Nov 2026 04:55
44 lines
22916 bytes
22916 bytes
> -----Original Message-----
> From: Petr Oros <poros@redhat.com>
> Sent: Friday, October 2, 2026 6:08 AM
> To: netdev@vger.kernel.org
> Cc: Oros, Petr <poros@redhat.com>; Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Kitszel, Przemyslaw <przemyslaw.kitszel@intel.com>; Andrew Lunn <andrew+netdev@lunn.ch>; David S. Miller <davem@davemloft.net>; Eric Dumazet <edumazet@kernel.org>; Jakub Kicinski <kuba@kernel.org>; Paolo Abeni <pabeni@redhat.com>; Lobakin, Aleksander <aleksander.lobakin@intel.com>; Alexei Starovoitov <ast@kernel.org>; Daniel Borkmann <daniel@iogearbox.net>; Jesper Dangaard Brouer <hawk@kernel.org>; John Fastabend <john.fastabend@gmail.com>; Stanislav Fomichev <sdf@fomichev.me>; Henry Tieman > <henry.w.tieman@intel.com>; Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>; Michal Swiatkowski <michal.swiatkowski@linux.intel.com>; Jesse Brandeburg <jbrandeb@kernel.org>; Preethi Banala <preethi.banala@intel.com>; Kiran Patil <kiran.patil@intel.com>; Dan Nowlin <dan.nowlin@intel.com>; Stephen Hemminger <stephen@networkplumber.org>; intel-wired-lan@lists.osuosl.org; linux-kernel@vger.kernel.org; bpf@vger.kernel.org
> Subject: [PATCH iwl-net 09/10] ice: program multicast magic wake before tearing down the main VSI
>
> Since commit 5b246e533d01 ("ice: split probe into smaller functions")
> ice_remove() calls ice_setup_mc_magic_wake() after ice_deinit(), which frees pf->vsi. ice_get_main_vsi() then returns NULL and the function returns before it sends the Manage MAC Write command, so multicast magic packet wake and keeping a locally administered address across the PF reset are never set up on shutdown with WoL enabled.
>
> Program it before the netdev and the VSIs are torn down, as it was done before that commit, so the current netdev address is used again.
>
> i40e had a similar problem, where the multicast magic wake setup ran after the admin queue had already been shut down, and fixed it in commit e661414c98df ("i40e: Remove duplicated prepare call in i40e_shutdown").
>
> Fixes: 5b246e533d01 ("ice: split probe into smaller functions")
> Assisted-by: LLM
> Signed-off-by: Petr Oros <poros@redhat.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Tested-by: Alexander Nowlin <alexander.nowlin@intel.com>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads