diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2019-03-27 22:35:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-31 14:00:58 -0700 |
commit | 07b3975352374c3f5ebb4a42ef0b253fe370542d (patch) | |
tree | f99840cdabeea1f9e43e18d3be85ea78f2a2d8af /Documentation/dcdbas.txt | |
parent | 972c9be784e077bc56472c78243e0326e525b689 (diff) |
net: stmmac: don't stop NAPI processing when dropping a packet
Currently, if we drop a packet, we exit from NAPI loop before the budget
is consumed. In some situations this will make the RX processing stall
e.g. when flood pinging the system with oversized packets, as the
errorneous packets are not dropped efficiently.
If we drop a packet, we should just continue to the next one as long as
the budget allows.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/dcdbas.txt')
0 files changed, 0 insertions, 0 deletions