Skip to content
  • Jose Abreu's avatar
    net: stmmac: Rework and fix TX Timeout code · 34877a15
    Jose Abreu authored
    
    
    Currently TX Timeout handler does not behaves as expected and leads to
    an unrecoverable state. Rework current implementation of TX Timeout
    handling to actually perform a complete reset of the driver state and IP.
    
    We use deferred work to init a task which will be responsible for
    resetting the system.
    
    Signed-off-by: default avatarJose Abreu <joabreu@synopsys.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Joao Pinto <jpinto@synopsys.com>
    Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
    Cc: Alexandre Torgue <alexandre.torgue@st.com>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    34877a15