/linux-5.19.10/drivers/scsi/elx/libefc/ |
D | efc_els.c | 397 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-5.19.10/drivers/scsi/bfa/ |
D | bfa_fcbuild.c | 199 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 …]
|
D | bfa_fcs_rport.c | 43 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 …]
|
D | bfa_fcs.h | 476 struct fc_logi_s *plogi); 478 struct fc_logi_s *plogi);
|
D | bfa_fcbuild.h | 124 struct fc_logi_s plogi; member
|
D | bfa_fcs_lport.c | 51 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-5.19.10/drivers/s390/scsi/ |
D | zfcp_fc.c | 320 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 …]
|
D | zfcp_scsi.c | 869 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()
|
D | zfcp_fsf.c | 541 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-5.19.10/drivers/scsi/libfc/ |
D | fc_encode.h | 748 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-5.19.10/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 2072 struct ibmvfc_port_login *plogi; in ibmvfc_bsg_plogi() local 2095 plogi = &evt->iu.plogi; in ibmvfc_bsg_plogi() 2096 memset(plogi, 0, sizeof(*plogi)); in ibmvfc_bsg_plogi() 2097 plogi->common.version = cpu_to_be32(1); in ibmvfc_bsg_plogi() 2098 plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); in ibmvfc_bsg_plogi() 2099 plogi->common.length = cpu_to_be16(sizeof(*plogi)); in ibmvfc_bsg_plogi() 2100 plogi->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_plogi() 2112 if (rsp_iu.plogi.common.status) in ibmvfc_bsg_plogi() 4068 struct ibmvfc_port_login *rsp = &evt->xfer_iu->plogi; in ibmvfc_tgt_plogi_done() 4124 struct ibmvfc_port_login *plogi; in ibmvfc_tgt_send_plogi() local [all …]
|
D | ibmvfc.h | 691 struct ibmvfc_port_login plogi; member
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_mng_tlv.c | 740 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-5.19.10/include/linux/qed/ |
D | qed_if.h | 306 u8 plogi; member
|
/linux-5.19.10/Documentation/scsi/ |
D | ChangeLog.lpfc | 538 * 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-5.19.10/drivers/scsi/qla2xxx/ |
D | qla_def.h | 2371 } plogi; /* PLOGI/ADISC/PDISC */ member
|
D | qla_target.c | 4832 iocb->u.isp24.u.plogi.node_name, in qlt_handle_login()
|
D | qla_os.c | 5225 pla->iocb.u.isp24.u.plogi.node_name, in qla24xx_create_new_sess()
|