• Jose Abreu's avatar
    net: stmmac: Prevent missing interrupts when running NAPI · a976ca79
    Jose Abreu authored
    When we trigger NAPI we are disabling interrupts but in case we receive
    or send a packet in the meantime, as interrupts are disabled, we will
    miss this event.
    
    Trigger both NAPI instances (RX and TX) when at least one event happens
    so that we don't miss any interrupts.
    Signed-off-by: default avatarJose Abreu <joabreu@synopsys.com>
    Cc: Joao Pinto <jpinto@synopsys.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
    Cc: Alexandre Torgue <alexandre.torgue@st.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    a976ca79
stmmac_main.c 128 KB