mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 16:44:59 +00:00

Add devlink register support for HNS3 ethernet VF driver. Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
344 B
C
16 lines
344 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/* Copyright (c) 2021 Hisilicon Limited. */
|
|
|
|
#ifndef __HCLGEVF_DEVLINK_H
|
|
#define __HCLGEVF_DEVLINK_H
|
|
|
|
#include "hclgevf_main.h"
|
|
|
|
struct hclgevf_devlink_priv {
|
|
struct hclgevf_dev *hdev;
|
|
};
|
|
|
|
int hclgevf_devlink_init(struct hclgevf_dev *hdev);
|
|
void hclgevf_devlink_uninit(struct hclgevf_dev *hdev);
|
|
#endif
|