FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
pp2.api
Go to the documentation of this file.
1
/*
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:
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
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
*------------------------------------------------------------------
16
*/
17
18
option
version
=
"1.0.0"
;
19
20
21
/** \brief
22
@param client_index - opaque cookie to identify the sender
23
@param context - sender context, to match reply w/ request
24
@param if_name - interface name
25
@param rx_q_sz - receive queue size
26
@param tx_q_sz - transmit queue size
27
*/
28
define mrvl_pp2_create
29
{
30
u32
client_index
;
31
u32
context
;
32
33
u8
if_name[64];
34
u16
rx_q_sz
;
35
u16
tx_q_sz
;
36
};
37
38
/** \brief
39
@param context - sender context, to match reply w/ request
40
@param retval - return value for request
41
@param sw_if_index - software index for the new pp2 interface
42
*/
43
44
define mrvl_pp2_create_reply
45
{
46
u32
context
;
47
i32
retval
;
48
u32
sw_if_index
;
49
};
50
51
52
/** \brief
53
@param client_index - opaque cookie to identify the sender
54
@param context - sender context, to match reply w/ request
55
@param sw_if_index - interface index
56
*/
57
58
autoreply define mrvl_pp2_delete
59
{
60
u32
client_index
;
61
u32
context
;
62
63
u32
sw_if_index
;
64
};
65
66
/*
67
* Local Variables:
68
* eval: (c-set-style "gnu")
69
* End:
70
*/
vl_api_mrvl_pp2_create_reply_t::retval
i32 retval
Definition:
pp2.api:47
u8
unsigned char u8
Definition:
types.h:56
vl_api_mrvl_pp2_delete_t::context
u32 context
Definition:
pp2.api:61
u32
unsigned int u32
Definition:
types.h:88
u16
unsigned short u16
Definition:
types.h:57
version
option version
Definition:
pp2.api:18
vl_api_mrvl_pp2_create_reply_t::context
u32 context
Definition:
pp2.api:46
vl_api_mrvl_pp2_delete_t::client_index
u32 client_index
Definition:
pp2.api:60
vl_api_mrvl_pp2_create_t::context
u32 context
Definition:
pp2.api:31
i32
signed int i32
Definition:
types.h:77
vl_api_mrvl_pp2_create_t::tx_q_sz
u16 tx_q_sz
Definition:
pp2.api:35
vl_api_mrvl_pp2_delete_t::sw_if_index
u32 sw_if_index
Definition:
pp2.api:63
vl_api_mrvl_pp2_create_t::client_index
u32 client_index
Definition:
pp2.api:30
vl_api_mrvl_pp2_create_reply_t::sw_if_index
u32 sw_if_index
Definition:
pp2.api:48
vl_api_mrvl_pp2_create_t::rx_q_sz
u16 rx_q_sz
Definition:
pp2.api:34
src
plugins
marvell
pp2
pp2.api
Generated on Mon Oct 19 2020 14:03:24 for FD.io VPP by
1.8.13