vhost: add helpers for packed virtqueues
authorJens Freimann <jfreimann@redhat.com>
Fri, 6 Jul 2018 07:07:09 +0000 (09:07 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 10 Jul 2018 21:13:36 +0000 (23:13 +0200)
commitd3211c98c45672f700e270d98b1dbca62b634c72
treef47946a13d069e8cdb07b238208b328914ff5edd
parent297b1e7350f6933114e0945ca00a1814a258acae
vhost: add helpers for packed virtqueues

Add some helper functions to check descriptor flags
and check if a vring is of type packed.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Tiwei Bie <tiwei.bie@intel.com>
lib/librte_vhost/vhost.h