numam-dpdk/drivers/crypto/dpaa2_sec/dpaa2_sec_event.h
Akhil Goyal bffc7d561c crypto/dpaa2_sec: support event crypto adapter
dpaa2_sec hw queues can be attached to a hw dpaa2 event
device and the application can configure the event
crypto adapter to access the dpaa2_sec packets using
hardware events.
This patch defines APIs which can be used by the dpaa2
event device to attach/detach dpaa2_sec queues.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Signed-off-by: Ashish Jain <ashish.jain@nxp.com>
2018-10-17 12:20:06 +02:00

19 lines
367 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright 2018 NXP
*
*/
#ifndef _DPAA2_SEC_EVENT_H_
#define _DPAA2_SEC_EVENT_H_
int
dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev,
int qp_id,
uint16_t dpcon_id,
const struct rte_event *event);
int dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev,
int qp_id);
#endif /* _DPAA2_SEC_EVENT_H_ */