]> www.infradead.org Git - users/hch/misc.git/commit
RDMA/hns: Modify debugfs name
authorYuyu Li <liyuyu6@huawei.com>
Thu, 24 Oct 2024 12:39:58 +0000 (20:39 +0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 30 Oct 2024 12:13:55 +0000 (14:13 +0200)
commit370a9351bf84afc5a56a3f02ba3805bbfcb53c32
tree8edd9a51111d8c523440af47823cdb66642973da
parent377a2097705b915325a67e4d44f9f2844e567809
RDMA/hns: Modify debugfs name

The sub-directory of hns_roce debugfs is named after the device's
kernel name currently, but it will be inconvenient to use when
the device is renamed.

Modify the name to pci name as users can always easily find the
correspondence between an RDMA device and its pci name.

Fixes: eb7854d63db5 ("RDMA/hns: Support SW stats with debugfs")
Signed-off-by: Yuyu Li <liyuyu6@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20241024124000.2931869-4-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_debugfs.c