1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/infiniband/hw/hns
wenglianfa 124a9fbe43 RDMA/hns: Append SCC context to the raw dump of QPC
SCCC (SCC Context) is a context with QP granularity that contains
information about congestion control. Dump SCCC and QPC together
to improve troubleshooting.

When dumping raw QPC with rdmatool, there will be a total of 576 bytes
data output, where the first 512 bytes is QPC and the last 64 bytes is
SCCC. When congestion control is disabled, the 64 byte SCCC will be all 0.

Example:
$rdma res show qp -jpr
[ {
        "ifindex": 0,
        "ifname": "hns_0",
	"data": [ 67,0,0,0... 512bytes
		  4,0,2... 64bytes]
  },...
} ]

Signed-off-by: wenglianfa <wenglianfa@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240305055257.823513-1-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-03-07 11:26:10 +02:00
..
hns_roce_ah.c RDMA/hns: Response dmac to userspace 2023-12-07 15:09:16 +02:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Support SW stats with debugfs 2023-11-19 14:55:43 +02:00
hns_roce_cmd.h RDMA/hns: Append SCC context to the raw dump of QPC 2024-03-07 11:26:10 +02:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Refactor mtr find 2024-01-25 11:54:38 +02:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_debugfs.c RDMA/hns: Support SW stats with debugfs 2023-11-19 14:55:43 +02:00
hns_roce_debugfs.h RDMA/hns: Support SW stats with debugfs 2023-11-19 14:55:43 +02:00
hns_roce_device.h RDMA/hns: Append SCC context to the raw dump of QPC 2024-03-07 11:26:10 +02:00
hns_roce_hem.c RDMA/hns: Simplify 'struct hns_roce_hem' allocation 2024-01-25 11:54:38 +02:00
hns_roce_hem.h RDMA/hns: Simplify 'struct hns_roce_hem' allocation 2024-01-25 11:54:38 +02:00
hns_roce_hw_v2.c RDMA/hns: Append SCC context to the raw dump of QPC 2024-03-07 11:26:10 +02:00
hns_roce_hw_v2.h RDMA/hns: Append SCC context to the raw dump of QPC 2024-03-07 11:26:10 +02:00
hns_roce_main.c RDMA/hns: Support userspace configuring congestion control algorithm with QP granularity 2024-03-03 15:01:33 +02:00
hns_roce_mr.c RDMA/hns: Support adaptive PBL hopnum 2024-01-25 11:54:38 +02:00
hns_roce_pd.c RDMA/hns: Support SW stats with debugfs 2023-11-19 14:55:43 +02:00
hns_roce_qp.c RDMA/hns: Support userspace configuring congestion control algorithm with QP granularity 2024-03-03 15:01:33 +02:00
hns_roce_restrack.c RDMA/hns: Append SCC context to the raw dump of QPC 2024-03-07 11:26:10 +02:00
hns_roce_srq.c RDMA/hns: Support SW stats with debugfs 2023-11-19 14:55:43 +02:00
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Add debugfs to hns RoCE 2023-11-19 14:55:43 +02:00