Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only
0002  * Copyright (C) 2021 Marvell.
0003  */
0004 
0005 #ifndef __OTX2_CPT_DEVLINK_H
0006 #define __OTX2_CPT_DEVLINK_H
0007 
0008 #include "otx2_cpt_common.h"
0009 #include "otx2_cptpf.h"
0010 
0011 struct otx2_cpt_devlink {
0012     struct devlink *dl;
0013     struct otx2_cptpf_dev *cptpf;
0014 };
0015 
0016 /* Devlink APIs */
0017 int otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf);
0018 void otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf);
0019 
0020 #endif /* __OTX2_CPT_DEVLINK_H */