2 *------------------------------------------------------------------
3 * Copyright (c) 2019 Arm Limited.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *------------------------------------------------------------------
18 option version = "1.0.0";
20 import "vnet/interface_types.api";
23 @param client_index - opaque cookie to identify the sender
24 @param context - sender context, to match reply w/ request
25 @param if_name - interface name
26 @param rx_q_sz - receive queue size
27 @param tx_q_sz - transmit queue size
29 define mrvl_pp2_create
37 option vat_help = "[name <ifname>] [rx-queue-size <size>] [tx-queue-size <size>]";
41 @param context - sender context, to match reply w/ request
42 @param retval - return value for request
43 @param sw_if_index - software index for the new pp2 interface
46 define mrvl_pp2_create_reply
50 vl_api_interface_index_t sw_if_index;
55 @param client_index - opaque cookie to identify the sender
56 @param context - sender context, to match reply w/ request
57 @param sw_if_index - interface index
60 autoreply define mrvl_pp2_delete
65 vl_api_interface_index_t sw_if_index;
66 option vat_help = "sw_if_index <sw_if_index>";
71 * eval: (c-set-style "gnu")