commit | 3ba07debfc8d7d76bd48577536b5382490b21c10 | [log] [tgz] |
---|---|---|
author | Jose Abreu <Jose.Abreu@synopsys.com> | Fri Jun 28 09:29:20 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 28 09:23:39 2019 -0700 |
tree | 2a53f5f44cee926bd275a781c9c3189b7c86c762 | |
parent | 858a31ffc3d97a133e0f4fb2b5726b5ef80cb549 [diff] |
net: stmmac: Only disable interrupts if NAPI is scheduled Only disable the interrupts if RX NAPI gets to be scheduled. Also, schedule the TX NAPI only when the interrupts are disabled. Signed-off-by: Jose 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: David S. Miller <davem@davemloft.net>