diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2014-09-10 22:50:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-12 17:17:49 -0400 |
commit | 7ce7679d6bbd1715799a9cf17b9b558bc2d962b7 (patch) | |
tree | ee0ef95db8dbe1bdc567ea1a7ee9cb0838e02601 /net/irda | |
parent | 1d7efe9dfaa6025acd29a726315f6f7d30a9f1ca (diff) | |
download | linux-7ce7679d6bbd1715799a9cf17b9b558bc2d962b7.tar.bz2 |
net: arc_emac: enable tx interrupts
In the current implementation the cleaning of tx ring is done by the
NAPI poll handler, which is scheduled after rx interrupts. Thus, in
absence of received packets the reclaim of used tx buffers is never
executed, blocking further transmission.
This can be easily reproduced starting the transmission of a UDP flow
with iperf, which blocks almost immediately because skbs are not
returned to the stack and the socket send buffer becomes full.
The patch enables tx interrupts so that the tx reclaim is scheduled
after completed transmissions.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions