FD.io VPP  v21.01.1
Vector Packet Processing
gso.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 
18 import "vnet/interface_types.api";
19 
20 /** \brief Enable or disable interface feature gso arc
21  @param client_index - opaque cookie to identify the sender
22  @param context - sender context, to match reply w/ request
23  @param sw_if_index - The interface to enable/disable gso feature arc.
24  @param enable_disable - set to 1 to enable, 0 to disable gso feature arc
25 */
26 autoreply define feature_gso_enable_disable
27 {
30  vl_api_interface_index_t sw_if_index;
32  option vat_help = "<intfc> | sw_if_index <nn> [enable | disable]";
33 };
34 
35 /*
36  * Local Variables:
37  * eval: (c-set-style "gnu")
38  * End:
39  */
unsigned int u32
Definition: types.h:88
vl_api_interface_index_t sw_if_index
Definition: gso.api:30
option version
Definition: gso.api:16