diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/plugins/vmxnet3.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/plugins/vmxnet3.api.json | 418 |
1 files changed, 418 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/vmxnet3.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/vmxnet3.api.json new file mode 100644 index 0000000..a0d4768 --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/plugins/vmxnet3.api.json @@ -0,0 +1,418 @@ +{ + "types": [ + [ + "vmxnet3_tx_list", + [ + "u16", + "tx_qsize" + ], + [ + "u16", + "tx_next" + ], + [ + "u16", + "tx_produce" + ], + [ + "u16", + "tx_consume" + ] + ], + [ + "vmxnet3_rx_list", + [ + "u16", + "rx_qsize" + ], + [ + "u16", + "rx_fill", + 2 + ], + [ + "u16", + "rx_next" + ], + [ + "u16", + "rx_produce", + 2 + ], + [ + "u16", + "rx_consume", + 2 + ] + ] + ], + "messages": [ + [ + "vmxnet3_create", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "pci_addr" + ], + [ + "i32", + "enable_elog" + ], + [ + "u16", + "rxq_size" + ], + [ + "u16", + "rxq_num" + ], + [ + "u16", + "txq_size" + ], + [ + "u16", + "txq_num" + ], + [ + "u8", + "bind" + ], + [ + "bool", + "enable_gso" + ], + { + "crc": "0x71a07314" + } + ], + [ + "vmxnet3_create_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0x5383d31f" + } + ], + [ + "vmxnet3_delete", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0xf9e6675e" + } + ], + [ + "vmxnet3_delete_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "vmxnet3_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "string", + "if_name", + 64 + ], + [ + "vl_api_mac_address_t", + "hw_addr" + ], + [ + "u32", + "pci_addr" + ], + [ + "u8", + "version" + ], + [ + "bool", + "admin_up_down" + ], + [ + "u8", + "rx_count" + ], + [ + "vl_api_vmxnet3_rx_list_t", + "rx_list", + 16 + ], + [ + "u8", + "tx_count" + ], + [ + "vl_api_vmxnet3_tx_list_t", + "tx_list", + 8 + ], + { + "crc": "0x829ba055" + } + ], + [ + "vmxnet3_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ] + ], + "unions": [], + "enums": [ + [ + "if_status_flags", + [ + "IF_STATUS_API_FLAG_ADMIN_UP", + 1 + ], + [ + "IF_STATUS_API_FLAG_LINK_UP", + 2 + ], + { + "enumtype": "u32" + } + ], + [ + "mtu_proto", + [ + "MTU_PROTO_API_L3", + 1 + ], + [ + "MTU_PROTO_API_IP4", + 2 + ], + [ + "MTU_PROTO_API_IP6", + 3 + ], + [ + "MTU_PROTO_API_MPLS", + 4 + ], + [ + "MTU_PROTO_API_N", + 5 + ], + { + "enumtype": "u32" + } + ], + [ + "link_duplex", + [ + "LINK_DUPLEX_API_UNKNOWN", + 0 + ], + [ + "LINK_DUPLEX_API_HALF", + 1 + ], + [ + "LINK_DUPLEX_API_FULL", + 2 + ], + { + "enumtype": "u32" + } + ], + [ + "sub_if_flags", + [ + "SUB_IF_API_FLAG_NO_TAGS", + 1 + ], + [ + "SUB_IF_API_FLAG_ONE_TAG", + 2 + ], + [ + "SUB_IF_API_FLAG_TWO_TAGS", + 4 + ], + [ + "SUB_IF_API_FLAG_DOT1AD", + 8 + ], + [ + "SUB_IF_API_FLAG_EXACT_MATCH", + 16 + ], + [ + "SUB_IF_API_FLAG_DEFAULT", + 32 + ], + [ + "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY", + 64 + ], + [ + "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY", + 128 + ], + [ + "SUB_IF_API_FLAG_MASK_VNET", + 254 + ], + [ + "SUB_IF_API_FLAG_DOT1AH", + 256 + ], + { + "enumtype": "u32" + } + ], + [ + "rx_mode", + [ + "RX_MODE_API_UNKNOWN", + 0 + ], + [ + "RX_MODE_API_POLLING", + 1 + ], + [ + "RX_MODE_API_INTERRUPT", + 2 + ], + [ + "RX_MODE_API_ADAPTIVE", + 3 + ], + [ + "RX_MODE_API_DEFAULT", + 4 + ], + { + "enumtype": "u32" + } + ], + [ + "if_type", + [ + "IF_API_TYPE_HARDWARE", + 1 + ], + [ + "IF_API_TYPE_SUB", + 2 + ], + [ + "IF_API_TYPE_P2P", + 3 + ], + [ + "IF_API_TYPE_PIPE", + 4 + ], + { + "enumtype": "u32" + } + ] + ], + "services": { + "vmxnet3_create": { + "reply": "vmxnet3_create_reply" + }, + "vmxnet3_delete": { + "reply": "vmxnet3_delete_reply" + }, + "vmxnet3_dump": { + "reply": "vmxnet3_details", + "stream": true + } + }, + "options": { + "version": "1.1.0" + }, + "aliases": { + "interface_index": { + "type": "u32" + }, + "mac_address": { + "type": "u8", + "length": 6 + } + }, + "vl_api_version": "0xe89a60f7" +} |