net/mlx5: fix port attach in secondary process