crypto-sw-scheduler: stabilize the API
[vpp.git] / src / plugins / crypto_sw_scheduler / crypto_sw_scheduler.api
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 = "1.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 {
33   u32 client_index;
34   u32 context;
35   u32 worker_index;
36   bool crypto_enable;
37 };
38
39 /*
40  * fd.io coding-style-patch-verification: ON
41  *
42  * Local Variables:
43  * eval: (c-set-style "gnu")
44  * End:
45  */