net/virtio: add packed virtqueue helpers
authorJens Freimann <jfreimann@redhat.com>
Mon, 17 Dec 2018 21:31:31 +0000 (22:31 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commite9f4feb7e6225f671b59375aff44b9d576121577
treeb203cb2ab1feba72d0b8a070fc0fd084d350dfcb
parent4c3f5822eb21476fbbd807a7c40584c1090695e5
net/virtio: add packed virtqueue helpers

Add helper functions to set/clear and check descriptor flags.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_pci.h
drivers/net/virtio/virtqueue.h