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()
961 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf() local
967 dev_kfree_skb(fp_skb(fp)); in fnic_free_rq_buf()
1023 static int fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) in fnic_send_frame() argument
1036 fh = fc_frame_header_get(fp); in fnic_send_frame()
1037 skb = fp_skb(fp); in fnic_send_frame()
1068 fcoe_hdr->fcoe_sof = fr_sof(fp); in fnic_send_frame()
1088 fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp), in fnic_send_frame()
1095 dev_kfree_skb_any(fp_skb(fp)); in fnic_send_frame()
1104 int fnic_send(struct fc_lport *lp, struct fc_frame *fp) in fnic_send() argument
1110 dev_kfree_skb(fp_skb(fp)); in fnic_send()
1120 skb_queue_tail(&fnic->tx_queue, fp_skb(fp)); in fnic_send()
1126 return fnic_send_frame(fnic, fp); in fnic_send()
1142 struct fc_frame *fp; in fnic_flush_tx() local
1145 fp = (struct fc_frame *)skb; in fnic_flush_tx()
1146 fnic_send_frame(fnic, fp); in fnic_flush_tx()
1193 struct fc_frame *fp = (struct fc_frame *)skb; in fnic_wq_complete_frame_send() local
1198 dev_kfree_skb_irq(fp_skb(fp)); in fnic_wq_complete_frame_send()
1236 struct fc_frame *fp = buf->os_buf; in fnic_free_wq_buf() local
1242 dev_kfree_skb(fp_skb(fp)); in fnic_free_wq_buf()