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

Function mlx5dr_debug_dump_context

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

Source from the content-addressed store, hash-verified

559}
560
561static int mlx5dr_debug_dump_context(FILE *f, struct mlx5dr_context *ctx)
562{
563 struct mlx5dr_table *tbl;
564 int ret;
565
566 ret = mlx5dr_debug_dump_context_info(f, ctx);
567 if (ret)
568 return ret;
569
570 ret = mlx5dr_debug_dump_context_send_engine(f, ctx);
571 if (ret)
572 return ret;
573
574 ret = mlx5dr_debug_dump_context_stc(f, ctx);
575 if (ret)
576 return ret;
577
578 LIST_FOREACH(tbl, &ctx->head, next) {
579 ret = mlx5dr_debug_dump_table(f, tbl);
580 if (ret)
581 return ret;
582 }
583
584 return 0;
585}
586
587int mlx5dr_debug_dump(struct mlx5dr_context *ctx, FILE *f)
588{

Callers 1

mlx5dr_debug_dumpFunction · 0.85

Tested by

no test coverage detected