Lines Matching refs:fc_lport

73 static int fcoe_xmit(struct fc_lport *, struct fc_frame *);
76 static void fcoe_percpu_clean(struct fc_lport *);
77 static int fcoe_link_ok(struct fc_lport *);
79 static struct fc_lport *fcoe_hostlist_lookup(const struct net_device *);
80 static int fcoe_hostlist_add(const struct fc_lport *);
81 static void fcoe_hostlist_del(const struct fc_lport *);
95 static void fcoe_update_src_mac(struct fc_lport *, u8 *);
96 static u8 *fcoe_get_src_mac(struct fc_lport *);
99 static int fcoe_ddp_setup(struct fc_lport *, u16, struct scatterlist *,
101 static int fcoe_ddp_done(struct fc_lport *, u16);
102 static int fcoe_ddp_target(struct fc_lport *, u16, struct scatterlist *,
118 static struct fc_seq *fcoe_elsct_send(struct fc_lport *,
144 static void fcoe_set_port_id(struct fc_lport *, u32, struct fc_frame *);
146 static void fcoe_vport_remove(struct fc_lport *);
592 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr)
608 static u8 *fcoe_get_src_mac(struct fc_lport *lport)
621 static int fcoe_lport_config(struct fc_lport *lport)
635 /* lport fc_lport related configuration */
652 static void fcoe_netdev_features_change(struct fc_lport *lport,
701 static int fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev)
765 static int fcoe_shost_config(struct fc_lport *lport, struct device *dev)
807 static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev)
921 static inline int fcoe_em_config(struct fc_lport *lport)
1002 static void fcoe_if_destroy(struct fc_lport *lport)
1013 /* Cleanup the fc_lport */
1062 static int fcoe_ddp_setup(struct fc_lport *lport, u16 xid,
1084 static int fcoe_ddp_target(struct fc_lport *lport, u16 xid,
1104 static int fcoe_ddp_done(struct fc_lport *lport, u16 xid)
1119 * Creates a fc_lport instance and a Scsi_Host instance and configure them.
1121 * Returns: The allocated fc_lport or an error pointer
1123 static struct fc_lport *fcoe_if_create(struct fcoe_interface *fcoe,
1128 struct fc_lport *lport, *n_port;
1164 /* configure a fc_lport including the exchange manager */
1338 struct fc_lport *lport;
1471 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp)
1607 static inline int fcoe_filter_frames(struct fc_lport *lport,
1659 struct fc_lport *lport;
1847 struct fc_lport *lport = NULL;
2016 struct fc_lport *lport = ctlr->lp;
2068 struct fc_lport *lport;
2204 struct fc_lport *lport;
2317 static int fcoe_link_ok(struct fc_lport *lport)
2336 static void fcoe_percpu_clean(struct fc_lport *lport)
2356 struct fc_lport *lport = shost_priv(shost);
2400 static struct fc_lport *fcoe_hostlist_lookup(const struct net_device *netdev)
2419 static int fcoe_hostlist_add(const struct fc_lport *lport)
2441 static void fcoe_hostlist_del(const struct fc_lport *lport)
2576 struct fc_lport *lport = exch->lp;
2603 struct fc_lport *lport = arg;
2620 static struct fc_seq *fcoe_elsct_send(struct fc_lport *lport, u32 did,
2659 struct fc_lport *n_port = shost_priv(shost);
2663 struct fc_lport *vn_port;
2707 struct fc_lport *n_port = shost_priv(shost);
2708 struct fc_lport *vn_port = vport->dd_data;
2727 static void fcoe_vport_remove(struct fc_lport *lport)
2761 struct fc_lport *lport = vport->dd_data;
2785 struct fc_lport *lport = vport->dd_data;
2828 static void fcoe_set_port_id(struct fc_lport *lport,