Lines Matching refs:fh
214 static inline u16 i40e_fcoe_fc_get_xid(struct fc_frame_header *fh) in i40e_fcoe_fc_get_xid() argument
216 u32 f_ctl = ntoh24(fh->fh_f_ctl); in i40e_fcoe_fc_get_xid()
219 be16_to_cpu(fh->fh_ox_id) : in i40e_fcoe_fc_get_xid()
220 be16_to_cpu(fh->fh_rx_id); in i40e_fcoe_fc_get_xid()
235 void *fh = skb->data + sizeof(struct fcoe_hdr); in i40e_fcoe_fc_frame_header() local
238 fh += sizeof(struct vlan_hdr); in i40e_fcoe_fc_frame_header()
240 return (struct fc_frame_header *)fh; in i40e_fcoe_fc_frame_header()
695 struct fc_frame_header *fh = NULL; in i40e_fcoe_handle_offload() local
729 fh = i40e_fcoe_fc_frame_header(skb); in i40e_fcoe_handle_offload()
730 xid = i40e_fcoe_fc_get_xid(fh); in i40e_fcoe_handle_offload()
769 u32 f_ctl = ntoh24(fh->fh_f_ctl); in i40e_fcoe_handle_offload()
772 (fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA)) { in i40e_fcoe_handle_offload()
1014 struct fc_frame_header *fh; in i40e_fcoe_program_ddp() local
1072 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_program_ddp()
1073 filter_desc->param = cpu_to_le32(ntohl(fh->fh_parm_offset)); in i40e_fcoe_program_ddp()
1074 filter_desc->seqn = cpu_to_le16(ntohs(fh->fh_seq_cnt)); in i40e_fcoe_program_ddp()
1148 struct fc_frame_header *fh; in i40e_fcoe_handle_ddp() local
1154 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_handle_ddp()
1155 f_ctl = ntoh24(fh->fh_f_ctl); in i40e_fcoe_handle_ddp()
1156 r_ctl = fh->fh_r_ctl; in i40e_fcoe_handle_ddp()
1161 xid = ntohs(fh->fh_rx_id); in i40e_fcoe_handle_ddp()
1170 xid = ntohs(fh->fh_ox_id); in i40e_fcoe_handle_ddp()
1179 xid = ntohs(fh->fh_ox_id); in i40e_fcoe_handle_ddp()
1210 struct fc_frame_header *fh; in i40e_fcoe_tso() local
1236 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_tso()
1237 if (fh->fh_f_ctl[2] & FC_FC_REL_OFF) in i40e_fcoe_tso()