This is Mellanox SW steering Dump Tool.
Dump generation is done using rdma-core, it can be done directly by calling mlx5dv_dump_dr_domain API or using mlx5_pmd
example.json
To show steering rules run:
mlx_steering_dump.py -f pwd
/example.json
To show steering tree/hierarchy run:
mlx_steering_dump.py -f pwd
/example.json
Python 2.6.6 and above