Home
last modified time | relevance | path

Searched refs:flogi (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fcbuild.c223 fc_flogi_build(struct fchs_s *fchs, struct fc_logi_s *flogi, u32 s_id, in fc_flogi_build() argument
230 memcpy(flogi, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_flogi_build()
232 flogi->els_cmd.els_code = FC_ELS_FLOGI; in fc_flogi_build()
235 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_build()
236 flogi->port_name = port_name; in fc_flogi_build()
237 flogi->node_name = node_name; in fc_flogi_build()
243 flogi->csp.ciro = set_npiv; in fc_flogi_build()
246 flogi->csp.security = set_auth; in fc_flogi_build()
248 flogi->csp.bbcred = cpu_to_be16(local_bb_credits); in fc_flogi_build()
251 vvl_info = (u32 *)&flogi->vvl[0]; in fc_flogi_build()
[all …]
Dbfa_fcbuild.h130 u16 fc_flogi_build(struct fchs_s *fchs, struct fc_logi_s *flogi,
135 u16 fc_fdisc_build(struct fchs_s *buf, struct fc_logi_s *flogi, u32 s_id,
139 u16 fc_flogi_acc_build(struct fchs_s *fchs, struct fc_logi_s *flogi,
Dbfa_fcs.c1201 struct fc_logi_s *flogi = (struct fc_logi_s *) els_cmd; in bfa_fcs_fabric_uf_recv() local
1213 (flogi->port_name == bfa_fcs_lport_get_pwwn(&fabric->bport))) { in bfa_fcs_fabric_uf_recv()
1290 struct fc_logi_s *flogi = (struct fc_logi_s *) (fchs + 1); in bfa_fcs_fabric_process_flogi() local
1299 if (flogi->csp.port_type) { in bfa_fcs_fabric_process_flogi()
1303 bfa_trc(fabric->fcs, flogi->port_name); in bfa_fcs_fabric_process_flogi()
1308 fabric->bb_credit = be16_to_cpu(flogi->csp.bbcred); in bfa_fcs_fabric_process_flogi()
1309 bport->port_topo.pn2n.rem_port_wwn = flogi->port_name; in bfa_fcs_fabric_process_flogi()
/linux-6.1.9/drivers/scsi/elx/libefc/
Defc_els.c424 struct fc_els_flogi *flogi; in efc_send_flogi() local
430 els = efc_els_io_alloc(node, sizeof(*flogi)); in efc_send_flogi()
439 flogi = els->io.req.virt; in efc_send_flogi()
441 memcpy(flogi, node->nport->service_params, sizeof(*flogi)); in efc_send_flogi()
442 flogi->fl_cmd = ELS_FLOGI; in efc_send_flogi()
443 memset(flogi->_fl_resvd, 0, sizeof(flogi->_fl_resvd)); in efc_send_flogi()
681 struct fc_els_flogi *flogi; in efc_send_flogi_p2p_acc() local
685 els = efc_els_io_alloc(node, sizeof(*flogi)); in efc_send_flogi_p2p_acc()
697 flogi = els->io.req.virt; in efc_send_flogi_p2p_acc()
700 memcpy(flogi, node->nport->service_params, sizeof(*flogi)); in efc_send_flogi_p2p_acc()
[all …]
/linux-6.1.9/drivers/scsi/libfc/
Dfc_encode.h782 struct fc_els_flogi *flogi; in fc_flogi_fill() local
784 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_flogi_fill()
785 memset(flogi, 0, sizeof(*flogi)); in fc_flogi_fill()
786 flogi->fl_cmd = (u8) ELS_FLOGI; in fc_flogi_fill()
787 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_flogi_fill()
788 put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); in fc_flogi_fill()
789 sp = &flogi->fl_csp; in fc_flogi_fill()
794 cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ in fc_flogi_fill()
Dfc_rport.c702 struct fc_els_flogi *flogi; in fc_rport_login_complete() local
706 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_rport_login_complete()
707 if (!flogi) in fc_rport_login_complete()
710 csp_flags = ntohs(flogi->fl_csp.sp_features); in fc_rport_login_complete()
722 e_d_tov = ntohl(flogi->fl_csp.sp_e_d_tov); in fc_rport_login_complete()
728 rdata->maxframe_size = fc_plogi_get_maxframe(flogi, lport->mfs); in fc_rport_login_complete()
743 struct fc_els_flogi *flogi; in fc_rport_flogi_resp() local
788 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_rport_flogi_resp()
789 if (!flogi) { in fc_rport_flogi_resp()
793 r_a_tov = ntohl(flogi->fl_csp.sp_r_a_tov); in fc_rport_flogi_resp()
Dfc_lport.c350 struct fc_els_flogi *flogi, in fc_lport_flogi_fill() argument
356 memset(flogi, 0, sizeof(*flogi)); in fc_lport_flogi_fill()
357 flogi->fl_cmd = (u8) op; in fc_lport_flogi_fill()
358 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_lport_flogi_fill()
359 put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); in fc_lport_flogi_fill()
360 sp = &flogi->fl_csp; in fc_lport_flogi_fill()
365 cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ in fc_lport_flogi_fill()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_nportdisc.c74 struct serv_parm *sp, uint32_t class, int flogi) in lpfc_check_sparm() argument
87 if (!flogi) { in lpfc_check_sparm()
104 if (!flogi) { in lpfc_check_sparm()
121 if (!flogi) { in lpfc_check_sparm()
/linux-6.1.9/Documentation/scsi/
DChangeLog.lpfc1451 flogi is pending which causes two discovery state machines