Lines Matching refs:reg_vfi
1915 struct lpfc_mbx_reg_vfi *reg_vfi;
1918 reg_vfi = &mbox->u.mqe.un.reg_vfi;
1920 bf_set(lpfc_reg_vfi_vp, reg_vfi, 1);
1921 bf_set(lpfc_reg_vfi_vfi, reg_vfi, vport->vfi + vport->phba->vfi_base);
1922 bf_set(lpfc_reg_vfi_fcfi, reg_vfi, vport->phba->fcf.fcfi);
1923 bf_set(lpfc_reg_vfi_vpi, reg_vfi, vport->vpi + vport->phba->vpi_base);
1924 memcpy(reg_vfi->wwn, &vport->fc_portname, sizeof(struct lpfc_name));
1925 reg_vfi->wwn[0] = cpu_to_le32(reg_vfi->wwn[0]);
1926 reg_vfi->wwn[1] = cpu_to_le32(reg_vfi->wwn[1]);
1927 reg_vfi->e_d_tov = vport->phba->fc_edtov;
1928 reg_vfi->r_a_tov = vport->phba->fc_ratov;
1929 reg_vfi->bde.addrHigh = putPaddrHigh(phys);
1930 reg_vfi->bde.addrLow = putPaddrLow(phys);
1931 reg_vfi->bde.tus.f.bdeSize = sizeof(vport->fc_sparam);
1932 reg_vfi->bde.tus.f.bdeFlags = BUFF_TYPE_BDE_64;
1933 bf_set(lpfc_reg_vfi_nport_id, reg_vfi, vport->fc_myDID);