mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
12 lines
257 B
C
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
|