Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/elx/libefc/
H A Defc_els.c397 struct fc_els_flogi *plogi; in efc_send_plogi() local
401 els = efc_els_io_alloc(node, sizeof(*plogi)); in efc_send_plogi()
409 plogi = els->io.req.virt; in efc_send_plogi()
411 memcpy(plogi, node->nport->service_params, sizeof(*plogi)); in efc_send_plogi()
413 plogi->fl_cmd = ELS_PLOGI; in efc_send_plogi()
414 memset(plogi->_fl_resvd, 0, sizeof(plogi->_fl_resvd)); in efc_send_plogi()
646 struct fc_els_flogi *plogi; in efc_send_plogi_acc() local
662 plogi = els->io.req.virt; in efc_send_plogi_acc()
665 memcpy(plogi, node->nport->service_params, sizeof(*plogi)); in efc_send_plogi_acc()
666 plogi->fl_cmd = ELS_LS_ACC; in efc_send_plogi_acc()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcbuild.c199 struct fc_logi_s *plogi = (struct fc_logi_s *) (pld); in fc_plogi_x_build() local
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()
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()
337 if (!wwn_is_equal(plogi->port_name, port_name)) in fc_plogi_rsp_parse()
340 if (!plogi->class3.class_valid) in fc_plogi_rsp_parse()
357 if (plogi->class3.class_valid != 1) in fc_plogi_parse()
[all …]
H A Dbfa_fcs_rport.c43 struct fc_logi_s *plogi);
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()
2642 struct fc_logi_s *plogi) in bfa_fcs_rport_start() argument
2650 bfa_fcs_rport_update(rport, plogi); in bfa_fcs_rport_start()
2661 struct fc_logi_s *plogi) in bfa_fcs_rport_plogi_create() argument
[all …]
H A Dbfa_fcs.h476 struct fc_logi_s *plogi);
478 struct fc_logi_s *plogi);
H A Dbfa_fcbuild.h124 struct fc_logi_s plogi; member
H A 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()
/openbmc/linux/drivers/s390/scsi/
H A 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()
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()
506 if (plogi->fl_cssp[2].cp_class & cpu_to_be16(FC_CPC_VALID)) in zfcp_fc_plogi_evaluate()
[all …]
H A Dzfcp_scsi.c869 const struct fc_els_flogi *nsp, *plogi; in zfcp_scsi_shost_update_config_data() local
890 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_scsi_shost_update_config_data()
918 fc_host_fabric_name(shost) = be64_to_cpu(plogi->fl_wwnn); in zfcp_scsi_shost_update_config_data()
H A Dzfcp_fsf.c541 struct fc_els_flogi *plogi; in zfcp_fsf_exchange_config_evaluate() local
544 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate()
564 adapter->peer_wwpn = be64_to_cpu(plogi->fl_wwpn); in zfcp_fsf_exchange_config_evaluate()
565 adapter->peer_wwnn = be64_to_cpu(plogi->fl_wwnn); in zfcp_fsf_exchange_config_evaluate()
1701 struct fc_els_flogi *plogi; in zfcp_fsf_open_port_handler() local
1761 plogi = (struct fc_els_flogi *) bottom->els; in zfcp_fsf_open_port_handler()
1763 zfcp_fc_plogi_evaluate(port, plogi); in zfcp_fsf_open_port_handler()
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_encode.h748 struct fc_els_flogi *plogi; in fc_plogi_fill() local
752 plogi = fc_frame_payload_get(fp, sizeof(*plogi)); in fc_plogi_fill()
753 memset(plogi, 0, sizeof(*plogi)); in fc_plogi_fill()
754 plogi->fl_cmd = (u8) op; in fc_plogi_fill()
755 put_unaligned_be64(lport->wwpn, &plogi->fl_wwpn); in fc_plogi_fill()
756 put_unaligned_be64(lport->wwnn, &plogi->fl_wwnn); in fc_plogi_fill()
758 csp = &plogi->fl_csp; in fc_plogi_fill()
763 cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */ in fc_plogi_fill()
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c2091 struct ibmvfc_port_login *plogi; in ibmvfc_bsg_plogi() local
2118 plogi = &evt->iu.plogi; in ibmvfc_bsg_plogi()
2119 memset(plogi, 0, sizeof(*plogi)); in ibmvfc_bsg_plogi()
2120 plogi->common.version = cpu_to_be32(1); in ibmvfc_bsg_plogi()
2122 plogi->common.length = cpu_to_be16(sizeof(*plogi)); in ibmvfc_bsg_plogi()
2123 plogi->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_plogi()
2135 if (rsp_iu.plogi.common.status) in ibmvfc_bsg_plogi()
4177 struct ibmvfc_port_login *plogi; in ibmvfc_tgt_send_plogi() local
4197 plogi = &evt->iu.plogi; in ibmvfc_tgt_send_plogi()
4198 memset(plogi, 0, sizeof(*plogi)); in ibmvfc_tgt_send_plogi()
[all …]
H A Dibmvfc.h691 struct ibmvfc_port_login plogi; member
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A 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()
/openbmc/linux/include/linux/qed/
H A Dqed_if.h306 u8 plogi; member
/openbmc/linux/Documentation/scsi/
H A 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
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_def.h2431 } plogi; /* PLOGI/ADISC/PDISC */ member
H A Dqla_target.c4826 iocb->u.isp24.u.plogi.node_name, in qlt_handle_login()
H A Dqla_os.c5316 pla->iocb.u.isp24.u.plogi.node_name, in qla24xx_create_new_sess()