]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d9612e8a773684e15d4cf3d4e6360d1bc559ce0
tree2dabf60760cf7e12d0d40bce8e332f375de22ba5
parentc4ba484ac7022648931b863bbbf81c0b2cff9794
virtio: document queue state logic

commit 6ca42513ffd5b6f55714566b7d7766e292186190
    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