diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2020-07-22 04:40:55 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2020-07-22 04:40:55 +0200 |
commit | 58da9ac6e691a8c660eb8ca838a154e11da0db68 (patch) | |
tree | a1bbda04c6d0621ce0fc20779276620f1820190b /internal/testbinapi/binapi2001/.vppapi/core/virtio_types.api.json | |
parent | a155cd438c6558da266c1c5931361ea088b35653 (diff) |
Fix binapigen decoding and minor improvements
- fixed allocating byte slices before copying decoded data
- simplified encoding functions
- several minor improvements
Change-Id: I6669424b89eb86333805cb1b57e4551169980cc2
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/core/virtio_types.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/core/virtio_types.api.json | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/virtio_types.api.json b/internal/testbinapi/binapi2001/.vppapi/core/virtio_types.api.json new file mode 100644 index 0000000..a4cc4cf --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/core/virtio_types.api.json @@ -0,0 +1,93 @@ +{ + "types": [], + "messages": [], + "unions": [], + "enums": [ + [ + "virtio_net_features_first_32", + [ + "VIRTIO_NET_F_API_CSUM", + 1 + ], + [ + "VIRTIO_NET_F_API_GUEST_CSUM", + 2 + ], + [ + "VIRTIO_NET_F_API_GUEST_TSO4", + 128 + ], + [ + "VIRTIO_NET_F_API_GUEST_TSO6", + 256 + ], + [ + "VIRTIO_NET_F_API_GUEST_UFO", + 1024 + ], + [ + "VIRTIO_NET_F_API_HOST_TSO4", + 2048 + ], + [ + "VIRTIO_NET_F_API_HOST_TSO6", + 4096 + ], + [ + "VIRTIO_NET_F_API_HOST_UFO", + 16384 + ], + [ + "VIRTIO_NET_F_API_MRG_RXBUF", + 32768 + ], + [ + "VIRTIO_NET_F_API_CTRL_VQ", + 131072 + ], + [ + "VIRTIO_NET_F_API_GUEST_ANNOUNCE", + 2097152 + ], + [ + "VIRTIO_NET_F_API_MQ", + 4194304 + ], + [ + "VHOST_F_API_LOG_ALL", + 67108864 + ], + [ + "VIRTIO_F_API_ANY_LAYOUT", + 134217728 + ], + [ + "VIRTIO_F_API_INDIRECT_DESC", + 268435456 + ], + [ + "VHOST_USER_F_API_PROTOCOL_FEATURES", + 1073741824 + ], + { + "enumtype": "u32" + } + ], + [ + "virtio_net_features_last_32", + [ + "VIRTIO_F_API_VERSION_1", + 1 + ], + { + "enumtype": "u32" + } + ] + ], + "services": {}, + "options": { + "version": "1.0.0" + }, + "aliases": {}, + "vl_api_version": "0x7a70a44e" +} |