Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/libfc/
Dfc_libfc.c191 memcpy(fh->fh_d_id, in_fh->fh_s_id, sizeof(fh->fh_d_id)); in fc_fill_hdr()
192 memcpy(fh->fh_s_id, in_fh->fh_d_id, sizeof(fh->fh_s_id)); in fc_fill_hdr()
Dfc_exch.c1016 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1378 memcpy(fh->fh_s_id, rx_fh->fh_d_id, 3); in fc_exch_send_ba_rjt()
1379 memcpy(fh->fh_d_id, rx_fh->fh_s_id, 3); in fc_exch_send_ba_rjt()
1529 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1600 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
2192 fc_exch_set_addr(ep, ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id)); in fc_exch_seq_send()
Dfc_lport.c856 hton24(fh->fh_d_id, remote_fid); in fc_lport_recv_flogi_req()
1973 hton24(fh->fh_d_id, did); in fc_lport_els_request()
2033 hton24(fh->fh_d_id, did); in fc_lport_ct_request()
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_main.c225 qedf->data_src_addr[3] = fh->fh_d_id[0]; in qedf_set_data_src_addr()
226 qedf->data_src_addr[4] = fh->fh_d_id[1]; in qedf_set_data_src_addr()
227 qedf->data_src_addr[5] = fh->fh_d_id[2]; in qedf_set_data_src_addr()
230 fc_fcoe_set_mac(qedf->data_src_addr, fh->fh_d_id); in qedf_set_data_src_addr()
891 if (base_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
898 if (tmp_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
904 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit()
908 "Dropping FCoE frame to %06x.\n", ntoh24(fh->fh_d_id)); in qedf_xmit()
910 rdata = fc_rport_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_xmit()
940 fcport = qedf_fcport_lookup(qedf, ntoh24(fh->fh_d_id)); in qedf_xmit()
[all …]
Dqedf_els.c313 hton24(fh->fh_d_id, lport->port_id); in qedf_process_l2_frame_compl()
/Linux-v4.19/include/uapi/scsi/fc/
Dfc_fs.h36 __u8 fh_d_id[3]; /* Destination ID */ member
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_sli4.h77 ((fc_hdr)->fh_d_id[0] << 16 | \
78 (fc_hdr)->fh_d_id[1] << 8 | \
79 (fc_hdr)->fh_d_id[2])
/Linux-v4.19/include/scsi/
Dfc_frame.h190 return ntoh24(__fc_frame_header_get(fp)->fh_d_id); in fc_frame_did()
Dfc_encode.h61 hton24(fh->fh_d_id, did); in __fc_fill_fc_hdr()
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c322 tgt = bnx2fc_tgt_lookup(port, ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
326 "port_id = 0x%x\n", ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
378 fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); in bnx2fc_xmit()
573 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in bnx2fc_recv_frame()
580 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
627 if (lport->port_id != ntoh24(fh->fh_d_id) && !vn_port) { in bnx2fc_recv_frame()
629 lport->port_id, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
Dbnx2fc_els.c920 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in bnx2fc_elsct_send()
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe_ctlr.c758 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
763 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
780 fc_fcoe_set_mac(mac, fh->fh_d_id); in fcoe_ctlr_els_send()
796 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
797 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
803 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
1703 ntoh24(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
1950 fc_fcoe_set_mac(fr_cb(fp)->granted_mac, fh->fh_d_id); in fcoe_ctlr_recv_flogi()
Dfcoe.c1396 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1575 memcpy(eh->h_dest + 3, fh->fh_d_id, 3); in fcoe_xmit()
2655 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
/Linux-v4.19/drivers/scsi/fnic/
Dfnic_fcs.c1105 fc_fcoe_set_mac(eth_hdr->h_dest, fh->fh_d_id); in fnic_send_frame()