/* The UNREG_VFI mailbox command causes the SLI Host to put a virtual fabric (logical NPort) into the inactive state. The SLI Host must have logged out and unregistered all remote N_Ports to abort any activity on the virtual fabric. The SLI Port posts the mailbox response after marking the virtual fabric inactive.  */
void lpfc_unreg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport)
/* The UNREG_VFI mailbox command causes the SLI Host to put a virtual fabric (logical NPort) into the inactive state. The SLI Host must have logged out and unregistered all remote N_Ports to abort any activity on the virtual fabric. The SLI Port posts the mailbox response after marking the virtual fabric inactive.  */
void lpfc_unreg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport)
{
	memset(mbox, 0, sizeof(*mbox));
	bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_UNREG_VFI);
	bf_set(lpfc_unreg_vfi_vfi, &mbox->u.mqe.un.unreg_vfi,
	       vport->vfi + vport->phba->vfi_base);
}