Home
last modified time | relevance | path

Searched refs:fc_hdr (Results 1 – 12 of 12) sorted by relevance

/drivers/scsi/bnx2fc/
Dbnx2fc_els.c127 struct fc_frame_header *fc_hdr; in bnx2fc_l2_els_compl() local
155 fc_hdr = &(mp_req->resp_fc_hdr); in bnx2fc_l2_els_compl()
164 hdr_len = sizeof(*fc_hdr); in bnx2fc_l2_els_compl()
170 memcpy(buf, fc_hdr, hdr_len); in bnx2fc_l2_els_compl()
268 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_srr_compl() local
325 fc_hdr = &(mp_req->resp_fc_hdr); in bnx2fc_srr_compl()
329 hdr_len = sizeof(*fc_hdr); in bnx2fc_srr_compl()
335 memcpy(buf, fc_hdr, hdr_len); in bnx2fc_srr_compl()
380 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_rec_compl() local
449 fc_hdr = &(mp_req->resp_fc_hdr); in bnx2fc_rec_compl()
[all …]
Dbnx2fc_io.c674 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_tmf() local
749 fc_hdr = &(tm_req->req_fc_hdr); in bnx2fc_initiate_tmf()
752 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_DD_UNSOL_CMD, did, sid, in bnx2fc_initiate_tmf()
832 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_abts() local
882 fc_hdr = &(abts_req->req_fc_hdr); in bnx2fc_initiate_abts()
885 fc_hdr->fh_ox_id = htons(io_req->xid); in bnx2fc_initiate_abts()
886 fc_hdr->fh_rx_id = htons(io_req->task->rxwr_txrd.var_ctx.rx_id); in bnx2fc_initiate_abts()
891 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_BA_ABTS, did, sid, in bnx2fc_initiate_abts()
1527 struct fc_frame_header *fc_hdr; in bnx2fc_process_tm_compl() local
1547 fc_hdr = &(tm_req->resp_fc_hdr); in bnx2fc_process_tm_compl()
[all …]
D57xx_hsi_bnx2fc.h190 struct fcoe_fc_hdr fc_hdr; member
285 struct fcoe_fc_hdr fc_hdr; member
860 struct fcoe_fc_hdr fc_hdr; member
Dbnx2fc_hwi.c695 xid = err_entry->fc_hdr.ox_id; in bnx2fc_process_unsol_compl()
807 xid = cpu_to_be16(err_entry->fc_hdr.ox_id); in bnx2fc_process_unsol_compl()
1611 struct fc_frame_header *fc_hdr; in bnx2fc_init_mp_task() local
1675 fc_hdr = &(mp_req->req_fc_hdr); in bnx2fc_init_mp_task()
1677 fc_hdr->fh_ox_id = cpu_to_be16(io_req->xid); in bnx2fc_init_mp_task()
1678 fc_hdr->fh_rx_id = htons(0xffff); in bnx2fc_init_mp_task()
1681 fc_hdr->fh_rx_id = cpu_to_be16(io_req->xid); in bnx2fc_init_mp_task()
1685 hdr = (u64 *) &task->txwr_rxrd.union_ctx.tx_frame.fc_hdr; in bnx2fc_init_mp_task()
1686 memcpy(temp_hdr, fc_hdr, sizeof(temp_hdr)); in bnx2fc_init_mp_task()
/drivers/scsi/lpfc/
Dlpfc_sli4.h83 #define sli4_sid_from_fc_hdr(fc_hdr) \ argument
84 ((fc_hdr)->fh_s_id[0] << 16 | \
85 (fc_hdr)->fh_s_id[1] << 8 | \
86 (fc_hdr)->fh_s_id[2])
88 #define sli4_did_from_fc_hdr(fc_hdr) \ argument
89 ((fc_hdr)->fh_d_id[0] << 16 | \
90 (fc_hdr)->fh_d_id[1] << 8 | \
91 (fc_hdr)->fh_d_id[2])
93 #define sli4_fctl_from_fc_hdr(fc_hdr) \ argument
94 ((fc_hdr)->fh_f_ctl[0] << 16 | \
[all …]
Dlpfc_sli.c3195 struct fc_frame_header *fc_hdr; in lpfc_nvme_unsol_ls_handler() local
3204 fc_hdr = nvmebuf->hbuf.virt; in lpfc_nvme_unsol_ls_handler()
3205 oxid = be16_to_cpu(fc_hdr->fh_ox_id); in lpfc_nvme_unsol_ls_handler()
3206 sid = sli4_sid_from_fc_hdr(fc_hdr); in lpfc_nvme_unsol_ls_handler()
3207 did = sli4_did_from_fc_hdr(fc_hdr); in lpfc_nvme_unsol_ls_handler()
3208 fctl = (fc_hdr->fh_f_ctl[0] << 16 | in lpfc_nvme_unsol_ls_handler()
3209 fc_hdr->fh_f_ctl[1] << 8 | in lpfc_nvme_unsol_ls_handler()
3210 fc_hdr->fh_f_ctl[2]); in lpfc_nvme_unsol_ls_handler()
3224 } else if (unlikely(fc_hdr->fh_r_ctl != FC_RCTL_ELS4_REQ)) { in lpfc_nvme_unsol_ls_handler()
14858 struct fc_frame_header *fc_hdr; in lpfc_sli4_sp_handle_rcqe() local
[all …]
Dlpfc_nvmet.c389 struct fc_frame_header *fc_hdr; in lpfc_nvmet_ctxbuf_post() local
433 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_ctxbuf_post()
434 oxid = be16_to_cpu(fc_hdr->fh_ox_id); in lpfc_nvmet_ctxbuf_post()
437 sid = sli4_sid_from_fc_hdr(fc_hdr); in lpfc_nvmet_ctxbuf_post()
1869 struct fc_frame_header *fc_hdr) in lpfc_nvmet_rcv_unsol_abort() argument
1879 sid = sli4_sid_from_fc_hdr(fc_hdr); in lpfc_nvmet_rcv_unsol_abort()
1880 oxid = be16_to_cpu(fc_hdr->fh_ox_id); in lpfc_nvmet_rcv_unsol_abort()
1908 lpfc_sli4_seq_abort_rsp(vport, fc_hdr, 1); in lpfc_nvmet_rcv_unsol_abort()
1950 lpfc_sli4_seq_abort_rsp(vport, fc_hdr, 1); in lpfc_nvmet_rcv_unsol_abort()
1986 lpfc_sli4_seq_abort_rsp(vport, fc_hdr, 1); in lpfc_nvmet_rcv_unsol_abort()
[all …]
Dlpfc_crtn.h289 struct fc_frame_header *fc_hdr);
350 struct fc_frame_header *fc_hdr, bool aborted);
Dlpfc_bsg.c1151 struct fc_frame_header fc_hdr; in lpfc_bsg_ct_unsol_abort() local
1152 struct fc_frame_header *fc_hdr_ptr = &fc_hdr; in lpfc_bsg_ct_unsol_abort()
/drivers/scsi/qedf/
Dqedf_io.c682 struct fc_frame_header *fc_hdr; in qedf_init_mp_task() local
714 fc_hdr = &(mp_req->req_fc_hdr); in qedf_init_mp_task()
716 fc_hdr->fh_ox_id = io_req->xid; in qedf_init_mp_task()
717 fc_hdr->fh_rx_id = htons(0xffff); in qedf_init_mp_task()
720 task_fc_hdr.parameter = fc_hdr->fh_parm_offset; in qedf_init_mp_task()
721 task_fc_hdr.r_ctl = fc_hdr->fh_r_ctl; in qedf_init_mp_task()
722 task_fc_hdr.type = fc_hdr->fh_type; in qedf_init_mp_task()
723 task_fc_hdr.cs_ctl = fc_hdr->fh_cs_ctl; in qedf_init_mp_task()
724 task_fc_hdr.df_ctl = fc_hdr->fh_df_ctl; in qedf_init_mp_task()
725 task_fc_hdr.rx_id = fc_hdr->fh_rx_id; in qedf_init_mp_task()
[all …]
Dqedf_els.c18 struct fc_frame_header *fc_hdr; in qedf_initiate_els() local
105 fc_hdr = &(mp_req->req_fc_hdr); in qedf_initiate_els()
110 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid, in qedf_initiate_els()
/drivers/net/ethernet/broadcom/
Dcnic_defs.h2492 struct fcoe_fc_hdr fc_hdr; member
2587 struct fcoe_fc_hdr fc_hdr; member