summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/octeontx/otx_cryptodev_ops.h
blob: b3efecf04a3b59120f53c7a8c2366d2472f26f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2018 Cavium, Inc
 */

#ifndef _OTX_CRYPTODEV_OPS_H_
#define _OTX_CRYPTODEV_OPS_H_

#define OTX_CPT_MIN_HEADROOM_REQ	(24)
#define OTX_CPT_MIN_TAILROOM_REQ	(8)
#define CPT_NUM_QS_PER_VF		(1)

void
cleanup_global_resources(void);

int
otx_cpt_dev_create(struct rte_cryptodev *c_dev);

#endif /* _OTX_CRYPTODEV_OPS_H_ */