virtio: document queue state logic
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Apr 2015 11:05:47 +0000 (13:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Apr 2015 20:44:24 +0000 (16:44 -0400)
commit60302ff631f0f3eac0ec592e128b776f0676b397
tree2dabf60760cf7e12d0d40bce8e332f375de22ba5
parent91bc4822c3d61b9bb7ef66d3b77948a4f9177954
virtio: document queue state logic

commit d631b94e7a15277858ec5f88d674d93080506999
    virtio: change comment in transmit

started clarifying the logic behind queue state management,
but introduced an inaccuracy: TX_BUSY does not cause
a BUG message.

Clean this up some more, explaining the tradeoffs in detail.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c