Lines Matching refs:fp
157 struct fc_frame *fp; in fnic_handle_frame() local
167 fp = (struct fc_frame *)skb; in fnic_handle_frame()
181 fc_exch_recv(lp, fp); in fnic_handle_frame()
629 struct fc_frame *fp; in fnic_import_rq_eth_pkt() local
667 fp = (struct fc_frame *)skb; in fnic_import_rq_eth_pkt()
668 fc_frame_init(fp); in fnic_import_rq_eth_pkt()
669 fr_sof(fp) = fcoe_hdr->fcoe_sof; in fnic_import_rq_eth_pkt()
674 fr_eof(fp) = ft->fcoe_eof; in fnic_import_rq_eth_pkt()
734 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id() argument
741 port_id, fp); in fnic_set_port_id()
753 if (fp) { in fnic_set_port_id()
754 mac = fr_cb(fp)->granted_mac; in fnic_set_port_id()
757 fcoe_ctlr_recv_flogi(&fnic->ctlr, lport, fp); in fnic_set_port_id()
797 struct fc_frame *fp; in fnic_rq_cmpl_frame_recv() local
817 fp = (struct fc_frame *)skb; in fnic_rq_cmpl_frame_recv()
831 fr_sof(fp) = sof; in fnic_rq_cmpl_frame_recv()
832 fr_eof(fp) = eof; in fnic_rq_cmpl_frame_recv()
880 fr_dev(fp) = fnic->lport; in fnic_rq_cmpl_frame_recv()
973 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf() local
979 dev_kfree_skb(fp_skb(fp)); in fnic_free_rq_buf()
1045 static int fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) in fnic_send_frame() argument
1058 fh = fc_frame_header_get(fp); in fnic_send_frame()
1059 skb = fp_skb(fp); in fnic_send_frame()
1090 fcoe_hdr->fcoe_sof = fr_sof(fp); in fnic_send_frame()
1116 fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp), in fnic_send_frame()
1125 dev_kfree_skb_any(fp_skb(fp)); in fnic_send_frame()
1134 int fnic_send(struct fc_lport *lp, struct fc_frame *fp) in fnic_send() argument
1140 dev_kfree_skb(fp_skb(fp)); in fnic_send()
1150 skb_queue_tail(&fnic->tx_queue, fp_skb(fp)); in fnic_send()
1156 return fnic_send_frame(fnic, fp); in fnic_send()
1172 struct fc_frame *fp; in fnic_flush_tx() local
1175 fp = (struct fc_frame *)skb; in fnic_flush_tx()
1176 fnic_send_frame(fnic, fp); in fnic_flush_tx()
1223 struct fc_frame *fp = (struct fc_frame *)skb; in fnic_wq_complete_frame_send() local
1228 dev_kfree_skb_irq(fp_skb(fp)); in fnic_wq_complete_frame_send()
1266 struct fc_frame *fp = buf->os_buf; in fnic_free_wq_buf() local
1272 dev_kfree_skb(fp_skb(fp)); in fnic_free_wq_buf()