Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1009 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1371 memcpy(fh->fh_s_id, rx_fh->fh_d_id, 3); in fc_exch_send_ba_rjt()
1372 memcpy(fh->fh_d_id, rx_fh->fh_s_id, 3); in fc_exch_send_ba_rjt()
1522 lport = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in fc_exch_recv_req()
1593 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
2185 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()
1964 hton24(fh->fh_d_id, did); in fc_lport_els_request()
2024 hton24(fh->fh_d_id, did); in fc_lport_ct_request()
/Linux-v5.10/drivers/scsi/qedf/
Dqedf_main.c253 qedf->data_src_addr[3] = fh->fh_d_id[0]; in qedf_set_data_src_addr()
254 qedf->data_src_addr[4] = fh->fh_d_id[1]; in qedf_set_data_src_addr()
255 qedf->data_src_addr[5] = fh->fh_d_id[2]; in qedf_set_data_src_addr()
258 fc_fcoe_set_mac(qedf->data_src_addr, fh->fh_d_id); in qedf_set_data_src_addr()
1086 if (base_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1093 if (tmp_lport->port_id == ntoh24(fh->fh_d_id)) { in qedf_xmit()
1099 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit()
1103 "Dropping FCoE frame to %06x.\n", ntoh24(fh->fh_d_id)); in qedf_xmit()
1105 rdata = fc_rport_lookup(lport, ntoh24(fh->fh_d_id)); in qedf_xmit()
1137 fcport = qedf_fcport_lookup(qedf, ntoh24(fh->fh_d_id)); in qedf_xmit()
[all …]
Dqedf_els.c348 hton24(fh->fh_d_id, lport->port_id); in qedf_process_l2_frame_compl()
Dqedf_io.c2574 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, in qedf_process_unsol_compl()
/Linux-v5.10/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.10/include/uapi/scsi/fc/
Dfc_fs.h23 __u8 fh_d_id[3]; /* Destination ID */ member
/Linux-v5.10/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.10/drivers/scsi/lpfc/
Dlpfc_sli4.h89 ((fc_hdr)->fh_d_id[0] << 16 | \
90 (fc_hdr)->fh_d_id[1] << 8 | \
91 (fc_hdr)->fh_d_id[2])
/Linux-v5.10/drivers/scsi/fcoe/
Dfcoe_ctlr.c751 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
756 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
773 fc_fcoe_set_mac(mac, fh->fh_d_id); in fcoe_ctlr_els_send()
789 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
790 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
796 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
1696 ntoh24(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
1944 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()
2640 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_elsct_send()
/Linux-v5.10/drivers/scsi/fnic/
Dfnic_fcs.c1109 fc_fcoe_set_mac(eth_hdr->h_dest, fh->fh_d_id); in fnic_send_frame()