dpdk: Add support for Mellanox ConnectX-4 devices
[vpp.git] / src / vnet / vxlan-gpe / vxlan_gpe.api
1 /*
2  * Copyright (c) 2015-2016 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 define vxlan_gpe_add_del_tunnel
17 {
18   u32 client_index;
19   u32 context;
20   u8 is_ipv6;
21   u8 local[16];
22   u8 remote[16];
23   u32 encap_vrf_id;
24   u32 decap_vrf_id;
25   u8 protocol;
26   u32 vni;
27   u8 is_add;
28 };
29
30 define vxlan_gpe_add_del_tunnel_reply
31 {
32   u32 context;
33   i32 retval;
34   u32 sw_if_index;
35 };
36
37 define vxlan_gpe_tunnel_dump
38 {
39   u32 client_index;
40   u32 context;
41   u32 sw_if_index;
42 };
43
44 define vxlan_gpe_tunnel_details
45 {
46   u32 context;
47   u32 sw_if_index;
48   u8 local[16];
49   u8 remote[16];
50   u32 vni;
51   u8 protocol;
52   u32 encap_vrf_id;
53   u32 decap_vrf_id;
54   u8 is_ipv6;
55 };
56
57 /*
58  * Local Variables:
59  * eval: (c-set-style "gnu")
60  * End:
61  */