Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/elx/libefc/
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
651 els = efc_els_io_alloc(node, sizeof(*plogi)); in efc_send_plogi_acc()
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()
[all …]
/linux-6.1.9/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.h476 struct fc_logi_s *plogi);
478 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()
/linux-6.1.9/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.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()
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()
1698 struct fc_els_flogi *plogi; in zfcp_fsf_open_port_handler() local
1758 plogi = (struct fc_els_flogi *) bottom->els; in zfcp_fsf_open_port_handler()
1760 zfcp_fc_plogi_evaluate(port, plogi); in zfcp_fsf_open_port_handler()
/linux-6.1.9/drivers/scsi/libfc/
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()
/linux-6.1.9/drivers/scsi/ibmvscsi/
Dibmvfc.c2077 struct ibmvfc_port_login *plogi; in ibmvfc_bsg_plogi() local
2100 plogi = &evt->iu.plogi; in ibmvfc_bsg_plogi()
2101 memset(plogi, 0, sizeof(*plogi)); in ibmvfc_bsg_plogi()
2102 plogi->common.version = cpu_to_be32(1); in ibmvfc_bsg_plogi()
2103 plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); in ibmvfc_bsg_plogi()
2104 plogi->common.length = cpu_to_be16(sizeof(*plogi)); in ibmvfc_bsg_plogi()
2105 plogi->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_plogi()
2117 if (rsp_iu.plogi.common.status) in ibmvfc_bsg_plogi()
4076 struct ibmvfc_port_login *rsp = &evt->xfer_iu->plogi; in ibmvfc_tgt_plogi_done()
4132 struct ibmvfc_port_login *plogi; in ibmvfc_tgt_send_plogi() local
[all …]
Dibmvfc.h691 struct ibmvfc_port_login plogi; member
/linux-6.1.9/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()
/linux-6.1.9/include/linux/qed/
Dqed_if.h306 u8 plogi; member
/linux-6.1.9/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
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_def.h2382 } plogi; /* PLOGI/ADISC/PDISC */ member
Dqla_os.c5253 pla->iocb.u.isp24.u.plogi.node_name, in qla24xx_create_new_sess()
Dqla_target.c4834 iocb->u.isp24.u.plogi.node_name, in qlt_handle_login()