f-stack/dpdk/drivers/crypto/octeontx/otx_cryptodev_ops.h

26 lines
550 B
C
Raw Normal View History

2019-06-25 11:12:58 +00:00
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2018 Cavium, Inc
*/
#ifndef _OTX_CRYPTODEV_OPS_H_
#define _OTX_CRYPTODEV_OPS_H_
2022-09-06 04:00:10 +00:00
#include <cryptodev_pmd.h>
2020-06-18 16:55:50 +00:00
2019-06-25 11:12:58 +00:00
#define OTX_CPT_MIN_HEADROOM_REQ (24)
#define OTX_CPT_MIN_TAILROOM_REQ (8)
#define CPT_NUM_QS_PER_VF (1)
int
otx_cpt_dev_create(struct rte_cryptodev *c_dev);
2022-09-06 04:00:10 +00:00
__rte_internal
uint16_t __rte_hot
otx_crypto_adapter_enqueue(void *port, struct rte_crypto_op *op);
__rte_internal
uintptr_t __rte_hot
otx_crypto_adapter_dequeue(uintptr_t get_work1);
2019-06-25 11:12:58 +00:00
#endif /* _OTX_CRYPTODEV_OPS_H_ */