Searched refs:plogi (Results 1 – 14 of 14) sorted by relevance
/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 | 479 struct fc_logi_s *plogi); 481 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()
|
/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 | 872 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()
|
D | zfcp_fsf.c | 522 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()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1809 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 …]
|
D | ibmvfc.h | 672 struct ibmvfc_port_login plogi; member
|
/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()
|
/drivers/scsi/qla2xxx/ |
D | qla_def.h | 2308 } plogi; /* PLOGI/ADISC/PDISC */ member
|
D | qla_os.c | 5071 pla->iocb.u.isp24.u.plogi.node_name, in qla24xx_create_new_sess()
|
D | qla_target.c | 4748 iocb->u.isp24.u.plogi.node_name, in qlt_handle_login()
|