Lines Matching refs:port_id

546 	if (!fcf || (ports && !lp->port_id))  in fcoe_ctlr_send_keep_alive()
577 hton24(vn->fd_fc_id, lport->port_id); in fcoe_ctlr_send_keep_alive()
663 hton24(mac->fd_mac + 3, fip->port_id); in fcoe_ctlr_encaps()
1356 if (!lport->port_id) { in fcoe_ctlr_recv_clr_vlink()
2051 hton24(frame->eth.h_source + 3, fip->port_id); in fcoe_ctlr_vn_send()
2073 hton24(frame->vn.fd_mac + 3, fip->port_id); in fcoe_ctlr_vn_send()
2074 hton24(frame->vn.fd_fc_id, fip->port_id); in fcoe_ctlr_vn_send()
2126 rdata->ids.port_id, event); in fcoe_ctlr_vn_rport_callback()
2140 rdata->ids.port_id); in fcoe_ctlr_vn_rport_callback()
2214 u32 port_id; in fcoe_ctlr_vn_restart() local
2225 port_id = fip->port_id; in fcoe_ctlr_vn_restart()
2227 port_id = prandom_u32_state(&fip->rnd_state) & 0xffff; in fcoe_ctlr_vn_restart()
2228 else if (!port_id) in fcoe_ctlr_vn_restart()
2229 port_id = fip->lp->wwpn & 0xffff; in fcoe_ctlr_vn_restart()
2230 if (!port_id || port_id == 0xffff) in fcoe_ctlr_vn_restart()
2231 port_id = 1; in fcoe_ctlr_vn_restart()
2232 fip->port_id = port_id; in fcoe_ctlr_vn_restart()
2351 frport->rdata.ids.port_id = ntoh24(vn->fd_fc_id); in fcoe_ctlr_vn_parse()
2406 if (frport->rdata.ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_req()
2457 if (frport->rdata.ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_reply()
2490 u32 port_id; in fcoe_ctlr_vn_add() local
2492 port_id = new->rdata.ids.port_id; in fcoe_ctlr_vn_add()
2493 if (port_id == fip->port_id) in fcoe_ctlr_vn_add()
2497 rdata = fc_rport_create(lport, port_id); in fcoe_ctlr_vn_add()
2514 LIBFCOE_FIP_DBG(fip, "vn_add rport logoff %6.6x\n", port_id); in fcoe_ctlr_vn_add()
2524 port_id, frport->fcoe_len ? "old" : "new", in fcoe_ctlr_vn_add()
2542 static int fcoe_ctlr_vn_lookup(struct fcoe_ctlr *fip, u32 port_id, u8 *mac) in fcoe_ctlr_vn_lookup() argument
2549 rdata = fc_rport_lookup(lport, port_id); in fcoe_ctlr_vn_lookup()
2578 if (new->rdata.ids.port_id == fip->port_id) { in fcoe_ctlr_vn_claim_notify()
2587 if (new->rdata.ids.port_id == fip->port_id) { in fcoe_ctlr_vn_claim_notify()
2600 new->rdata.ids.port_id); in fcoe_ctlr_vn_claim_notify()
2609 new->rdata.ids.port_id); in fcoe_ctlr_vn_claim_notify()
2625 new->rdata.ids.port_id, fcoe_ctlr_state(fip->state)); in fcoe_ctlr_vn_claim_resp()
2649 rdata = fc_rport_lookup(lport, new->rdata.ids.port_id); in fcoe_ctlr_vn_beacon()
2656 rdata->ids.port_id); in fcoe_ctlr_vn_beacon()
2660 rdata->ids.port_id); in fcoe_ctlr_vn_beacon()
2677 new->rdata.ids.port_id); in fcoe_ctlr_vn_beacon()
2715 rdata->ids.port_name, rdata->ids.port_id); in fcoe_ctlr_vn_age()
3095 new_port_id = fip->port_id; in fcoe_ctlr_vn_timeout()