FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
avf.api
Go to the documentation of this file.
1
/*
2
*------------------------------------------------------------------
3
* Copyright (c) 2018 Cisco and/or its affiliates.
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
/** \brief
21
@param client_index - opaque cookie to identify the sender
22
@param context - sender context, to match reply w/ request
23
@param pci_addr - pci address as unsigned 32bit integer:
24
0-15 domain, 16-23 bus, 24-28 slot, 29-31 function
25
ddddddddddddddddbbbbbbbbsssssfff
26
@param rxq_size - receive queue size
27
@param txq_size - transmit queue size
28
*/
29
30
define avf_create
31
{
32
u32
client_index
;
33
u32
context
;
34
35
u32
pci_addr
;
36
i32
enable_elog
;
37
u16
rxq_size
;
38
u16
txq_size
;
39
};
40
41
/** \brief
42
@param context - sender context, to match reply w/ request
43
@param retval - return value for request
44
@param sw_if_index - software index for the new avf interface
45
*/
46
47
define avf_create_reply
48
{
49
u32
context
;
50
i32
retval
;
51
u32
sw_if_index
;
52
};
53
54
/** \brief
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
58
*/
59
60
autoreply define avf_delete
61
{
62
u32
client_index
;
63
u32
context
;
64
65
u32
sw_if_index
;
66
};
67
68
/*
69
* Local Variables:
70
* eval: (c-set-style "gnu")
71
* End:
72
*/
vl_api_avf_delete_t::client_index
u32 client_index
Definition:
avf.api:62
vl_api_avf_create_reply_t::retval
i32 retval
Definition:
avf.api:50
vl_api_avf_create_t::enable_elog
i32 enable_elog
Definition:
avf.api:36
u32
unsigned int u32
Definition:
types.h:88
vl_api_avf_create_t::pci_addr
u32 pci_addr
Definition:
avf.api:35
u16
unsigned short u16
Definition:
types.h:57
vl_api_avf_create_reply_t::context
u32 context
Definition:
avf.api:49
vl_api_avf_create_t::context
u32 context
Definition:
avf.api:33
vl_api_avf_delete_t::sw_if_index
u32 sw_if_index
Definition:
avf.api:65
vl_api_avf_create_t::rxq_size
u16 rxq_size
Definition:
avf.api:37
i32
signed int i32
Definition:
types.h:81
vl_api_avf_create_t::client_index
u32 client_index
Definition:
avf.api:32
vl_api_avf_create_reply_t::sw_if_index
u32 sw_if_index
Definition:
avf.api:51
vl_api_avf_create_t::txq_size
u16 txq_size
Definition:
avf.api:38
vl_api_avf_delete_t::context
u32 context
Definition:
avf.api:63
version
option version
Definition:
avf.api:18
src
plugins
avf
avf.api
Generated on Sun Sep 16 2018 01:21:46 for FD.io VPP by
1.8.11