net/mlx4_core: Enhance the catas flow to support device reset