xref: /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.h (revision 6af91e3d2cfc8bb579b1aa2d22cd91f8c34acdf6)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Copyright (c) 2021 Hisilicon Limited. */
3 
4 #ifndef __HCLGE_DEVLINK_H
5 #define __HCLGE_DEVLINK_H
6 
7 #include "hclge_main.h"
8 
9 #define	HCLGE_DEVLINK_FW_SCC_LEN	32
10 
11 struct hclge_devlink_priv {
12 	struct hclge_dev *hdev;
13 };
14 
15 int hclge_devlink_init(struct hclge_dev *hdev);
16 void hclge_devlink_uninit(struct hclge_dev *hdev);
17 #endif
18