> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Dave Ertman > Sent: Wednesday, October 25, 2023 12:07 AM > To: [email protected] > Subject: [Intel-wired-lan] [PATCH iwl-next] ice: Fix VF Reset when interface > in > a failed over aggregate > > There is an error interface has the following conditions: > - PF is in an aggregate (bond) > - PF has VFs created on it > - bond is in a state where it is failed-over to the secondary interface > - A VF reset is issued on one or more of those VFs > > The issue is generated by the originating PF trying to tear down the VF > resources and recreate them for the reset. Since the bond is failed over to > the secondary interface the queue contexts are in a modified state. > > To fix this issue, have the originating interface reclaim its resources prior > to > the tear-down and rebuild for the reset. Then after the reset is complete, > move the resources back to the active interface. > > Signed-off-by: Dave Ertman <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_lag.c | 2 +- > drivers/net/ethernet/intel/ice/ice_lag.h | 1 + > drivers/net/ethernet/intel/ice/ice_vf_lib.c | 47 +++++++++++++++++++++ > 3 files changed, 49 insertions(+), 1 deletion(-) > We are observing traffic failure while testing this patch. VF to client and VF-VF ping stops working when VF reset is done using below command after LAG failover.
echo 1 > /sys/bus/pci/devices/0000\:0a\:01.0/reset _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
