FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
crypto_sw_scheduler.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2020 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 /** \file
18  This file defines the vpp control-plane API messages
19  used to control the crypto SW scheduler plugin
20 */
21 
22 option version = "0.1.0";
23 
24 
25  /** \brief crypto sw scheduler: Enable or disable workers
26  @param client_index - opaque cookie to identify the sender
27  @param context - sender context, to match reply w/ request
28  @param worker_index - Worker index to enable / disable
29  @param crypto_enable - On/Off
30 */
31 autoreply define crypto_sw_scheduler_set_worker
32 {
37 };
38 
39 /*
40  * fd.io coding-style-patch-verification: ON
41  *
42  * Local Variables:
43  * eval: (c-set-style "gnu")
44  * End:
45  */
vl_api_crypto_sw_scheduler_set_worker_t::context
u32 context
Definition: crypto_sw_scheduler.api:34
vl_api_crypto_sw_scheduler_set_worker_t::worker_index
u32 worker_index
Definition: crypto_sw_scheduler.api:35
version
option version
Definition: crypto_sw_scheduler.api:22
vl_api_crypto_sw_scheduler_set_worker_t::crypto_enable
bool crypto_enable
Definition: crypto_sw_scheduler.api:36
u32
unsigned int u32
Definition: types.h:88
vl_api_crypto_sw_scheduler_set_worker_t::client_index
u32 client_index
Definition: crypto_sw_scheduler.api:33
vl_api_crypto_sw_scheduler_set_worker_t
crypto sw scheduler: Enable or disable workers
Definition: crypto_sw_scheduler.api:31