MLX5DV_DUMP_DR_DOMAIN(3)
π NAME π
okay so bestie, welcome to the MLX5DV_DUMP API(3) page from the mlx5 Programmerβs Manual β¨ this whole page is about dumping DR stuff, and the main characters are:
mlx5dv_dump_dr_domainβ Dump DR Domainmlx5dv_dump_dr_tableβ Dump DR Tablemlx5dv_dump_dr_matcherβ Dump DR Matchermlx5dv_dump_dr_ruleβ Dump DR Rule
β¨ SYNOPSIS β¨
#include <infiniband/mlx5dv.h>
int mlx5dv_dump_dr_domain(FILE *fout, struct mlx5dv_dr_domain *domain);
int mlx5dv_dump_dr_table(FILE *fout, struct mlx5dv_dr_table *table);
int mlx5dv_dump_dr_matcher(FILE *fout, struct mlx5dv_dr_matcher *matcher);
int mlx5dv_dump_dr_rule(FILE *fout, struct mlx5dv_dr_rule *rule);
π¦ DESCRIPTION π¦
The Dump API (mlx5dv_dump_*) lets you dump the existing rdma-core resources to the file you provide, bestie. The output file format is vendor specific β that's the vibe, no cap.
mlx5dv_dump_dr_domain()β dumps a DR Domain object properties to a specified file.mlx5dv_dump_dr_table()β dumps a DR Table object properties to a specified file.mlx5dv_dump_dr_matcher()β dumps a DR Matcher object properties to a specified file.mlx5dv_dump_dr_rule()β dumps a DR Rule object properties to a specified file.
π«Ά RETURN VALUE π«Ά
The API calls return 0 on success, or the value of errno on failure (which indicates the failure reason). The calls are blocking β function returns only when all related resources info is written to the file.
π AUTHOR π
Yevgeny Kliteynik <kliteyn@mellanox.com> and Muhammad Sammar <muhammads@mellanox.com>
xoxo, from the mlx5 manual, dated 2019-11-18 ππ¦β¨
π¦ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 Β· GPL-2.0-only OR BSD-2-Clause
- centos-stream 10: rdma-core-devel 62.0-3.el10 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- ubuntu jammy: libibverbs-dev 39.0-1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms