virtio: wean net driver off NETDEV_TX_BUSY
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 May 2008 02:50:46 +0000 (21:50 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 2 May 2008 11:50:46 +0000 (21:50 +1000)
commit99ffc696d10b28580fe93441d627cf290ac4484c
tree58b041b2e2b3126bfc5dd8190c3627bba0b7afe6
parent2e895e4c23b7f73dba7238db5c5c2dcffb2a4d9d
virtio: wean net driver off NETDEV_TX_BUSY

Herbert tells me that returning NETDEV_TX_BUSY from hard_start_xmit is
seen as a poor thing to do; we should cache the packet and stop the queue.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/net/virtio_net.c