Lines Matching refs:lport

78 		FNIC_MAIN_DBG(KERN_INFO, fnic->lport->host,  in fnic_handle_link()
84 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_10GBIT; in fnic_handle_link()
85 fnic->lport->link_supported_speeds = FC_PORTSPEED_10GBIT; in fnic_handle_link()
88 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_20GBIT; in fnic_handle_link()
89 fnic->lport->link_supported_speeds = FC_PORTSPEED_20GBIT; in fnic_handle_link()
92 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_25GBIT; in fnic_handle_link()
93 fnic->lport->link_supported_speeds = FC_PORTSPEED_25GBIT; in fnic_handle_link()
97 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_40GBIT; in fnic_handle_link()
98 fnic->lport->link_supported_speeds = FC_PORTSPEED_40GBIT; in fnic_handle_link()
101 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_100GBIT; in fnic_handle_link()
102 fnic->lport->link_supported_speeds = FC_PORTSPEED_100GBIT; in fnic_handle_link()
105 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_UNKNOWN; in fnic_handle_link()
106 fnic->lport->link_supported_speeds = FC_PORTSPEED_UNKNOWN; in fnic_handle_link()
114 fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_handle_link()
120 fnic->lport->host_stats.link_failure_count++; in fnic_handle_link()
123 fnic->lport->host->host_no, in fnic_handle_link()
128 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_link()
134 fnic->lport->host->host_no, in fnic_handle_link()
143 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_link()
150 fnic->lport->host->host_no, FNIC_FC_LE, in fnic_handle_link()
161 fnic->lport->host->host_no, in fnic_handle_link()
167 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "link up\n"); in fnic_handle_link()
168 fnic_fc_trace_set_data(fnic->lport->host->host_no, FNIC_FC_LE, in fnic_handle_link()
173 fnic->lport->host_stats.link_failure_count++; in fnic_handle_link()
175 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "link down\n"); in fnic_handle_link()
177 fnic->lport->host->host_no, FNIC_FC_LE, in fnic_handle_link()
181 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_link()
196 struct fc_lport *lp = fnic->lport; in fnic_handle_frame()
284 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_event()
289 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_event()
309 struct fc_lport *lport = fip->lp; in is_fnic_fip_flogi_reject() local
361 shost_printk(KERN_INFO, lport->host, in is_fnic_fip_flogi_reject()
365 shost_printk(KERN_INFO, lport->host, in is_fnic_fip_flogi_reject()
384 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_send_vlan_req()
437 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
442 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
455 shost_printk(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
477 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
645 shost_printk(KERN_INFO, fnic->lport->host, in fnic_handle_fip_frame()
687 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_import_rq_eth_pkt()
735 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "update_mac %pM\n", new); in fnic_update_mac_locked()
748 void fnic_update_mac(struct fc_lport *lport, u8 *new) in fnic_update_mac() argument
750 struct fnic *fnic = lport_priv(lport); in fnic_update_mac()
771 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id() argument
773 struct fnic *fnic = lport_priv(lport); in fnic_set_port_id()
777 FNIC_FCS_DBG(KERN_DEBUG, lport->host, "set port_id %x fp %p\n", in fnic_set_port_id()
785 fnic_update_mac(lport, fnic->ctlr.ctl_src_addr); in fnic_set_port_id()
794 fcoe_ctlr_recv_flogi(&fnic->ctlr, lport, fp); in fnic_set_port_id()
796 fnic_update_mac(lport, mac); in fnic_set_port_id()
804 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_set_port_id()
884 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_rq_cmpl_frame_recv()
893 shost_printk(KERN_ERR, fnic->lport->host, in fnic_rq_cmpl_frame_recv()
900 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_rq_cmpl_frame_recv()
914 fr_dev(fp) = fnic->lport; in fnic_rq_cmpl_frame_recv()
916 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, FNIC_FC_RECV, in fnic_rq_cmpl_frame_recv()
955 shost_printk(KERN_ERR, fnic->lport->host, in fnic_rq_cmpl_handler()
981 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_alloc_rq_frame()
1037 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_eth_send()
1042 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_eth_send()
1092 fcoe_ctlr_els_send(&fnic->ctlr, fnic->lport, skb)) in fnic_send_frame()
1131 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, FNIC_FC_SEND, in fnic_send_frame()
1348 shost_printk(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1355 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1360 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1369 shost_printk(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1379 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_handle_fip_timer()
1389 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_handle_fip_timer()