Lines Matching refs:lport

66 		FNIC_MAIN_DBG(KERN_INFO, fnic->lport->host,  in fnic_handle_link()
72 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_10GBIT; in fnic_handle_link()
73 fnic->lport->link_supported_speeds = FC_PORTSPEED_10GBIT; in fnic_handle_link()
76 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_20GBIT; in fnic_handle_link()
77 fnic->lport->link_supported_speeds = FC_PORTSPEED_20GBIT; in fnic_handle_link()
80 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_25GBIT; in fnic_handle_link()
81 fnic->lport->link_supported_speeds = FC_PORTSPEED_25GBIT; in fnic_handle_link()
85 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_40GBIT; in fnic_handle_link()
86 fnic->lport->link_supported_speeds = FC_PORTSPEED_40GBIT; in fnic_handle_link()
89 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_100GBIT; in fnic_handle_link()
90 fnic->lport->link_supported_speeds = FC_PORTSPEED_100GBIT; in fnic_handle_link()
93 fc_host_speed(fnic->lport->host) = FC_PORTSPEED_UNKNOWN; in fnic_handle_link()
94 fnic->lport->link_supported_speeds = FC_PORTSPEED_UNKNOWN; in fnic_handle_link()
102 fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_handle_link()
108 fnic->lport->host_stats.link_failure_count++; in fnic_handle_link()
111 fnic->lport->host->host_no, in fnic_handle_link()
116 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_link()
122 fnic->lport->host->host_no, in fnic_handle_link()
131 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_link()
138 fnic->lport->host->host_no, FNIC_FC_LE, in fnic_handle_link()
149 fnic->lport->host->host_no, in fnic_handle_link()
155 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "link up\n"); in fnic_handle_link()
156 fnic_fc_trace_set_data(fnic->lport->host->host_no, FNIC_FC_LE, in fnic_handle_link()
161 fnic->lport->host_stats.link_failure_count++; in fnic_handle_link()
163 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "link down\n"); in fnic_handle_link()
165 fnic->lport->host->host_no, FNIC_FC_LE, in fnic_handle_link()
169 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_link()
184 struct fc_lport *lp = fnic->lport; in fnic_handle_frame()
272 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_event()
277 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_event()
297 struct fc_lport *lport = fip->lp; in is_fnic_fip_flogi_reject() local
349 shost_printk(KERN_INFO, lport->host, in is_fnic_fip_flogi_reject()
353 shost_printk(KERN_INFO, lport->host, in is_fnic_fip_flogi_reject()
372 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_send_vlan_req()
425 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
430 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
443 shost_printk(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
465 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_fcoe_process_vlan_resp()
633 shost_printk(KERN_INFO, fnic->lport->host, in fnic_handle_fip_frame()
675 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_import_rq_eth_pkt()
723 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "update_mac %pM\n", new); in fnic_update_mac_locked()
736 void fnic_update_mac(struct fc_lport *lport, u8 *new) in fnic_update_mac() argument
738 struct fnic *fnic = lport_priv(lport); in fnic_update_mac()
759 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id() argument
761 struct fnic *fnic = lport_priv(lport); in fnic_set_port_id()
765 FNIC_FCS_DBG(KERN_DEBUG, lport->host, "set port_id %x fp %p\n", in fnic_set_port_id()
773 fnic_update_mac(lport, fnic->ctlr.ctl_src_addr); in fnic_set_port_id()
782 fcoe_ctlr_recv_flogi(&fnic->ctlr, lport, fp); in fnic_set_port_id()
784 fnic_update_mac(lport, mac); in fnic_set_port_id()
792 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_set_port_id()
872 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_rq_cmpl_frame_recv()
881 shost_printk(KERN_ERR, fnic->lport->host, in fnic_rq_cmpl_frame_recv()
888 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_rq_cmpl_frame_recv()
902 fr_dev(fp) = fnic->lport; in fnic_rq_cmpl_frame_recv()
904 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, FNIC_FC_RECV, in fnic_rq_cmpl_frame_recv()
943 shost_printk(KERN_ERR, fnic->lport->host, in fnic_rq_cmpl_handler()
969 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_alloc_rq_frame()
1025 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_eth_send()
1030 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, in fnic_eth_send()
1080 fcoe_ctlr_els_send(&fnic->ctlr, fnic->lport, skb)) in fnic_send_frame()
1119 if ((fnic_fc_trace_set_data(fnic->lport->host->host_no, FNIC_FC_SEND, in fnic_send_frame()
1336 shost_printk(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1343 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1348 FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1357 shost_printk(KERN_DEBUG, fnic->lport->host, in fnic_handle_fip_timer()
1367 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_handle_fip_timer()
1377 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, in fnic_handle_fip_timer()