Lines Matching refs:fcoe_ctlr
55 static int fcoe_ctlr_flogi_retry(struct fcoe_ctlr *);
57 static void fcoe_ctlr_vn_start(struct fcoe_ctlr *);
58 static int fcoe_ctlr_vn_recv(struct fcoe_ctlr *, struct sk_buff *);
59 static void fcoe_ctlr_vn_timeout(struct fcoe_ctlr *);
60 static int fcoe_ctlr_vn_lookup(struct fcoe_ctlr *, u32, u8 *);
62 static int fcoe_ctlr_vlan_recv(struct fcoe_ctlr *, struct sk_buff *);
98 static void fcoe_ctlr_set_state(struct fcoe_ctlr *fip, enum fip_state state) in fcoe_ctlr_set_state()
136 static void fcoe_ctlr_map_dest(struct fcoe_ctlr *fip) in fcoe_ctlr_map_dest()
150 void fcoe_ctlr_init(struct fcoe_ctlr *fip, enum fip_state mode) in fcoe_ctlr_init()
174 struct fcoe_ctlr *fip = new->fip; in fcoe_sysfs_fcf_add()
247 struct fcoe_ctlr *fip = new->fip; in fcoe_sysfs_fcf_del()
281 static void fcoe_ctlr_reset_fcfs(struct fcoe_ctlr *fip) in fcoe_ctlr_reset_fcfs()
307 void fcoe_ctlr_destroy(struct fcoe_ctlr *fip) in fcoe_ctlr_destroy()
329 static void fcoe_ctlr_announce(struct fcoe_ctlr *fip) in fcoe_ctlr_announce()
371 static inline u32 fcoe_ctlr_fcoe_size(struct fcoe_ctlr *fip) in fcoe_ctlr_fcoe_size()
387 static void fcoe_ctlr_solicit(struct fcoe_ctlr *fip, struct fcoe_fcf *fcf) in fcoe_ctlr_solicit()
450 void fcoe_ctlr_link_up(struct fcoe_ctlr *fip) in fcoe_ctlr_link_up()
486 static void fcoe_ctlr_reset(struct fcoe_ctlr *fip) in fcoe_ctlr_reset()
506 int fcoe_ctlr_link_down(struct fcoe_ctlr *fip) in fcoe_ctlr_link_down()
537 static void fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip, in fcoe_ctlr_send_keep_alive()
611 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_encaps()
704 int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_els_send()
826 static unsigned long fcoe_ctlr_age_fcfs(struct fcoe_ctlr *fip) in fcoe_ctlr_age_fcfs()
898 static int fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip, in fcoe_ctlr_parse_adv()
1027 static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv_adv()
1143 static void fcoe_ctlr_recv_els(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv_els()
1319 static void fcoe_ctlr_recv_clr_vlink(struct fcoe_ctlr *fip, in fcoe_ctlr_recv_clr_vlink()
1527 void fcoe_ctlr_recv(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv()
1544 static int fcoe_ctlr_recv_handler(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv_handler()
1630 static struct fcoe_fcf *fcoe_ctlr_select(struct fcoe_ctlr *fip) in fcoe_ctlr_select()
1682 static int fcoe_ctlr_flogi_send_locked(struct fcoe_ctlr *fip) in fcoe_ctlr_flogi_send_locked()
1720 static int fcoe_ctlr_flogi_retry(struct fcoe_ctlr *fip) in fcoe_ctlr_flogi_retry()
1751 static void fcoe_ctlr_flogi_send(struct fcoe_ctlr *fip) in fcoe_ctlr_flogi_send()
1791 struct fcoe_ctlr *fip = from_timer(fip, t, timer); in fcoe_ctlr_timeout()
1805 struct fcoe_ctlr *fip; in fcoe_ctlr_timer_work()
1815 fip = container_of(work, struct fcoe_ctlr, timer_work); in fcoe_ctlr_timer_work()
1888 struct fcoe_ctlr *fip; in fcoe_ctlr_recv_work()
1891 fip = container_of(recv_work, struct fcoe_ctlr, recv_work); in fcoe_ctlr_recv_work()
1911 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_recv_flogi()
2027 static void fcoe_ctlr_vn_send(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_send()
2136 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_vn_rport_callback()
2198 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_disc_stop()
2225 static void fcoe_ctlr_vn_restart(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_restart()
2263 static void fcoe_ctlr_vn_start(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_start()
2279 static int fcoe_ctlr_vn_parse(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_parse()
2406 static void fcoe_ctlr_vn_send_claim(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_send_claim()
2419 static void fcoe_ctlr_vn_probe_req(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_probe_req()
2472 static void fcoe_ctlr_vn_probe_reply(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_probe_reply()
2502 static void fcoe_ctlr_vn_add(struct fcoe_ctlr *fip, struct fc_rport_priv *new) in fcoe_ctlr_vn_add()
2554 static int fcoe_ctlr_vn_lookup(struct fcoe_ctlr *fip, u32 port_id, u8 *mac) in fcoe_ctlr_vn_lookup()
2578 static void fcoe_ctlr_vn_claim_notify(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_claim_notify()
2634 static void fcoe_ctlr_vn_claim_resp(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_claim_resp()
2650 static void fcoe_ctlr_vn_beacon(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_beacon()
2704 static unsigned long fcoe_ctlr_vn_age(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_age()
2746 static int fcoe_ctlr_vn_recv(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_vn_recv()
2812 static int fcoe_ctlr_vlan_parse(struct fcoe_ctlr *fip, in fcoe_ctlr_vlan_parse()
2911 static void fcoe_ctlr_vlan_send(struct fcoe_ctlr *fip, in fcoe_ctlr_vlan_send()
2972 static void fcoe_ctlr_vlan_disc_reply(struct fcoe_ctlr *fip, in fcoe_ctlr_vlan_disc_reply()
2990 static int fcoe_ctlr_vlan_recv(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_vlan_recv()
3052 struct fcoe_ctlr *fip = disc->priv; in fcoe_ctlr_disc_start()
3070 static void fcoe_ctlr_vn_disc(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_disc()
3098 static void fcoe_ctlr_vn_timeout(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_timeout()
3185 static void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip, in fcoe_ctlr_mode_set()
3223 int fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip, in fcoe_libfc_config()
3242 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_selected()
3261 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_set_fip_mode()