[PATCH 5.12 124/296] net/mlx5: Set reformat action when needed for termination rules