Lines Matching defs:frport

2131 	struct fcoe_rport *frport = fcoe_ctlr_rport(rdata);
2139 frport->login_count = 0;
2144 frport->login_count++;
2145 if (frport->login_count > FCOE_CTLR_VN2VN_LOGIN_LIMIT) {
2268 * @frport: parsed FCoE rport from the probe request
2275 struct fcoe_rport *frport)
2290 frport->flags = ntohs(fiph->fip_flags);
2345 memcpy(frport->enode_mac, macd->fd_mac, ETH_ALEN);
2351 frport->rdata.ids.node_name =
2358 memcpy(frport->vn_mac, vn->fd_mac, ETH_ALEN);
2359 frport->rdata.ids.port_id = ntoh24(vn->fd_fc_id);
2360 frport->rdata.ids.port_name =
2371 frport->fcoe_len = ntohs(size->fd_size);
2407 * @frport: parsed FCoE rport from the probe request
2412 struct fcoe_rport *frport)
2414 if (frport->rdata.ids.port_id != fip->port_id)
2423 frport->enode_mac, 0);
2434 if (fip->lp->wwpn > frport->rdata.ids.port_name &&
2435 !(frport->flags & FIP_FL_REC_OR_P2P)) {
2439 frport->enode_mac, 0);
2458 * @frport: parsed FCoE rport from the probe request
2463 struct fcoe_rport *frport)
2465 if (frport->rdata.ids.port_id != fip->port_id)
2497 struct fcoe_rport *frport;
2530 frport = fcoe_ctlr_rport(rdata);
2532 port_id, frport->fcoe_len ? "old" : "new",
2534 frport->fcoe_len = new->fcoe_len;
2535 frport->flags = new->flags;
2536 frport->login_count = new->login_count;
2537 memcpy(frport->enode_mac, new->enode_mac, ETH_ALEN);
2538 memcpy(frport->vn_mac, new->vn_mac, ETH_ALEN);
2539 frport->time = 0;
2554 struct fcoe_rport *frport;
2559 frport = fcoe_ctlr_rport(rdata);
2560 memcpy(mac, frport->enode_mac, ETH_ALEN);
2650 struct fcoe_rport *frport;
2661 frport = fcoe_ctlr_rport(rdata);
2665 if (!frport->time && fip->state == FIP_ST_VNMP_UP) {
2671 frport->time = jiffies;
2703 struct fcoe_rport *frport;
2712 frport = fcoe_ctlr_rport(rdata);
2713 if (!frport->time) {
2717 deadline = frport->time +
2720 frport->time = 0;
2745 struct fcoe_rport frport = { };
2761 rc = fcoe_ctlr_vn_parse(fip, skb, &frport);
2770 fcoe_ctlr_vn_probe_req(fip, &frport);
2773 fcoe_ctlr_vn_probe_reply(fip, &frport);
2776 fcoe_ctlr_vn_claim_notify(fip, &frport);
2779 fcoe_ctlr_vn_claim_resp(fip, &frport);
2782 fcoe_ctlr_vn_beacon(fip, &frport);
2799 * @frport: parsed FCoE rport from the probe request
2806 struct fcoe_rport *frport)
2819 frport->flags = ntohs(fiph->fip_flags);
2865 memcpy(frport->enode_mac, macd->fd_mac, ETH_ALEN);
2871 frport->rdata.ids.node_name =
2957 * @frport: The newly-parsed FCoE rport from the Discovery Request
2962 struct fcoe_rport *frport)
2969 fcoe_ctlr_vlan_send(fip, sub, frport->enode_mac);
2981 struct fcoe_rport frport = { };
2986 rc = fcoe_ctlr_vlan_parse(fip, skb, &frport);
2993 fcoe_ctlr_vlan_disc_reply(fip, &frport);
3058 struct fcoe_rport *frport;
3067 frport = fcoe_ctlr_rport(rdata);
3068 if (frport->time)