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)
889 static int fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip,
1018 static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb)
1134 static void fcoe_ctlr_recv_els(struct fcoe_ctlr *fip, struct sk_buff *skb)
1307 static void fcoe_ctlr_recv_clr_vlink(struct fcoe_ctlr *fip,
1333 LIBFCOE_FIP_DBG(fip, "Resetting fcoe_ctlr as FCF has not been "
1512 void fcoe_ctlr_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
1529 static int fcoe_ctlr_recv_handler(struct fcoe_ctlr *fip, struct sk_buff *skb)
1615 static struct fcoe_fcf *fcoe_ctlr_select(struct fcoe_ctlr *fip)
1667 static int fcoe_ctlr_flogi_send_locked(struct fcoe_ctlr *fip)
1705 static int fcoe_ctlr_flogi_retry(struct fcoe_ctlr *fip)
1736 static void fcoe_ctlr_flogi_send(struct fcoe_ctlr *fip)
1776 struct fcoe_ctlr *fip = from_timer(fip, t, timer);
1790 struct fcoe_ctlr *fip;
1800 fip = container_of(work, struct fcoe_ctlr, timer_work);
1873 struct fcoe_ctlr *fip;
1876 fip = container_of(recv_work, struct fcoe_ctlr, recv_work);
1897 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport,
2013 static void fcoe_ctlr_vn_send(struct fcoe_ctlr *fip,
2122 struct fcoe_ctlr *fip = lport->disc.priv;
2184 struct fcoe_ctlr *fip = lport->disc.priv;
2209 * Called with fcoe_ctlr lock held.
2211 static void fcoe_ctlr_vn_restart(struct fcoe_ctlr *fip)
2247 * Called with fcoe_ctlr lock held.
2249 static void fcoe_ctlr_vn_start(struct fcoe_ctlr *fip)
2265 static int fcoe_ctlr_vn_parse(struct fcoe_ctlr *fip,
2390 static void fcoe_ctlr_vn_send_claim(struct fcoe_ctlr *fip)
2403 static void fcoe_ctlr_vn_probe_req(struct fcoe_ctlr *fip,
2454 static void fcoe_ctlr_vn_probe_reply(struct fcoe_ctlr *fip,
2484 static void fcoe_ctlr_vn_add(struct fcoe_ctlr *fip, struct fcoe_rport *new)
2542 static int fcoe_ctlr_vn_lookup(struct fcoe_ctlr *fip, u32 port_id, u8 *mac)
2566 static void fcoe_ctlr_vn_claim_notify(struct fcoe_ctlr *fip,
2621 static void fcoe_ctlr_vn_claim_resp(struct fcoe_ctlr *fip,
2637 static void fcoe_ctlr_vn_beacon(struct fcoe_ctlr *fip,
2691 static unsigned long fcoe_ctlr_vn_age(struct fcoe_ctlr *fip)
2733 static int fcoe_ctlr_vn_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
2796 static int fcoe_ctlr_vlan_parse(struct fcoe_ctlr *fip,
2891 static void fcoe_ctlr_vlan_send(struct fcoe_ctlr *fip,
2953 static void fcoe_ctlr_vlan_disc_reply(struct fcoe_ctlr *fip,
2969 static int fcoe_ctlr_vlan_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
3020 * The fcoe_ctlr lock may also be held during this call.
3027 struct fcoe_ctlr *fip = disc->priv;
3045 static void fcoe_ctlr_vn_disc(struct fcoe_ctlr *fip)
3073 static void fcoe_ctlr_vn_timeout(struct fcoe_ctlr *fip)
3156 * machine. The mode can only be changed when a fcoe_ctlr device is
3160 static void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip,
3198 int fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip,
3217 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev);
3236 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev);