Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / vhost_user.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "create_vhost_user_if",
6             [
7                 "u16",
8                 "_vl_msg_id"
9             ],
10             [
11                 "u32",
12                 "client_index"
13             ],
14             [
15                 "u32",
16                 "context"
17             ],
18             [
19                 "bool",
20                 "is_server"
21             ],
22             [
23                 "string",
24                 "sock_filename",
25                 256
26             ],
27             [
28                 "bool",
29                 "renumber"
30             ],
31             [
32                 "bool",
33                 "disable_mrg_rxbuf"
34             ],
35             [
36                 "bool",
37                 "disable_indirect_desc"
38             ],
39             [
40                 "bool",
41                 "enable_gso"
42             ],
43             [
44                 "u32",
45                 "custom_dev_instance"
46             ],
47             [
48                 "bool",
49                 "use_custom_mac"
50             ],
51             [
52                 "vl_api_mac_address_t",
53                 "mac_address"
54             ],
55             [
56                 "string",
57                 "tag",
58                 64
59             ],
60             {
61                 "crc": "0x591ee951"
62             }
63         ],
64         [
65             "create_vhost_user_if_reply",
66             [
67                 "u16",
68                 "_vl_msg_id"
69             ],
70             [
71                 "u32",
72                 "context"
73             ],
74             [
75                 "i32",
76                 "retval"
77             ],
78             [
79                 "vl_api_interface_index_t",
80                 "sw_if_index"
81             ],
82             {
83                 "crc": "0x5383d31f"
84             }
85         ],
86         [
87             "modify_vhost_user_if",
88             [
89                 "u16",
90                 "_vl_msg_id"
91             ],
92             [
93                 "u32",
94                 "client_index"
95             ],
96             [
97                 "u32",
98                 "context"
99             ],
100             [
101                 "vl_api_interface_index_t",
102                 "sw_if_index"
103             ],
104             [
105                 "bool",
106                 "is_server"
107             ],
108             [
109                 "string",
110                 "sock_filename",
111                 256
112             ],
113             [
114                 "bool",
115                 "renumber"
116             ],
117             [
118                 "bool",
119                 "enable_gso"
120             ],
121             [
122                 "u32",
123                 "custom_dev_instance"
124             ],
125             {
126                 "crc": "0xfcfeaf16"
127             }
128         ],
129         [
130             "modify_vhost_user_if_reply",
131             [
132                 "u16",
133                 "_vl_msg_id"
134             ],
135             [
136                 "u32",
137                 "context"
138             ],
139             [
140                 "i32",
141                 "retval"
142             ],
143             {
144                 "crc": "0xe8d4e804"
145             }
146         ],
147         [
148             "delete_vhost_user_if",
149             [
150                 "u16",
151                 "_vl_msg_id"
152             ],
153             [
154                 "u32",
155                 "client_index"
156             ],
157             [
158                 "u32",
159                 "context"
160             ],
161             [
162                 "vl_api_interface_index_t",
163                 "sw_if_index"
164             ],
165             {
166                 "crc": "0xf9e6675e"
167             }
168         ],
169         [
170             "delete_vhost_user_if_reply",
171             [
172                 "u16",
173                 "_vl_msg_id"
174             ],
175             [
176                 "u32",
177                 "context"
178             ],
179             [
180                 "i32",
181                 "retval"
182             ],
183             {
184                 "crc": "0xe8d4e804"
185             }
186         ],
187         [
188             "sw_interface_vhost_user_details",
189             [
190                 "u16",
191                 "_vl_msg_id"
192             ],
193             [
194                 "u32",
195                 "context"
196             ],
197             [
198                 "vl_api_interface_index_t",
199                 "sw_if_index"
200             ],
201             [
202                 "string",
203                 "interface_name",
204                 64
205             ],
206             [
207                 "u32",
208                 "virtio_net_hdr_sz"
209             ],
210             [
211                 "vl_api_virtio_net_features_first_32_t",
212                 "features_first_32"
213             ],
214             [
215                 "vl_api_virtio_net_features_last_32_t",
216                 "features_last_32"
217             ],
218             [
219                 "bool",
220                 "is_server"
221             ],
222             [
223                 "string",
224                 "sock_filename",
225                 256
226             ],
227             [
228                 "u32",
229                 "num_regions"
230             ],
231             [
232                 "i32",
233                 "sock_errno"
234             ],
235             {
236                 "crc": "0x98530df1"
237             }
238         ],
239         [
240             "sw_interface_vhost_user_dump",
241             [
242                 "u16",
243                 "_vl_msg_id"
244             ],
245             [
246                 "u32",
247                 "client_index"
248             ],
249             [
250                 "u32",
251                 "context"
252             ],
253             [
254                 "vl_api_interface_index_t",
255                 "sw_if_index",
256                 {
257                     "default": 4294967295
258                 }
259             ],
260             {
261                 "crc": "0xf9e6675e"
262             }
263         ]
264     ],
265     "unions": [],
266     "enums": [
267         [
268             "if_status_flags",
269             [
270                 "IF_STATUS_API_FLAG_ADMIN_UP",
271                 1
272             ],
273             [
274                 "IF_STATUS_API_FLAG_LINK_UP",
275                 2
276             ],
277             {
278                 "enumtype": "u32"
279             }
280         ],
281         [
282             "mtu_proto",
283             [
284                 "MTU_PROTO_API_L3",
285                 1
286             ],
287             [
288                 "MTU_PROTO_API_IP4",
289                 2
290             ],
291             [
292                 "MTU_PROTO_API_IP6",
293                 3
294             ],
295             [
296                 "MTU_PROTO_API_MPLS",
297                 4
298             ],
299             [
300                 "MTU_PROTO_API_N",
301                 5
302             ],
303             {
304                 "enumtype": "u32"
305             }
306         ],
307         [
308             "link_duplex",
309             [
310                 "LINK_DUPLEX_API_UNKNOWN",
311                 0
312             ],
313             [
314                 "LINK_DUPLEX_API_HALF",
315                 1
316             ],
317             [
318                 "LINK_DUPLEX_API_FULL",
319                 2
320             ],
321             {
322                 "enumtype": "u32"
323             }
324         ],
325         [
326             "sub_if_flags",
327             [
328                 "SUB_IF_API_FLAG_NO_TAGS",
329                 1
330             ],
331             [
332                 "SUB_IF_API_FLAG_ONE_TAG",
333                 2
334             ],
335             [
336                 "SUB_IF_API_FLAG_TWO_TAGS",
337                 4
338             ],
339             [
340                 "SUB_IF_API_FLAG_DOT1AD",
341                 8
342             ],
343             [
344                 "SUB_IF_API_FLAG_EXACT_MATCH",
345                 16
346             ],
347             [
348                 "SUB_IF_API_FLAG_DEFAULT",
349                 32
350             ],
351             [
352                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
353                 64
354             ],
355             [
356                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
357                 128
358             ],
359             [
360                 "SUB_IF_API_FLAG_MASK_VNET",
361                 254
362             ],
363             [
364                 "SUB_IF_API_FLAG_DOT1AH",
365                 256
366             ],
367             {
368                 "enumtype": "u32"
369             }
370         ],
371         [
372             "rx_mode",
373             [
374                 "RX_MODE_API_UNKNOWN",
375                 0
376             ],
377             [
378                 "RX_MODE_API_POLLING",
379                 1
380             ],
381             [
382                 "RX_MODE_API_INTERRUPT",
383                 2
384             ],
385             [
386                 "RX_MODE_API_ADAPTIVE",
387                 3
388             ],
389             [
390                 "RX_MODE_API_DEFAULT",
391                 4
392             ],
393             {
394                 "enumtype": "u32"
395             }
396         ],
397         [
398             "if_type",
399             [
400                 "IF_API_TYPE_HARDWARE",
401                 1
402             ],
403             [
404                 "IF_API_TYPE_SUB",
405                 2
406             ],
407             [
408                 "IF_API_TYPE_P2P",
409                 3
410             ],
411             [
412                 "IF_API_TYPE_PIPE",
413                 4
414             ],
415             {
416                 "enumtype": "u32"
417             }
418         ],
419         [
420             "virtio_net_features_first_32",
421             [
422                 "VIRTIO_NET_F_API_CSUM",
423                 1
424             ],
425             [
426                 "VIRTIO_NET_F_API_GUEST_CSUM",
427                 2
428             ],
429             [
430                 "VIRTIO_NET_F_API_GUEST_TSO4",
431                 128
432             ],
433             [
434                 "VIRTIO_NET_F_API_GUEST_TSO6",
435                 256
436             ],
437             [
438                 "VIRTIO_NET_F_API_GUEST_UFO",
439                 1024
440             ],
441             [
442                 "VIRTIO_NET_F_API_HOST_TSO4",
443                 2048
444             ],
445             [
446                 "VIRTIO_NET_F_API_HOST_TSO6",
447                 4096
448             ],
449             [
450                 "VIRTIO_NET_F_API_HOST_UFO",
451                 16384
452             ],
453             [
454                 "VIRTIO_NET_F_API_MRG_RXBUF",
455                 32768
456             ],
457             [
458                 "VIRTIO_NET_F_API_CTRL_VQ",
459                 131072
460             ],
461             [
462                 "VIRTIO_NET_F_API_GUEST_ANNOUNCE",
463                 2097152
464             ],
465             [
466                 "VIRTIO_NET_F_API_MQ",
467                 4194304
468             ],
469             [
470                 "VHOST_F_API_LOG_ALL",
471                 67108864
472             ],
473             [
474                 "VIRTIO_F_API_ANY_LAYOUT",
475                 134217728
476             ],
477             [
478                 "VIRTIO_F_API_INDIRECT_DESC",
479                 268435456
480             ],
481             [
482                 "VHOST_USER_F_API_PROTOCOL_FEATURES",
483                 1073741824
484             ],
485             {
486                 "enumtype": "u32"
487             }
488         ],
489         [
490             "virtio_net_features_last_32",
491             [
492                 "VIRTIO_F_API_VERSION_1",
493                 1
494             ],
495             {
496                 "enumtype": "u32"
497             }
498         ]
499     ],
500     "services": {
501         "create_vhost_user_if": {
502             "reply": "create_vhost_user_if_reply"
503         },
504         "modify_vhost_user_if": {
505             "reply": "modify_vhost_user_if_reply"
506         },
507         "delete_vhost_user_if": {
508             "reply": "delete_vhost_user_if_reply"
509         },
510         "sw_interface_vhost_user_dump": {
511             "reply": "sw_interface_vhost_user_details",
512             "stream": true
513         }
514     },
515     "options": {
516         "version": "4.0.0"
517     },
518     "aliases": {
519         "interface_index": {
520             "type": "u32"
521         },
522         "mac_address": {
523             "type": "u8",
524             "length": 6
525         }
526     },
527     "vl_api_version": "0xb547a33d"
528 }