Home
last modified time | relevance | path

Searched refs:plogi (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/include/scsi/
Dfc_encode.h524 struct fc_els_flogi *plogi; in fc_plogi_fill() local
528 plogi = fc_frame_payload_get(fp, sizeof(*plogi)); in fc_plogi_fill()
529 memset(plogi, 0, sizeof(*plogi)); in fc_plogi_fill()
530 plogi->fl_cmd = (u8) op; in fc_plogi_fill()
531 put_unaligned_be64(lport->wwpn, &plogi->fl_wwpn); in fc_plogi_fill()
532 put_unaligned_be64(lport->wwnn, &plogi->fl_wwnn); in fc_plogi_fill()
534 csp = &plogi->fl_csp; in fc_plogi_fill()
539 cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ in fc_plogi_fill()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fcbuild.c199 struct fc_logi_s *plogi = (struct fc_logi_s *) (pld); in fc_plogi_x_build() local
201 memcpy(plogi, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_plogi_x_build()
205 plogi->csp.altbbcred = 1; in fc_plogi_x_build()
207 plogi->els_cmd.els_code = els_code; in fc_plogi_x_build()
213 plogi->csp.rxsz = plogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_plogi_x_build()
214 plogi->csp.bbcred = cpu_to_be16(bb_cr); in fc_plogi_x_build()
216 memcpy(&plogi->port_name, &port_name, sizeof(wwn_t)); in fc_plogi_x_build()
217 memcpy(&plogi->node_name, &node_name, sizeof(wwn_t)); in fc_plogi_x_build()
322 struct fc_logi_s *plogi; in fc_plogi_rsp_parse() local
333 plogi = (struct fc_logi_s *) (fchs + 1); in fc_plogi_rsp_parse()
[all …]
Dbfa_fcs_rport.c43 struct fc_logi_s *plogi);
2516 bfa_fcs_rport_update(struct bfa_fcs_rport_s *rport, struct fc_logi_s *plogi) in bfa_fcs_rport_update() argument
2524 rport->pwwn = plogi->port_name; in bfa_fcs_rport_update()
2525 rport->nwwn = plogi->node_name; in bfa_fcs_rport_update()
2531 if (plogi->class3.class_valid) in bfa_fcs_rport_update()
2534 if (plogi->class2.class_valid) in bfa_fcs_rport_update()
2541 rport->cisc = plogi->csp.cisc; in bfa_fcs_rport_update()
2542 if (be16_to_cpu(plogi->class3.rxsz) < be16_to_cpu(plogi->csp.rxsz)) in bfa_fcs_rport_update()
2543 rport->maxfrsize = be16_to_cpu(plogi->class3.rxsz); in bfa_fcs_rport_update()
2545 rport->maxfrsize = be16_to_cpu(plogi->csp.rxsz); in bfa_fcs_rport_update()
[all …]
Dbfa_fcs.h479 struct fc_logi_s *plogi);
481 struct fc_logi_s *plogi);
Dbfa_fcbuild.h124 struct fc_logi_s plogi; member
Dbfa_fcs_lport.c51 struct fchs_s *rx_fchs, struct fc_logi_s *plogi);
441 struct fchs_s *rx_fchs, struct fc_logi_s *plogi) in bfa_fcs_lport_plogi() argument
472 (void *)&plogi->port_name, sizeof(wwn_t)) < 0)) { in bfa_fcs_lport_plogi()
487 rport = bfa_fcs_lport_get_rport_by_pwwn(port, plogi->port_name); in bfa_fcs_lport_plogi()
494 (void *)&plogi->port_name, sizeof(wwn_t)) < 0)) { in bfa_fcs_lport_plogi()
499 bfa_fcs_rport_plogi(rport, rx_fchs, plogi); in bfa_fcs_lport_plogi()
511 bfa_fcs_rport_plogi_create(port, rx_fchs, plogi); in bfa_fcs_lport_plogi()
523 WARN_ON(rport->pwwn == plogi->port_name); in bfa_fcs_lport_plogi()
529 bfa_fcs_rport_plogi_create(port, rx_fchs, plogi); in bfa_fcs_lport_plogi()
537 bfa_fcs_rport_plogi(rport, rx_fchs, plogi); in bfa_fcs_lport_plogi()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_fc.c320 struct fc_els_flogi *plogi; in zfcp_fc_incoming_plogi() local
323 plogi = (struct fc_els_flogi *) status_buffer->payload.data; in zfcp_fc_incoming_plogi()
324 zfcp_fc_incoming_wwpn(req, be64_to_cpu(plogi->fl_wwpn)); in zfcp_fc_incoming_plogi()
487 void zfcp_fc_plogi_evaluate(struct zfcp_port *port, struct fc_els_flogi *plogi) in zfcp_fc_plogi_evaluate() argument
489 if (be64_to_cpu(plogi->fl_wwpn) != port->wwpn) { in zfcp_fc_plogi_evaluate()
495 (unsigned long long) be64_to_cpu(plogi->fl_wwpn)); in zfcp_fc_plogi_evaluate()
499 port->wwnn = be64_to_cpu(plogi->fl_wwnn); in zfcp_fc_plogi_evaluate()
500 port->maxframe_size = be16_to_cpu(plogi->fl_csp.sp_bb_data); in zfcp_fc_plogi_evaluate()
502 if (plogi->fl_cssp[0].cp_class & cpu_to_be16(FC_CPC_VALID)) in zfcp_fc_plogi_evaluate()
504 if (plogi->fl_cssp[1].cp_class & cpu_to_be16(FC_CPC_VALID)) in zfcp_fc_plogi_evaluate()
[all …]
Dzfcp_scsi.c872 const struct fc_els_flogi *nsp, *plogi; in zfcp_scsi_shost_update_config_data() local
893 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_scsi_shost_update_config_data()
921 fc_host_fabric_name(shost) = be64_to_cpu(plogi->fl_wwnn); in zfcp_scsi_shost_update_config_data()
Dzfcp_fsf.c522 struct fc_els_flogi *plogi; in zfcp_fsf_exchange_config_evaluate() local
525 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate()
545 adapter->peer_wwpn = be64_to_cpu(plogi->fl_wwpn); in zfcp_fsf_exchange_config_evaluate()
546 adapter->peer_wwnn = be64_to_cpu(plogi->fl_wwnn); in zfcp_fsf_exchange_config_evaluate()
1680 struct fc_els_flogi *plogi; in zfcp_fsf_open_port_handler() local
1740 plogi = (struct fc_els_flogi *) bottom->els; in zfcp_fsf_open_port_handler()
1742 zfcp_fc_plogi_evaluate(port, plogi); in zfcp_fsf_open_port_handler()
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
Dibmvfc.c1809 struct ibmvfc_port_login *plogi; in ibmvfc_bsg_plogi() local
1832 plogi = &evt->iu.plogi; in ibmvfc_bsg_plogi()
1833 memset(plogi, 0, sizeof(*plogi)); in ibmvfc_bsg_plogi()
1834 plogi->common.version = cpu_to_be32(1); in ibmvfc_bsg_plogi()
1835 plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); in ibmvfc_bsg_plogi()
1836 plogi->common.length = cpu_to_be16(sizeof(*plogi)); in ibmvfc_bsg_plogi()
1837 plogi->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_plogi()
1849 if (rsp_iu.plogi.common.status) in ibmvfc_bsg_plogi()
3489 struct ibmvfc_port_login *rsp = &evt->xfer_iu->plogi; in ibmvfc_tgt_plogi_done()
3545 struct ibmvfc_port_login *plogi; in ibmvfc_tgt_send_plogi() local
[all …]
Dibmvfc.h672 struct ibmvfc_port_login plogi; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mng_tlv.c740 p_buf->p_val = &p_drv_buf->plogi; in qed_mfw_get_fcoe_tlv_value()
741 return sizeof(p_drv_buf->plogi); in qed_mfw_get_fcoe_tlv_value()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_if.h302 u8 plogi; member
/kernel/linux/linux-5.10/Documentation/scsi/
DChangeLog.lpfc538 * Fixed discovery bug: plogi cmpl uses ndlp after its freed.
759 * If we rcv a plogi on a NPort queued up for discovery, clear the
760 NLP_NPR_2B_DISC bit since rcv plogi logic will force NPort thru
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_def.h2308 } plogi; /* PLOGI/ADISC/PDISC */ member
Dqla_os.c5065 pla->iocb.u.isp24.u.plogi.node_name, in qla24xx_create_new_sess()
Dqla_target.c4748 iocb->u.isp24.u.plogi.node_name, in qlt_handle_login()