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>
This commit is contained in:
parent
68ac244283
commit
00c59e4965
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user