net/mlx5: Unify and improve command interface