diff options
author | Masakazu Mokuno <mokuno@sm.sony.co.jp> | 2007-07-20 17:24:56 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-24 16:28:39 -0400 |
commit | 48544cc267da96a85e4d38aa1999a011229948d6 (patch) | |
tree | 0abb855ec54f74ce85207d6ba7585dc8e8d18796 /drivers/net/ps3_gelic_net.h | |
parent | ea6992aa1f6ed514fe450f46befa56d8d2b6a7fb (diff) | |
download | linux-48544cc267da96a85e4d38aa1999a011229948d6.tar.gz linux-48544cc267da96a85e4d38aa1999a011229948d6.tar.bz2 linux-48544cc267da96a85e4d38aa1999a011229948d6.zip |
ps3: tx descriptor handling cleanup
gelic: TX descriptor handling cleanup
- Emitted return value of NETDEV_TX_LOCKED when DMA map or kick
failure.
Now it would free the skb, update drop packet statistics
and return OK. Requested from Jeff Garzik.
- Enable tx queue if number of free descriptors are more than 2
- Fixed descriptor leak if dma map for second descriptor failed
- Stopped calling xmit handler from interrupt handler in order
to recheck tx queue. Instead, call appropriate helper functions.
Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ps3_gelic_net.h')
0 files changed, 0 insertions, 0 deletions