]> 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)
commitd9dea6850d92964ee1d9473132d96b3e90f88348
tree2dabf60760cf7e12d0d40bce8e332f375de22ba5
parent83adbf5e09676a3154f1dcd4df8f7d18588d87dd
virtio: document queue state logic

commit d70dc4fe71d337d0aef07b3d26077ef8113a25c0
    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