[dpdk-dev] [PATCH v5 01/15] vhost: add virtio packed virtqueue defines
Maxime Coquelin
maxime.coquelin at redhat.com
Fri Jun 29 18:20:10 CEST 2018
On 06/29/2018 05:47 PM, Tiwei Bie wrote:
> On Fri, Jun 22, 2018 at 03:43:13PM +0200, Maxime Coquelin wrote:
>> From: Jens Freimann<jfreimann at redhat.com>
>>
>> Signed-off-by: Jens Freimann<jfreimann at redhat.com>
>> ---
>> lib/librte_vhost/vhost.h | 4 ++++
>> lib/librte_vhost/virtio-packed.h | 22 ++++++++++++++++++++++
>> 2 files changed, 26 insertions(+)
>> create mode 100644 lib/librte_vhost/virtio-packed.h
>>
>> diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
>> index 3f8fa3a78..bf2059198 100644
>> --- a/lib/librte_vhost/vhost.h
>> +++ b/lib/librte_vhost/vhost.h
>> @@ -191,6 +191,10 @@ struct vhost_msg {
>> #ifndef VIRTIO_F_VERSION_1
>> #define VIRTIO_F_VERSION_1 32
>> #endif
>> +#ifndef VIRTIO_F_RING_PACKED
>> + #define VIRTIO_F_RING_PACKED 34
>> +#endif
>> +#define VHOST_USER_F_PROTOCOL_FEATURES 30
> VHOST_USER_F_PROTOCOL_FEATURES has already been
> defined in rte_vhost.h which has been included
> in this file.
Good catch!
Thanks,
Maxime
More information about the dev
mailing list