OSDN Git Service

net/mlx5: Move debugfs entries to separate struct
authorMoshe Shemesh <moshe@nvidia.com>
Fri, 18 Feb 2022 07:36:20 +0000 (09:36 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 9 Mar 2022 21:33:02 +0000 (13:33 -0800)
commit66771a1c729e816dc84e29ba555013b6e722fb22
treeeb297ede504b4300a58a2ab15cb23fb4685b0bd2
parentd2cb8dda214fb75f946ba554a1ecd25da7004b2b
net/mlx5: Move debugfs entries to separate struct

Move the debugfs entry pointers under priv to their own struct.
Add get function for device debugfs root.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/infiniband/hw/mlx5/cong.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mr.c
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/debugfs.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_dbg.c
include/linux/mlx5/driver.h