Lines Matching refs:fcoe_ctlr

43 static int fcoe_ctlr_flogi_retry(struct fcoe_ctlr *);
45 static void fcoe_ctlr_vn_start(struct fcoe_ctlr *);
46 static int fcoe_ctlr_vn_recv(struct fcoe_ctlr *, struct sk_buff *);
47 static void fcoe_ctlr_vn_timeout(struct fcoe_ctlr *);
48 static int fcoe_ctlr_vn_lookup(struct fcoe_ctlr *, u32, u8 *);
50 static int fcoe_ctlr_vlan_recv(struct fcoe_ctlr *, struct sk_buff *);
86 static void fcoe_ctlr_set_state(struct fcoe_ctlr *fip, enum fip_state state)
124 static void fcoe_ctlr_map_dest(struct fcoe_ctlr *fip)
139 void fcoe_ctlr_init(struct fcoe_ctlr *fip, enum fip_mode mode)
156 * fcoe_sysfs_fcf_add() - Add a fcoe_fcf{,_device} to a fcoe_ctlr{,_device}
163 struct fcoe_ctlr *fip = new->fip;
188 * case we want to add the fcoe_fcf to the fcoe_ctlr list, but we
208 * age_fcfs are protected by the the fcoe_ctlr's mutex.
229 * fcoe_sysfs_fcf_del() - Remove a fcoe_fcf{,_device} to a fcoe_ctlr{,_device}
236 struct fcoe_ctlr *fip = new->fip;
249 * case we want to remove the fcoe_fcf from the fcoe_ctlr list (above),
268 * Called with &fcoe_ctlr lock held.
270 static void fcoe_ctlr_reset_fcfs(struct fcoe_ctlr *fip)
288 * This is called by FCoE drivers before freeing the &fcoe_ctlr.
296 void fcoe_ctlr_destroy(struct fcoe_ctlr *fip)
318 static void fcoe_ctlr_announce(struct fcoe_ctlr *fip)
360 static inline u32 fcoe_ctlr_fcoe_size(struct fcoe_ctlr *fip)
376 static void fcoe_ctlr_solicit(struct fcoe_ctlr *fip, struct fcoe_fcf *fcf)
439 void fcoe_ctlr_link_up(struct fcoe_ctlr *fip)
478 static void fcoe_ctlr_reset(struct fcoe_ctlr *fip)
498 int fcoe_ctlr_link_down(struct fcoe_ctlr *fip)
529 static void fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip,
604 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport,
697 int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport,
819 static unsigned long fcoe_ctlr_age_fcfs(struct fcoe_ctlr *fip)
891 static int fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip,
1020 static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb)
1136 static void fcoe_ctlr_recv_els(struct fcoe_ctlr *fip, struct sk_buff *skb)
1312 static void fcoe_ctlr_recv_clr_vlink(struct fcoe_ctlr *fip,
1338 LIBFCOE_FIP_DBG(fip, "Resetting fcoe_ctlr as FCF has not been "
1520 void fcoe_ctlr_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
1537 static int fcoe_ctlr_recv_handler(struct fcoe_ctlr *fip, struct sk_buff *skb)
1623 static struct fcoe_fcf *fcoe_ctlr_select(struct fcoe_ctlr *fip)
1675 static int fcoe_ctlr_flogi_send_locked(struct fcoe_ctlr *fip)
1713 static int fcoe_ctlr_flogi_retry(struct fcoe_ctlr *fip)
1744 static void fcoe_ctlr_flogi_send(struct fcoe_ctlr *fip)
1784 struct fcoe_ctlr *fip = from_timer(fip, t, timer);
1798 struct fcoe_ctlr *fip;
1808 fip = container_of(work, struct fcoe_ctlr, timer_work);
1881 struct fcoe_ctlr *fip;
1884 fip = container_of(recv_work, struct fcoe_ctlr, recv_work);
1905 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport,
2021 static void fcoe_ctlr_vn_send(struct fcoe_ctlr *fip,
2130 struct fcoe_ctlr *fip = lport->disc.priv;
2192 struct fcoe_ctlr *fip = lport->disc.priv;
2217 * Called with fcoe_ctlr lock held.
2219 static void fcoe_ctlr_vn_restart(struct fcoe_ctlr *fip)
2255 * Called with fcoe_ctlr lock held.
2257 static void fcoe_ctlr_vn_start(struct fcoe_ctlr *fip)
2273 static int fcoe_ctlr_vn_parse(struct fcoe_ctlr *fip,
2398 static void fcoe_ctlr_vn_send_claim(struct fcoe_ctlr *fip)
2411 static void fcoe_ctlr_vn_probe_req(struct fcoe_ctlr *fip,
2462 static void fcoe_ctlr_vn_probe_reply(struct fcoe_ctlr *fip,
2492 static void fcoe_ctlr_vn_add(struct fcoe_ctlr *fip, struct fcoe_rport *new)
2550 static int fcoe_ctlr_vn_lookup(struct fcoe_ctlr *fip, u32 port_id, u8 *mac)
2574 static void fcoe_ctlr_vn_claim_notify(struct fcoe_ctlr *fip,
2629 static void fcoe_ctlr_vn_claim_resp(struct fcoe_ctlr *fip,
2645 static void fcoe_ctlr_vn_beacon(struct fcoe_ctlr *fip,
2699 static unsigned long fcoe_ctlr_vn_age(struct fcoe_ctlr *fip)
2741 static int fcoe_ctlr_vn_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
2804 static int fcoe_ctlr_vlan_parse(struct fcoe_ctlr *fip,
2899 static void fcoe_ctlr_vlan_send(struct fcoe_ctlr *fip,
2961 static void fcoe_ctlr_vlan_disc_reply(struct fcoe_ctlr *fip,
2977 static int fcoe_ctlr_vlan_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
3028 * The fcoe_ctlr lock may also be held during this call.
3035 struct fcoe_ctlr *fip = disc->priv;
3053 static void fcoe_ctlr_vn_disc(struct fcoe_ctlr *fip)
3081 static void fcoe_ctlr_vn_timeout(struct fcoe_ctlr *fip)
3164 * machine. The mode can only be changed when a fcoe_ctlr device is
3168 static void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip,
3206 int fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip,
3225 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev);
3244 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev);