]> Pileus Git - ~andy/linux/commit
vhost-net: cleanup macros for DMA status tracking
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Nov 2012 09:16:37 +0000 (09:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 01:29:57 +0000 (21:29 -0400)
commit70e4cb9aafb3caa9e5eb25614a5bc40b0ffa9ffd
treef3b88279253e04599ac949e393ee0820ceaa5f57
parent149d36f7187cbd10beff88e4e20f93e51a34827e
vhost-net: cleanup macros for DMA status tracking

Better document macros for DMA tracking. Add an
explicit one for DMA in progress instead of
relying on user supplying len != 1.

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