aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.h
blob: 082df4e159fb91cde7e18d0fe97a0d21679d25d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only
 * Copyright (C) 2018 Marvell.
 */

#ifndef	__OTX2_CPT_DEVLINK_H
#define	__OTX2_CPT_DEVLINK_H

#include "otx2_cpt_common.h"
#include "otx2_cptpf.h"

struct otx2_cpt_devlink {
	struct devlink *dl;
	struct otx2_cptpf_dev *cptpf;
};

/* Devlink APIs */
int otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf);
void otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf);

#endif /* __OTX2_CPT_DEVLINK_H */