net/mlx5: Introduce attach/detach to interface API