crypto/qat: improve security instance setup
[dpdk.git] / drivers / crypto / dpaa2_sec / dpaa2_sec_event.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2018 NXP
3  *
4  */
5
6 #ifndef _DPAA2_SEC_EVENT_H_
7 #define _DPAA2_SEC_EVENT_H_
8
9 __rte_internal
10 int dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev,
11                 int qp_id,
12                 struct dpaa2_dpcon_dev *dpcon,
13                 const struct rte_event *event);
14
15 __rte_internal
16 int dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev,
17                 int qp_id);
18
19 #endif /* _DPAA2_SEC_EVENT_H_ */