net/i40e: use PHY type to check PHY capability