Lines Matching refs:fh

199 	struct fc_frame_header *fh;  in bnx2fc_xmit_l2_frame()  local
202 fh = fc_frame_header_get(fp); in bnx2fc_xmit_l2_frame()
205 ntohs(fh->fh_ox_id), fh->fh_r_ctl); in bnx2fc_xmit_l2_frame()
206 if ((fh->fh_type == FC_TYPE_ELS) && in bnx2fc_xmit_l2_frame()
207 (fh->fh_r_ctl == FC_RCTL_ELS_REQ)) { in bnx2fc_xmit_l2_frame()
222 } else if ((fh->fh_type == FC_TYPE_BLS) && in bnx2fc_xmit_l2_frame()
223 (fh->fh_r_ctl == FC_RCTL_BA_ABTS)) in bnx2fc_xmit_l2_frame()
228 fh->fh_type, fh->fh_r_ctl); in bnx2fc_xmit_l2_frame()
248 struct fc_frame_header *fh; in bnx2fc_xmit() local
266 fh = fc_frame_header_get(fp); in bnx2fc_xmit()
275 if (unlikely(fh->fh_r_ctl == FC_RCTL_ELS_REQ)) { in bnx2fc_xmit()
299 tgt = bnx2fc_tgt_lookup(port, ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
303 "port_id = 0x%x\n", ntoh24(fh->fh_d_id)); in bnx2fc_xmit()
355 fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); in bnx2fc_xmit()
412 struct fc_frame_header *fh; in bnx2fc_rcv() local
448 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_rcv()
450 oxid = ntohs(fh->fh_ox_id); in bnx2fc_rcv()
499 struct fc_frame_header *fh; in bnx2fc_recv_frame() local
523 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_recv_frame()
542 fh = fc_frame_header_get(fp); in bnx2fc_recv_frame()
544 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame()
553 if (fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA && in bnx2fc_recv_frame()
554 fh->fh_type == FC_TYPE_FCP) { in bnx2fc_recv_frame()
559 if (fh->fh_r_ctl == FC_RCTL_ELS_REQ && in bnx2fc_recv_frame()
560 fh->fh_type == FC_TYPE_ELS) { in bnx2fc_recv_frame()
563 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) { in bnx2fc_recv_frame()
572 if (fh->fh_r_ctl == FC_RCTL_BA_ABTS) { in bnx2fc_recv_frame()