On Mon, Feb 17, 2025 at 10:06:35AM +0100, Michal Swiatkowski wrote: > From: Slawomir Mrozowicz <[email protected]> > > Add Tx Hang detection due to an unhandled MDD Event. > > Previously, a malicious VF could disable the entire port causing > TX to hang on the E610 card. > Those events that caused PF to freeze were not detected > as an MDD event and usually required a Tx Hang watchdog timer > to catch the suspension, and perform a physical function reset. > > Implement flows in the affected PF driver in such a way to check > the cause of the hang, detect it as an MDD event and log an > entry of the malicious VF that caused the Hang. > > The PF blocks the malicious VF, if it continues to be the source > of several MDD events. > > Reviewed-by: Przemek Kitszel <[email protected]> > Reviewed-by: Marcin Szycik <[email protected]> > Signed-off-by: Slawomir Mrozowicz <[email protected]> > Co-developed-by: Michal Swiatkowski <[email protected]> > Signed-off-by: Michal Swiatkowski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
