• Home
  • Raw
  • Download

Lines Matching refs:fc_hdr

14576 lpfc_fc_frame_check(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr)  in lpfc_fc_frame_check()  argument
14582 uint32_t *header = (uint32_t *) fc_hdr; in lpfc_fc_frame_check()
14584 switch (fc_hdr->fh_r_ctl) { in lpfc_fc_frame_check()
14614 fc_vft_hdr = (struct fc_vft_header *)fc_hdr; in lpfc_fc_frame_check()
14615 fc_hdr = &((struct fc_frame_header *)fc_vft_hdr)[1]; in lpfc_fc_frame_check()
14616 return lpfc_fc_frame_check(phba, fc_hdr); in lpfc_fc_frame_check()
14620 switch (fc_hdr->fh_type) { in lpfc_fc_frame_check()
14635 rctl_names[fc_hdr->fh_r_ctl], fc_hdr->fh_r_ctl, in lpfc_fc_frame_check()
14636 type_names[fc_hdr->fh_type], fc_hdr->fh_type, in lpfc_fc_frame_check()
14645 rctl_names[fc_hdr->fh_r_ctl], in lpfc_fc_frame_check()
14646 type_names[fc_hdr->fh_type]); in lpfc_fc_frame_check()
14659 lpfc_fc_hdr_get_vfi(struct fc_frame_header *fc_hdr) in lpfc_fc_hdr_get_vfi() argument
14661 struct fc_vft_header *fc_vft_hdr = (struct fc_vft_header *)fc_hdr; in lpfc_fc_hdr_get_vfi()
14663 if (fc_hdr->fh_r_ctl != FC_RCTL_VFTH) in lpfc_fc_hdr_get_vfi()
14681 lpfc_fc_frame_to_vport(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr, in lpfc_fc_frame_to_vport() argument
14687 uint32_t did = (fc_hdr->fh_d_id[0] << 16 | in lpfc_fc_frame_to_vport()
14688 fc_hdr->fh_d_id[1] << 8 | in lpfc_fc_frame_to_vport()
14689 fc_hdr->fh_d_id[2]); in lpfc_fc_frame_to_vport()
14701 vports[i]->vfi == lpfc_fc_hdr_get_vfi(fc_hdr) && in lpfc_fc_frame_to_vport()
15039 struct fc_frame_header *fc_hdr, bool aborted) in lpfc_sli4_seq_abort_rsp() argument
15052 sid = sli4_sid_from_fc_hdr(fc_hdr); in lpfc_sli4_seq_abort_rsp()
15053 oxid = be16_to_cpu(fc_hdr->fh_ox_id); in lpfc_sli4_seq_abort_rsp()
15054 rxid = be16_to_cpu(fc_hdr->fh_rx_id); in lpfc_sli4_seq_abort_rsp()
15085 fctl = sli4_fctl_from_fc_hdr(fc_hdr); in lpfc_sli4_seq_abort_rsp()
15195 struct fc_frame_header fc_hdr; in lpfc_sli4_handle_unsol_abort() local
15200 memcpy(&fc_hdr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_sli4_handle_unsol_abort()
15201 fctl = sli4_fctl_from_fc_hdr(&fc_hdr); in lpfc_sli4_handle_unsol_abort()
15215 lpfc_sli4_seq_abort_rsp(vport, &fc_hdr, aborted); in lpfc_sli4_handle_unsol_abort()
15284 struct fc_frame_header *fc_hdr; in lpfc_prep_seq() local
15289 fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; in lpfc_prep_seq()
15294 sid = sli4_sid_from_fc_hdr(fc_hdr); in lpfc_prep_seq()
15304 if (sli4_type_from_fc_hdr(fc_hdr) == FC_TYPE_ELS) { in lpfc_prep_seq()
15307 sli4_did_from_fc_hdr(fc_hdr); in lpfc_prep_seq()
15313 be16_to_cpu(fc_hdr->fh_ox_id); in lpfc_prep_seq()
15399 struct fc_frame_header *fc_hdr; in lpfc_sli4_send_seq_to_ulp() local
15403 fc_hdr = (struct fc_frame_header *)seq_dmabuf->hbuf.virt; in lpfc_sli4_send_seq_to_ulp()
15410 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
15415 iocbq, fc_hdr->fh_r_ctl, in lpfc_sli4_send_seq_to_ulp()
15416 fc_hdr->fh_type)) in lpfc_sli4_send_seq_to_ulp()
15421 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
15449 struct fc_frame_header *fc_hdr; in lpfc_sli4_handle_received_buffer() local
15455 fc_hdr = (struct fc_frame_header *)dmabuf->hbuf.virt; in lpfc_sli4_handle_received_buffer()
15457 if (lpfc_fc_frame_check(phba, fc_hdr)) { in lpfc_sli4_handle_received_buffer()
15469 vport = lpfc_fc_frame_to_vport(phba, fc_hdr, fcfi); in lpfc_sli4_handle_received_buffer()
15477 did = sli4_did_from_fc_hdr(fc_hdr); in lpfc_sli4_handle_received_buffer()
15495 if (fc_hdr->fh_r_ctl == FC_RCTL_BA_ABTS) { in lpfc_sli4_handle_received_buffer()