linux/drivers/net/ethernet/hisilicon/hibmcge/hbg_debugfs.h
Jijie Shao 86331b5102 net: hibmcge: Add debugfs supported in this module
This patch initializes debugfs and creates root directory
for each device. The tx_ring and rx_ring debugfs files
are implemented together.

Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241216040532.1566229-2-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-17 20:01:38 -08:00

12 lines
257 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/* Copyright (c) 2024 Hisilicon Limited. */
#ifndef __HBG_DEBUGFS_H
#define __HBG_DEBUGFS_H
void hbg_debugfs_register(void);
void hbg_debugfs_unregister(void);
void hbg_debugfs_init(struct hbg_priv *priv);
#endif