/* Lookup a virtual port. Excludes base port from lookup.  */
struct bfa_fcs_vport_s* bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn)
/* Lookup a virtual port. Excludes base port from lookup.  */
struct bfa_fcs_vport_s* bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn)
{
	struct bfa_fcs_vport_s *vport;
	struct bfa_fcs_fabric_s *fabric;
	bfa_trc(fcs, vf_id);
	bfa_trc(fcs, vpwwn);
	fabric = bfa_fcs_vf_lookup(fcs, vf_id);
	if (!fabric) {
		bfa_trc(fcs, vf_id);
		return NULL;
	}
	vport = bfa_fcs_fabric_vport_lookup(fabric, vpwwn);
	return vport;
}