FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
virtio_types.api
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 option version = "1.0.0";
17 
19 {
20  VIRTIO_NET_F_API_CSUM = 0x0001, /* 0 */
21  VIRTIO_NET_F_API_GUEST_CSUM = 0x0002, /* 1 */
22  VIRTIO_NET_F_API_GUEST_TSO4 = 0x0080, /* 7 */
23  VIRTIO_NET_F_API_GUEST_TSO6 = 0x0100, /* 8 */
24  VIRTIO_NET_F_API_GUEST_UFO = 0x0400, /* 10 */
25  VIRTIO_NET_F_API_HOST_TSO4 = 0x0800, /* 11 */
26  VIRTIO_NET_F_API_HOST_TSO6 = 0x1000, /* 12 */
27  VIRTIO_NET_F_API_HOST_UFO = 0x4000, /* 14 */
28  VIRTIO_NET_F_API_MRG_RXBUF = 0x8000, /* 15 */
29  VIRTIO_NET_F_API_CTRL_VQ = 0x00020000, /* 17 */
30  VIRTIO_NET_F_API_GUEST_ANNOUNCE = 0x00200000, /* 21 */
31  VIRTIO_NET_F_API_MQ = 0x00400000, /* 22 */
32  VHOST_F_API_LOG_ALL = 0x04000000, /* 26 */
33  VIRTIO_F_API_ANY_LAYOUT = 0x08000000, /* 27 */
34  VIRTIO_F_API_INDIRECT_DESC = 0x10000000, /* 28*/
35  VHOST_USER_F_API_PROTOCOL_FEATURES = 0x40000000, /* 30 */
36 };
37 
39 {
40  VIRTIO_F_API_VERSION_1 = 0x0001, /* 32 */
41 };
42 
43 /*
44  * Local Variables:
45  * eval: (c-set-style "gnu")
46  * End:
47  */
virtio_net_features_last_32
option version
virtio_net_features_first_32