Home
last modified time | relevance | path

Searched refs:fh_d_id (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/scsi/libfc/
Dfc_libfc.c179 memcpy(fh->fh_d_id, in_fh->fh_s_id, sizeof(fh->fh_d_id)); in fc_fill_hdr()
180 memcpy(fh->fh_s_id, in_fh->fh_d_id, sizeof(fh->fh_s_id)); in fc_fill_hdr()
Dfc_exch.c1004 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1366 memcpy(fh->fh_s_id, rx_fh->fh_d_id, 3); in fc_exch_send_ba_rjt()
1367 memcpy(fh->fh_d_id, rx_fh->fh_s_id, 3); in fc_exch_send_ba_rjt()
1517 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1588 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
2180 fc_exch_set_addr(ep, ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id)); in fc_exch_seq_send()
Dfc_lport.c844 hton24(fh->fh_d_id, remote_fid); in fc_lport_recv_flogi_req()
1961 hton24(fh->fh_d_id, did); in fc_lport_els_request()
2021 hton24(fh->fh_d_id, did); in fc_lport_ct_request()
/Linux-v5.4/drivers/scsi/qedf/
Dqedf_main.c244 qedf->data_src_addr[3] = fh->fh_d_id[0]; in qedf_set_data_src_addr()
245 qedf->data_src_addr[4] = fh->fh_d_id[1]; in qedf_set_data_src_addr()
246 qedf->data_src_addr[5] = fh->fh_d_id[2]; in qedf_set_data_src_addr()
249 fc_fcoe_set_mac(qedf->data_src_addr, fh->fh_d_id); in qedf_set_data_src_addr()
1021 if (base_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1028 if (tmp_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1034 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit()
1038 "Dropping FCoE frame to %06x.\n", ntoh24(fh->fh_d_id)); in qedf_xmit()
1040 rdata = fc_rport_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_xmit()
1072 fcport = qedf_fcport_lookup(qedf, ntoh24(fh->fh_d_id)); in qedf_xmit()
[all …]
Dqedf_els.c329 hton24(fh->fh_d_id, lport->port_id); in qedf_process_l2_frame_compl()
Dqedf_io.c2560 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, in qedf_process_unsol_compl()
/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc_els.c897 fcoe_mac[3] = fh->fh_d_id[0]; in bnx2fc_flogi_resp()
898 fcoe_mac[4] = fh->fh_d_id[1]; in bnx2fc_flogi_resp()
899 fcoe_mac[5] = fh->fh_d_id[2]; in bnx2fc_flogi_resp()
902 fc_fcoe_set_mac(fcoe_mac, fh->fh_d_id); in bnx2fc_flogi_resp()
944 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in bnx2fc_elsct_send()
Dbnx2fc_fcoe.c318 tgt = bnx2fc_tgt_lookup(port, ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
322 "port_id = 0x%x\n", ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
374 fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); in bnx2fc_xmit()
564 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in bnx2fc_recv_frame()
571 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
618 if (lport->port_id != ntoh24(fh->fh_d_id) && !vn_port) { in bnx2fc_recv_frame()
620 lport->port_id, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
/Linux-v5.4/include/uapi/scsi/fc/
Dfc_fs.h23 __u8 fh_d_id[3]; /* Destination ID */ member
/Linux-v5.4/include/scsi/
Dfc_frame.h178 return ntoh24(__fc_frame_header_get(fp)->fh_d_id); in fc_frame_did()
Dfc_encode.h49 hton24(fh->fh_d_id, did); in __fc_fill_fc_hdr()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_sli4.h81 ((fc_hdr)->fh_d_id[0] << 16 | \
82 (fc_hdr)->fh_d_id[1] << 8 | \
83 (fc_hdr)->fh_d_id[2])
/Linux-v5.4/drivers/scsi/fcoe/
Dfcoe_ctlr.c749 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
754 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
771 fc_fcoe_set_mac(mac, fh->fh_d_id); in fcoe_ctlr_els_send()
787 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
788 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
794 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
1694 ntoh24(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
1941 fc_fcoe_set_mac(fr_cb(fp)->granted_mac, fh->fh_d_id); in fcoe_ctlr_recv_flogi()
Dfcoe.c1389 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1567 memcpy(eh->h_dest + 3, fh->fh_d_id, 3); in fcoe_xmit()
2642 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
/Linux-v5.4/drivers/scsi/fnic/
Dfnic_fcs.c1118 fc_fcoe_set_mac(eth_hdr->h_dest, fh->fh_d_id); in fnic_send_frame()