Lines Matching refs:lport
173 struct fc_lport *lport = port->lport; in bnx2fc_send_session_ofld_req() local
242 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_ofld_req()
244 BNX2FC_HBA_DBG(lport, "ofld_req: port_id = 0, link down?\n"); in bnx2fc_send_session_ofld_req()
266 ofld_req3.rx_max_fc_pay_len = lport->mfs; in bnx2fc_send_session_ofld_req()
313 ofld_req4.e_d_tov_timer_val = lport->e_d_tov / 20; in bnx2fc_send_session_ofld_req()
363 struct fc_lport *lport = port->lport; in bnx2fc_send_session_enable_req() local
391 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_enable_req()
514 static bool is_valid_lport(struct bnx2fc_hba *hba, struct fc_lport *lport) in is_valid_lport() argument
520 if (blport->lport == lport) { in is_valid_lport()
534 struct fc_lport *lport; in bnx2fc_unsol_els_work() local
539 lport = unsol_els->lport; in bnx2fc_unsol_els_work()
542 if (is_valid_lport(hba, lport)) in bnx2fc_unsol_els_work()
543 fc_exch_recv(lport, fp); in bnx2fc_unsol_els_work()
552 struct fc_lport *lport = port->lport; in bnx2fc_process_l2_frame_compl() local
574 fp = fc_frame_alloc(lport, payload_len); in bnx2fc_process_l2_frame_compl()
609 fr_dev(fp) = lport; in bnx2fc_process_l2_frame_compl()
613 unsol_els->lport = lport; in bnx2fc_process_l2_frame_compl()
619 BNX2FC_HBA_DBG(lport, "fh_r_ctl = 0x%x\n", fh->fh_r_ctl); in bnx2fc_process_l2_frame_compl()