net/mlx5: fix index when creating flow