Lines Matching refs:fp
152 struct fc_frame *fp;
162 fp = (struct fc_frame *)skb;
176 fc_exch_recv(lp, fp);
624 struct fc_frame *fp;
662 fp = (struct fc_frame *)skb;
663 fc_frame_init(fp);
664 fr_sof(fp) = fcoe_hdr->fcoe_sof;
669 fr_eof(fp) = ft->fcoe_eof;
719 * @fp: received frame containing the FLOGI accept or NULL.
727 * If the FC_ID is due to point-to-point, fp may be NULL.
729 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp)
735 FNIC_FCS_DBG(KERN_DEBUG, lport->host, "set port_id %x fp %p\n",
736 port_id, fp);
748 if (fp) {
749 mac = fr_cb(fp)->granted_mac;
752 fcoe_ctlr_recv_flogi(&fnic->ctlr, lport, fp);
792 struct fc_frame *fp;
812 fp = (struct fc_frame *)skb;
826 fr_sof(fp) = sof;
827 fr_eof(fp) = eof;
875 fr_dev(fp) = fnic->lport;
956 struct fc_frame *fp = buf->os_buf;
962 dev_kfree_skb(fp_skb(fp));
1018 static int fnic_send_frame(struct fnic *fnic, struct fc_frame *fp)
1031 fh = fc_frame_header_get(fp);
1032 skb = fp_skb(fp);
1063 fcoe_hdr->fcoe_sof = fr_sof(fp);
1083 fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp),
1090 dev_kfree_skb_any(fp_skb(fp));
1099 int fnic_send(struct fc_lport *lp, struct fc_frame *fp)
1105 dev_kfree_skb(fp_skb(fp));
1115 skb_queue_tail(&fnic->tx_queue, fp_skb(fp));
1121 return fnic_send_frame(fnic, fp);
1137 struct fc_frame *fp;
1140 fp = (struct fc_frame *)skb;
1141 fnic_send_frame(fnic, fp);
1188 struct fc_frame *fp = (struct fc_frame *)skb;
1193 dev_kfree_skb_irq(fp_skb(fp));
1231 struct fc_frame *fp = buf->os_buf;
1237 dev_kfree_skb(fp_skb(fp));