1fe3688baSAkhil Goyal /* SPDX-License-Identifier: BSD-3-Clause 2fe3688baSAkhil Goyal * Copyright 2019 NXP 3fe3688baSAkhil Goyal * 4fe3688baSAkhil Goyal */ 5fe3688baSAkhil Goyal 6fe3688baSAkhil Goyal #ifndef _DPAA_SEC_EVENT_H_ 7fe3688baSAkhil Goyal #define _DPAA_SEC_EVENT_H_ 8fe3688baSAkhil Goyal 9*1094dd94SDavid Marchand #include <rte_compat.h> 10*1094dd94SDavid Marchand 116b6ca751SHemant Agrawal __rte_internal 126b6ca751SHemant Agrawal int dpaa_sec_eventq_attach(const struct rte_cryptodev *dev, 13fe3688baSAkhil Goyal int qp_id, 14fe3688baSAkhil Goyal uint16_t ch_id, 15fe3688baSAkhil Goyal const struct rte_event *event); 16fe3688baSAkhil Goyal 176b6ca751SHemant Agrawal __rte_internal 186b6ca751SHemant Agrawal int dpaa_sec_eventq_detach(const struct rte_cryptodev *dev, 19fe3688baSAkhil Goyal int qp_id); 20fe3688baSAkhil Goyal 21fe3688baSAkhil Goyal #endif /* _DPAA_SEC_EVENT_H_ */ 22