2020-06-18 16:55:50 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright (C) 2019 Marvell International Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _OTX2_CRYPTODEV_OPS_H_
|
|
|
|
#define _OTX2_CRYPTODEV_OPS_H_
|
|
|
|
|
|
|
|
#include <rte_cryptodev_pmd.h>
|
|
|
|
|
|
|
|
#define OTX2_CPT_MIN_HEADROOM_REQ 24
|
|
|
|
#define OTX2_CPT_MIN_TAILROOM_REQ 8
|
|
|
|
|
|
|
|
enum otx2_cpt_egrp {
|
|
|
|
OTX2_CPT_EGRP_SE = 0,
|
|
|
|
OTX2_CPT_EGRP_SE_IE = 1,
|
|
|
|
OTX2_CPT_EGRP_AE = 2
|
|
|
|
};
|
|
|
|
|
2021-01-28 17:08:59 +00:00
|
|
|
extern struct rte_cryptodev_ops otx2_cpt_ops;
|
2020-06-18 16:55:50 +00:00
|
|
|
|
|
|
|
#endif /* _OTX2_CRYPTODEV_OPS_H_ */
|