Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/scsi/
Dfc_encode.h558 struct fc_els_flogi *flogi; in fc_flogi_fill() local
560 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_flogi_fill()
561 memset(flogi, 0, sizeof(*flogi)); in fc_flogi_fill()
562 flogi->fl_cmd = (u8) ELS_FLOGI; in fc_flogi_fill()
563 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_flogi_fill()
564 put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); in fc_flogi_fill()
565 sp = &flogi->fl_csp; in fc_flogi_fill()
570 cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ in fc_flogi_fill()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
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.c347 struct fc_els_flogi *flogi, in fc_lport_flogi_fill() argument
353 memset(flogi, 0, sizeof(*flogi)); in fc_lport_flogi_fill()
354 flogi->fl_cmd = (u8) op; in fc_lport_flogi_fill()
355 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_lport_flogi_fill()
356 put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); in fc_lport_flogi_fill()
357 sp = &flogi->fl_csp; in fc_lport_flogi_fill()
362 cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ in fc_lport_flogi_fill()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/scsi/
DChangeLog.lpfc1451 flogi is pending which causes two discovery state machines