[Intel-wired-lan] [PATCH iwl-net] ice: Flush FDB entries before reset
Buvaneswaran, Sujai
sujai.buvaneswaran at intel.com
Fri Aug 30 07:57:59 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Wojciech Drewek
> Sent: Monday, August 5, 2024 7:14 PM
> To: netdev at vger.kernel.org
> Cc: Nguyen, Anthony L <anthony.l.nguyen at intel.com>; intel-wired-
> lan at lists.osuosl.org; Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-net] ice: Flush FDB entries before reset
>
> Triggering the reset while in switchdev mode causes errors[1]. Rules are
> already removed by this time because switch content is flushed in case of the
> reset.
> We can avoid these errors by clearing the rules early in the reset flow.
> Remove unnecessary ice_clear_sw_switch_recipes.
>
> [1]
> ice 0000:01:00.0: Failed to delete FDB forward rule, err: -2 ice 0000:01:00.0:
> Failed to delete FDB guard rule, err: -2
>
> Fixes: 7c945a1a8e5f ("ice: Switchdev FDB events support")
> Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek at intel.com>
> Signed-off-by: Wojciech Drewek <wojciech.drewek at intel.com>
> ---
> .../net/ethernet/intel/ice/ice_eswitch_br.c | 2 +-
> .../net/ethernet/intel/ice/ice_eswitch_br.h | 1 +
> drivers/net/ethernet/intel/ice/ice_main.c | 24 +++----------------
> 3 files changed, 5 insertions(+), 22 deletions(-)
>
We are observing system hang and reboot while doing GLOBR reset on the interface when traffic is running.
This hang issue is blocking the patch verification.
Thanks,
Sujai Buvaneswaran
More information about the Intel-wired-lan
mailing list