mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Add support to query scc version by devlink info for device V3. Signed-off-by: Hao Chen <chenhao418@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Link: https://lore.kernel.org/r/20240410125354.2177067-5-shaojijie@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
18 lines
363 B
C
18 lines
363 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/* Copyright (c) 2021 Hisilicon Limited. */
|
|
|
|
#ifndef __HCLGE_DEVLINK_H
|
|
#define __HCLGE_DEVLINK_H
|
|
|
|
#include "hclge_main.h"
|
|
|
|
#define HCLGE_DEVLINK_FW_SCC_LEN 32
|
|
|
|
struct hclge_devlink_priv {
|
|
struct hclge_dev *hdev;
|
|
};
|
|
|
|
int hclge_devlink_init(struct hclge_dev *hdev);
|
|
void hclge_devlink_uninit(struct hclge_dev *hdev);
|
|
#endif
|