diff options
author | Ole Troan <otroan@cisco.com> | 2023-12-15 08:37:26 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-12-20 20:52:33 +0000 |
commit | 00c59e4965c72d1d1ab77590fe57ee7f890546a8 (patch) | |
tree | 502d47082ccdd11f9ae4527e040b2398baf49609 /src/vnet/devices/virtio | |
parent | 68ac244283b60cbaf6356ab732f1d31583bb3e7a (diff) |
virtio: virtio_flags api use enumflag instead of enum
In the API there is a difference between enum and enumflags.
The latter one allowing multiple set entitires, while enum
only allows one.
Type: fix
Change-Id: I5db88c15c85fc6c7130b7b35febcd1ea02ef8f76
Signed-off-by: Ole Troan <otroan@employees.org>
Diffstat (limited to 'src/vnet/devices/virtio')
-rw-r--r-- | src/vnet/devices/virtio/virtio.api | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/virtio.api b/src/vnet/devices/virtio/virtio.api index bbe2341a001..a11492ec258 100644 --- a/src/vnet/devices/virtio/virtio.api +++ b/src/vnet/devices/virtio/virtio.api @@ -56,7 +56,7 @@ define virtio_pci_create_reply vl_api_interface_index_t sw_if_index; }; -enum virtio_flags { +enumflag virtio_flags { VIRTIO_API_FLAG_GSO = 1, /* enable gso on the interface */ VIRTIO_API_FLAG_CSUM_OFFLOAD = 2, /* enable checksum offload without gso on the interface */ VIRTIO_API_FLAG_GRO_COALESCE = 4, /* enable packet coalescing on tx side, provided gso enabled */ |