summaryrefslogtreecommitdiff
path: root/drivers/vdpa/mlx5/Makefile
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2022-11-14 16:17:58 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-02-21 03:26:54 +0300
commit2942210043224c0f6e88bd9d7c9c7c5949a36567 (patch)
treecf6fd9c6a3cfbbf322ea42c7d763dae8e2559a34 /drivers/vdpa/mlx5/Makefile
parent72c67e9b904c29edbcb7bb010655b3958c95a309 (diff)
downloadlinux-2942210043224c0f6e88bd9d7c9c7c5949a36567.tar.xz
vdpa/mlx5: Add debugfs subtree
Add debugfs subtree and expose flow table ID and TIR number. This information can be used by external tools to do extended troubleshooting. The information can be retrieved like so: $ cat /sys/kernel/debug/mlx5/mlx5_core.sf.1/vdpa-0/rx/table_id $ cat /sys/kernel/debug/mlx5/mlx5_core.sf.1/vdpa-0/rx/tirn Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Eli Cohen <elic@nvidia.com> Message-Id: <20221114131759.57883-8-elic@nvidia.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/mlx5/Makefile')
-rw-r--r--drivers/vdpa/mlx5/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vdpa/mlx5/Makefile b/drivers/vdpa/mlx5/Makefile
index f717978c83bf..e791394c33e3 100644
--- a/drivers/vdpa/mlx5/Makefile
+++ b/drivers/vdpa/mlx5/Makefile
@@ -1,4 +1,4 @@
subdir-ccflags-y += -I$(srctree)/drivers/vdpa/mlx5/core
obj-$(CONFIG_MLX5_VDPA_NET) += mlx5_vdpa.o
-mlx5_vdpa-$(CONFIG_MLX5_VDPA_NET) += net/mlx5_vnet.o core/resources.o core/mr.o
+mlx5_vdpa-$(CONFIG_MLX5_VDPA_NET) += net/mlx5_vnet.o core/resources.o core/mr.o net/debug.o