Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / virtio.api.json
1 {
2     "types": [
3         [
4             "pci_address",
5             [
6                 "u16",
7                 "domain"
8             ],
9             [
10                 "u8",
11                 "bus"
12             ],
13             [
14                 "u8",
15                 "slot"
16             ],
17             [
18                 "u8",
19                 "function"
20             ]
21         ]
22     ],
23     "messages": [
24         [
25             "virtio_pci_create",
26             [
27                 "u16",
28                 "_vl_msg_id"
29             ],
30             [
31                 "u32",
32                 "client_index"
33             ],
34             [
35                 "u32",
36                 "context"
37             ],
38             [
39                 "vl_api_pci_address_t",
40                 "pci_addr"
41             ],
42             [
43                 "bool",
44                 "use_random_mac"
45             ],
46             [
47                 "vl_api_mac_address_t",
48                 "mac_address"
49             ],
50             [
51                 "bool",
52                 "gso_enabled"
53             ],
54             [
55                 "bool",
56                 "checksum_offload_enabled"
57             ],
58             [
59                 "u64",
60                 "features"
61             ],
62             {
63                 "crc": "0xa9f1370c"
64             }
65         ],
66         [
67             "virtio_pci_create_reply",
68             [
69                 "u16",
70                 "_vl_msg_id"
71             ],
72             [
73                 "u32",
74                 "context"
75             ],
76             [
77                 "i32",
78                 "retval"
79             ],
80             [
81                 "vl_api_interface_index_t",
82                 "sw_if_index"
83             ],
84             {
85                 "crc": "0x5383d31f"
86             }
87         ],
88         [
89             "virtio_pci_delete",
90             [
91                 "u16",
92                 "_vl_msg_id"
93             ],
94             [
95                 "u32",
96                 "client_index"
97             ],
98             [
99                 "u32",
100                 "context"
101             ],
102             [
103                 "vl_api_interface_index_t",
104                 "sw_if_index"
105             ],
106             {
107                 "crc": "0xf9e6675e"
108             }
109         ],
110         [
111             "virtio_pci_delete_reply",
112             [
113                 "u16",
114                 "_vl_msg_id"
115             ],
116             [
117                 "u32",
118                 "context"
119             ],
120             [
121                 "i32",
122                 "retval"
123             ],
124             {
125                 "crc": "0xe8d4e804"
126             }
127         ],
128         [
129             "sw_interface_virtio_pci_dump",
130             [
131                 "u16",
132                 "_vl_msg_id"
133             ],
134             [
135                 "u32",
136                 "client_index"
137             ],
138             [
139                 "u32",
140                 "context"
141             ],
142             {
143                 "crc": "0x51077d14"
144             }
145         ],
146         [
147             "sw_interface_virtio_pci_details",
148             [
149                 "u16",
150                 "_vl_msg_id"
151             ],
152             [
153                 "u32",
154                 "context"
155             ],
156             [
157                 "vl_api_interface_index_t",
158                 "sw_if_index"
159             ],
160             [
161                 "vl_api_pci_address_t",
162                 "pci_addr"
163             ],
164             [
165                 "vl_api_mac_address_t",
166                 "mac_addr"
167             ],
168             [
169                 "u16",
170                 "tx_ring_sz"
171             ],
172             [
173                 "u16",
174                 "rx_ring_sz"
175             ],
176             [
177                 "u64",
178                 "features"
179             ],
180             {
181                 "crc": "0x16187f3a"
182             }
183         ]
184     ],
185     "unions": [],
186     "enums": [
187         [
188             "if_status_flags",
189             [
190                 "IF_STATUS_API_FLAG_ADMIN_UP",
191                 1
192             ],
193             [
194                 "IF_STATUS_API_FLAG_LINK_UP",
195                 2
196             ],
197             {
198                 "enumtype": "u32"
199             }
200         ],
201         [
202             "mtu_proto",
203             [
204                 "MTU_PROTO_API_L3",
205                 1
206             ],
207             [
208                 "MTU_PROTO_API_IP4",
209                 2
210             ],
211             [
212                 "MTU_PROTO_API_IP6",
213                 3
214             ],
215             [
216                 "MTU_PROTO_API_MPLS",
217                 4
218             ],
219             [
220                 "MTU_PROTO_API_N",
221                 5
222             ],
223             {
224                 "enumtype": "u32"
225             }
226         ],
227         [
228             "link_duplex",
229             [
230                 "LINK_DUPLEX_API_UNKNOWN",
231                 0
232             ],
233             [
234                 "LINK_DUPLEX_API_HALF",
235                 1
236             ],
237             [
238                 "LINK_DUPLEX_API_FULL",
239                 2
240             ],
241             {
242                 "enumtype": "u32"
243             }
244         ],
245         [
246             "sub_if_flags",
247             [
248                 "SUB_IF_API_FLAG_NO_TAGS",
249                 1
250             ],
251             [
252                 "SUB_IF_API_FLAG_ONE_TAG",
253                 2
254             ],
255             [
256                 "SUB_IF_API_FLAG_TWO_TAGS",
257                 4
258             ],
259             [
260                 "SUB_IF_API_FLAG_DOT1AD",
261                 8
262             ],
263             [
264                 "SUB_IF_API_FLAG_EXACT_MATCH",
265                 16
266             ],
267             [
268                 "SUB_IF_API_FLAG_DEFAULT",
269                 32
270             ],
271             [
272                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
273                 64
274             ],
275             [
276                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
277                 128
278             ],
279             [
280                 "SUB_IF_API_FLAG_MASK_VNET",
281                 254
282             ],
283             [
284                 "SUB_IF_API_FLAG_DOT1AH",
285                 256
286             ],
287             {
288                 "enumtype": "u32"
289             }
290         ],
291         [
292             "rx_mode",
293             [
294                 "RX_MODE_API_UNKNOWN",
295                 0
296             ],
297             [
298                 "RX_MODE_API_POLLING",
299                 1
300             ],
301             [
302                 "RX_MODE_API_INTERRUPT",
303                 2
304             ],
305             [
306                 "RX_MODE_API_ADAPTIVE",
307                 3
308             ],
309             [
310                 "RX_MODE_API_DEFAULT",
311                 4
312             ],
313             {
314                 "enumtype": "u32"
315             }
316         ],
317         [
318             "if_type",
319             [
320                 "IF_API_TYPE_HARDWARE",
321                 1
322             ],
323             [
324                 "IF_API_TYPE_SUB",
325                 2
326             ],
327             [
328                 "IF_API_TYPE_P2P",
329                 3
330             ],
331             [
332                 "IF_API_TYPE_PIPE",
333                 4
334             ],
335             {
336                 "enumtype": "u32"
337             }
338         ]
339     ],
340     "services": {
341         "virtio_pci_create": {
342             "reply": "virtio_pci_create_reply"
343         },
344         "virtio_pci_delete": {
345             "reply": "virtio_pci_delete_reply"
346         },
347         "sw_interface_virtio_pci_dump": {
348             "reply": "sw_interface_virtio_pci_details",
349             "stream": true
350         }
351     },
352     "options": {
353         "version": "2.0.0"
354     },
355     "aliases": {
356         "interface_index": {
357             "type": "u32"
358         },
359         "mac_address": {
360             "type": "u8",
361             "length": 6
362         }
363     },
364     "vl_api_version": "0xb64fcf02"
365 }