/linux/drivers/scsi/bfa/ |
H A D | bfa_fcbuild.c | 20 static void fc_els_rsp_build(struct fchs_s *fchs, u32 d_id, u32 s_id, 22 static void fc_bls_rsp_build(struct fchs_s *fchs, u32 d_id, u32 s_id, 130 fc_gs_fchdr_build(struct fchs_s *fchs, u32 d_id, u32 s_id, u32 ox_id) in fc_gs_fchdr_build() argument 141 fchs->d_id = (d_id); in fc_gs_fchdr_build() 152 fc_gsresp_fchdr_build(struct fchs_s *fchs, u32 d_id, u32 s_id, u16 ox_id) in fc_gsresp_fchdr_build() argument 162 fchs->d_id = d_id; in fc_gsresp_fchdr_build() 168 fc_els_req_build(struct fchs_s *fchs, u32 d_id, u32 s_id, __be16 ox_id) in fc_els_req_build() argument 171 fchs->d_id = (d_id); in fc_els_req_build() 177 fc_els_rsp_build(struct fchs_s *fchs, u32 d_id, u32 s_id, __be16 ox_id) in fc_els_rsp_build() argument 180 fchs->d_id = d_id; in fc_els_rsp_build() [all …]
|
H A D | bfa_fcbuild.h | 136 u16 fc_plogi_build(struct fchs_s *fchs, void *pld, u32 d_id, 160 u32 d_id, u32 s_id, u16 ox_id, 166 u16 fc_plogi_acc_build(struct fchs_s *fchs, void *pld, u32 d_id, 172 u32 d_id, u32 s_id, __be16 ox_id, wwn_t port_name, 179 u32 d_id, u32 s_id, __be16 ox_id, 182 u32 d_id, u32 s_id, __be16 ox_id, 185 u32 d_id, u32 s_id, __be16 ox_id); 186 u16 fc_prli_build(struct fchs_s *fchs, void *pld, u32 d_id, 191 u16 fc_prli_acc_build(struct fchs_s *fchs, void *pld, u32 d_id, 196 struct fc_rnid_acc_s *rnid_acc, u32 d_id, u32 s_id, [all …]
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 209 static void zfcp_fc_wka_port_init(struct zfcp_fc_wka_port *wka_port, u32 d_id, in zfcp_fc_wka_port_init() argument 216 wka_port->d_id = d_id; in zfcp_fc_wka_port_init() 251 if ((port->d_id & range) == (ntoh24(page->rscn_fid) & range)) in _zfcp_fc_incoming_rscn() 281 if (port->d_id) in zfcp_fc_incoming_rscn() 366 /* looks like a valid d_id */ in zfcp_fc_ns_gid_pn_eval() 367 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval() 459 if (!port->d_id) { in zfcp_fc_port_did_lookup() 470 * zfcp_fc_trigger_did_lookup - trigger the d_id lookup using a GID_PN request 471 * @port: The zfcp_port to lookup the d_id for. 490 port->d_id = 0; in zfcp_fc_plogi_evaluate() [all …]
|
H A D | zfcp_dbf.c | 220 rec->u.uss.d_id = ntoh24(srb->d_id); in zfcp_dbf_hba_fsf_uss() 317 rec->d_id = port->d_id; in zfcp_dbf_set_common() 466 rec->d_id = wka_port->d_id; in zfcp_dbf_rec_run_wka() 484 u64 req_id, u32 d_id, u16 cap_len) in zfcp_dbf_san() argument 497 rec->d_id = d_id; in zfcp_dbf_san() 541 * @d_id: N_Port_ID where SAN request is sent to 542 * d_id: destination ID 544 void zfcp_dbf_san_req(char *tag, struct zfcp_fsf_req *fsf, u32 d_id) in zfcp_dbf_san_req() argument 555 length, fsf->req_id, d_id, length); in zfcp_dbf_san_req() 571 && ct_els->d_id == FC_FID_DIR_SERV in zfcp_dbf_san_res_cap_len_if_gpn_ft() [all …]
|
H A D | zfcp_dbf.h | 73 * @d_id: destination ID 86 u32 d_id; member 113 * @d_id: destination id 119 u32 d_id; member 149 * @d_id: destination ID 156 u32 d_id; member
|
H A D | zfcp_fsf.h | 246 u8 d_id[3]; member 358 u8 d_id[3]; member 494 * @d_id: Destination ID of either open WKA port for CT or of D_ID for ELS 503 u32 d_id; member
|
H A D | zfcp_aux.c | 502 * @d_id: destination id of the remote port to be enqueued 506 * d_id is used to enqueue ports with a well known address like the Directory 510 u32 status, u32 d_id) in zfcp_port_enqueue() argument 537 port->d_id = d_id; in zfcp_port_enqueue()
|
H A D | zfcp_fsf.c | 112 int d_id = ntoh24(sr_buf->d_id); in zfcp_fsf_status_read_port_closed() local 116 if (port->d_id == d_id) { in zfcp_fsf_status_read_port_closed() 1252 ct->d_id = wka_port->d_id; in zfcp_fsf_send_ct() 1255 zfcp_dbf_san_req("fssct_1", req, wka_port->d_id); in zfcp_fsf_send_ct() 1318 * @d_id: N_Port_ID to send ELS to 1322 int zfcp_fsf_send_els(struct zfcp_adapter *adapter, u32 d_id, in zfcp_fsf_send_els() argument 1351 hton24(req->qtcb->bottom.support.d_id, d_id); in zfcp_fsf_send_els() 1353 els->d_id = d_id; in zfcp_fsf_send_els() 1356 zfcp_dbf_san_req("fssels1", req, d_id); in zfcp_fsf_send_els() 1746 /* check whether D_ID has changed during open */ in zfcp_fsf_open_port_handler() [all …]
|
H A D | zfcp_def.h | 152 u32 peer_d_id; /* P2P peer D_ID */ 217 u32 d_id; /* D_ID */ member
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_iocb.c | 1634 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_start_scsi() 1635 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_start_scsi() 1636 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_start_scsi() 1840 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_dif_start_scsi() 1841 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_dif_start_scsi() 1842 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_dif_start_scsi() 2001 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla2xxx_start_scsi_mq() 2002 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; in qla2xxx_start_scsi_mq() 2003 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; in qla2xxx_start_scsi_mq() 2223 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla2xxx_dif_start_scsi_mq() [all …]
|
H A D | qla_gs.c | 132 routine, ms_pkt->entry_status, vha->d_id.b.domain, in qla2x00_chk_ms_status() 133 vha->d_id.b.area, vha->d_id.b.al_pa); in qla2x00_chk_ms_status() 148 routine, vha->d_id.b.domain, in qla2x00_chk_ms_status() 149 vha->d_id.b.area, vha->d_id.b.al_pa, in qla2x00_chk_ms_status() 184 vha->d_id.b.domain, vha->d_id.b.area, in qla2x00_chk_ms_status() 185 vha->d_id.b.al_pa); in qla2x00_chk_ms_status() 230 ct_req->req.port_id.port_id = port_id_to_be_id(fcport->d_id); in qla2x00_ga_nxt() 244 fcport->d_id = be_to_port_id(ct_rsp->rsp.ga_nxt.port_id); in qla2x00_ga_nxt() 256 fcport->d_id.b.domain = 0xf0; in qla2x00_ga_nxt() 262 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_ga_nxt() [all …]
|
H A D | qla_edif.c | 106 __func__, edif_entry->handle, fcport->port_name, fcport->d_id.b24); in qla2x00_sa_replace_iocb_timeout() 224 fcport->node_name, fcport->port_name, fcport->d_id.b24); in qla_edif_sa_ctl_init() 264 fcport->d_id.b24, rpl->rx_xchg_address, in qla_bsg_check() 285 if (f->d_id.b24 == id->b24) in qla2x00_find_fcport_by_pid() 589 fcport->d_id.b24); in qla_edif_app_start() 597 fcport->d_id.b24, fcport->logout_on_delete, in qla_edif_app_start() 698 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop() 767 portid.b.domain = appplogiok.u.d_id.b.domain; in qla_edif_app_authok() 768 portid.b.area = appplogiok.u.d_id.b.area; in qla_edif_app_authok() 769 portid.b.al_pa = appplogiok.u.d_id.b.al_pa; in qla_edif_app_authok() [all …]
|
H A D | qla_init.c | 237 sp->name, sp->handle, fcport->d_id.b24, fcport->port_name); in qla2x00_async_iocb_timeout() 376 fcport->d_id.b24, fcport->login_retry, in qla2x00_async_login() 430 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_logout() 431 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_async_logout() 490 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_prlo() 491 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_async_prlo() 638 sp->handle, fcport->loop_id, fcport->d_id.b24, fcport->port_name); in qla2x00_async_adisc() 700 dev->loop_id, dev->d_id.b24); in qla2x00_find_new_loop_id() 704 dev->d_id.b24); in qla2x00_find_new_loop_id() 769 fcport->d_id.b.domain, fcport->d_id.b.area, in qla24xx_handle_gnl_done_event() [all …]
|
H A D | qla_isr.c | 142 abts_rsp->d_id[0] = abts->s_id[0]; in qla24xx_process_abts() 143 abts_rsp->d_id[1] = abts->s_id[1]; in qla24xx_process_abts() 144 abts_rsp->d_id[2] = abts->s_id[2]; in qla24xx_process_abts() 146 abts_rsp->s_id[0] = abts->d_id[0]; in qla24xx_process_abts() 147 abts_rsp->s_id[1] = abts->d_id[1]; in qla24xx_process_abts() 148 abts_rsp->s_id[2] = abts->d_id[2]; in qla24xx_process_abts() 985 vp_did = vp->d_id.b24; in qla2x00_is_a_vp_did() 1033 if (f->d_id.b24 == id->b24) { in qla2x00_find_fcport_by_nportid() 1678 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event() 1749 host_pid = (vha->d_id.b.domain << 16) | (vha->d_id.b.area << 8) in qla2x00_async_event() [all …]
|
H A D | tcm_qla2xxx.c | 1335 sess, port_id_to_be_id(sess->d_id)); in tcm_qla2xxx_clear_sess_lookup() 1386 port_id_to_be_id(qlat_sess->d_id)); in tcm_qla2xxx_session_cb() 1458 if (sess->loop_id != loop_id || sess->d_id.b24 != s_id.b24) in tcm_qla2xxx_update_sess() 1461 sess->loop_id, loop_id, sess->d_id.b.domain, in tcm_qla2xxx_update_sess() 1462 sess->d_id.b.area, sess->d_id.b.al_pa, s_id.b.domain, in tcm_qla2xxx_update_sess() 1482 if (sess->d_id.b24 != s_id.b24) { in tcm_qla2xxx_update_sess() 1483 key = (((u32) sess->d_id.b.domain << 16) | in tcm_qla2xxx_update_sess() 1484 ((u32) sess->d_id.b.area << 8) | in tcm_qla2xxx_update_sess() 1485 ((u32) sess->d_id.b.al_pa)); in tcm_qla2xxx_update_sess() 1490 sess->d_id.b.domain, sess->d_id.b.area, in tcm_qla2xxx_update_sess() [all …]
|
H A D | qla_dfs.c | 102 DEFINE_QLA_DFS_RPORT_FIELD_GET(port_id, fp->d_id.b24); 164 sess->d_id.b.domain, sess->d_id.b.area, in qla2x00_dfs_tgt_sess_show() 165 sess->d_id.b.al_pa, sess->port_name, in qla2x00_dfs_tgt_sess_show() 217 fc_port.port_name, fc_port.d_id.b.domain, in qla2x00_dfs_tgt_port_database_show() 218 fc_port.d_id.b.area, fc_port.d_id.b.al_pa, in qla2x00_dfs_tgt_port_database_show()
|
H A D | qla_bsg.c | 343 fcport->d_id.b24); in qla2x00_process_els() 362 fcport->d_id.b.al_pa = in qla2x00_process_els() 364 fcport->d_id.b.area = in qla2x00_process_els() 366 fcport->d_id.b.domain = in qla2x00_process_els() 369 (fcport->d_id.b.al_pa == 0xFD) ? in qla2x00_process_els() 424 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_process_els() 536 fcport->d_id.b.al_pa = bsg_request->rqst_data.h_ct.port_id[0]; in qla2x00_process_ct() 537 fcport->d_id.b.area = bsg_request->rqst_data.h_ct.port_id[1]; in qla2x00_process_ct() 538 fcport->d_id.b.domain = bsg_request->rqst_data.h_ct.port_id[2]; in qla2x00_process_ct() 561 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct() [all …]
|
H A D | qla_target.c | 181 be_id_t d_id) in qla_find_host_by_d_id() argument 186 if (vha->d_id.b.area == d_id.area && in qla_find_host_by_d_id() 187 vha->d_id.b.domain == d_id.domain && in qla_find_host_by_d_id() 188 vha->d_id.b.al_pa == d_id.al_pa) in qla_find_host_by_d_id() 191 key = be_to_port_id(d_id).b24; in qla_find_host_by_d_id() 278 host = qla_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios() 328 atio->u.isp24.fcp_hdr.d_id); in qlt_24xx_atio_pkt_all_vps() 332 "with unknown d_id %x:%x:%x\n", vha->vp_idx, in qlt_24xx_atio_pkt_all_vps() 333 atio->u.isp24.fcp_hdr.d_id.domain, in qlt_24xx_atio_pkt_all_vps() 334 atio->u.isp24.fcp_hdr.d_id.area, in qlt_24xx_atio_pkt_all_vps() [all …]
|
/linux/drivers/scsi/elx/efct/ |
H A D | efct_unsol.c | 31 /* Find a target node, given s_id and d_id */ in efct_node_find() 44 u32 s_id, d_id; in efct_dispatch_frame() local 48 /* extract the s_id and d_id */ in efct_dispatch_frame() 50 d_id = ntoh24(hdr->fh_d_id); in efct_dispatch_frame() 56 node = efct_node_find(efct, d_id, s_id); in efct_dispatch_frame() 59 "Node not found, drop cmd d_id:%x s_id:%x\n", in efct_dispatch_frame() 60 d_id, s_id); in efct_dispatch_frame() 67 node = efct_node_find(efct, d_id, s_id); in efct_dispatch_frame() 69 efc_log_err(efct, "ABTS: Node not found, d_id:%x s_id:%x\n", in efct_dispatch_frame() 70 d_id, s_id); in efct_dispatch_frame() [all …]
|
/linux/drivers/scsi/fnic/ |
H A D | fnic_res.h | 76 u32 d_id, u16 mss, in fnic_queue_wq_copy_desc_icmnd_16() argument 104 hton24(desc->u.icmnd_16.d_id, d_id); /* FC vNIC only: Target D_ID */ in fnic_queue_wq_copy_desc_icmnd_16() 115 u32 d_id, u32 r_a_tov, in fnic_queue_wq_copy_desc_itmf() argument 131 hton24(desc->u.itmf.d_id, d_id); /* FC vNIC only: Target D_ID */ in fnic_queue_wq_copy_desc_itmf()
|
H A D | fdls_disc.c | 651 uint8_t d_id[3]; in fdls_send_tport_abts() local 675 hton24(d_id, tport->fcid); in fdls_send_tport_abts() 677 FNIC_STD_SET_D_ID(*ptport_abts, d_id); in fdls_send_tport_abts() 695 uint8_t d_id[3]; in fdls_send_fabric_abts() local 716 hton24(d_id, FC_FID_FLOGI); in fdls_send_fabric_abts() 717 FNIC_STD_SET_D_ID(*pfabric_abts, d_id); in fdls_send_fabric_abts() 721 hton24(d_id, FC_FID_FLOGI); in fdls_send_fabric_abts() 722 FNIC_STD_SET_D_ID(*pfabric_abts, d_id); in fdls_send_fabric_abts() 727 hton24(d_id, FC_FID_DIR_SERV); in fdls_send_fabric_abts() 728 FNIC_STD_SET_D_ID(*pfabric_abts, d_id); in fdls_send_fabric_abts() [all …]
|
H A D | fcpio.h | 207 u8 d_id[3]; /* FC vNIC only: Target D_ID */ member 255 u8 d_id[3]; /* FC vNIC only: Target D_ID */ member 277 u8 d_id[3]; /* FC vNIC only: Target D_ID */ member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_fcoe.c | 80 struct fc_addr_nw d_id; member 291 p_data->d_id.addr_hi = p_conn->d_id.addr_hi; in qed_sp_fcoe_conn_offload() 292 p_data->d_id.addr_mid = p_conn->d_id.addr_mid; in qed_sp_fcoe_conn_offload() 293 p_data->d_id.addr_lo = p_conn->d_id.addr_lo; in qed_sp_fcoe_conn_offload() 948 con->d_id.addr_hi = conn_info->d_id.addr_hi; in qed_fcoe_offload_conn() 949 con->d_id.addr_mid = conn_info->d_id.addr_mid; in qed_fcoe_offload_conn() 950 con->d_id.addr_lo = conn_info->d_id.addr_lo; in qed_fcoe_offload_conn()
|
/linux/include/scsi/fc/ |
H A D | fc_fcoe.h | 29 * Ethernet Addresses based on FC S_ID and D_ID. 30 * Generated by FC_FCOE_OUI | S_ID/D_ID
|
/linux/drivers/scsi/elx/libefc/ |
H A D | efc_domain.c | 946 u32 s_id, d_id, rc = EFC_HW_SEQ_FREE; in efc_domain_dispatch_frame() local 955 /* extract the s_id and d_id */ in efc_domain_dispatch_frame() 957 d_id = ntoh24(hdr->fh_d_id); in efc_domain_dispatch_frame() 961 nport = efc_nport_find(domain, d_id); in efc_domain_dispatch_frame() 965 efc_log_warn(efc, "FCP frame with invalid d_id x%x\n", in efc_domain_dispatch_frame() 966 d_id); in efc_domain_dispatch_frame()
|