MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5dr_debug_dump

Function mlx5dr_debug_dump

dpdk/drivers/net/mlx5/hws/mlx5dr_debug.c:587–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587int mlx5dr_debug_dump(struct mlx5dr_context *ctx, FILE *f)
588{
589 int ret;
590
591 if (!f || !ctx) {
592 rte_errno = EINVAL;
593 return -rte_errno;
594 }
595
596 pthread_spin_lock(&ctx->ctrl_lock);
597 ret = mlx5dr_debug_dump_context(f, ctx);
598 pthread_spin_unlock(&ctx->ctrl_lock);
599
600 return -ret;
601}

Callers 1

mlx5_flow_dev_dumpFunction · 0.85

Calls 1

Tested by

no test coverage detected