Lines Matching defs:frport
2123 struct fcoe_rport *frport = fcoe_ctlr_rport(rdata);
2131 frport->login_count = 0;
2136 frport->login_count++;
2137 if (frport->login_count > FCOE_CTLR_VN2VN_LOGIN_LIMIT) {
2260 * @frport: parsed FCoE rport from the probe request
2267 struct fcoe_rport *frport)
2282 frport->flags = ntohs(fiph->fip_flags);
2337 memcpy(frport->enode_mac, macd->fd_mac, ETH_ALEN);
2343 frport->rdata.ids.node_name =
2350 memcpy(frport->vn_mac, vn->fd_mac, ETH_ALEN);
2351 frport->rdata.ids.port_id = ntoh24(vn->fd_fc_id);
2352 frport->rdata.ids.port_name =
2363 frport->fcoe_len = ntohs(size->fd_size);
2399 * @frport: parsed FCoE rport from the probe request
2404 struct fcoe_rport *frport)
2406 if (frport->rdata.ids.port_id != fip->port_id)
2415 frport->enode_mac, 0);
2426 if (fip->lp->wwpn > frport->rdata.ids.port_name &&
2427 !(frport->flags & FIP_FL_REC_OR_P2P)) {
2431 frport->enode_mac, 0);
2450 * @frport: parsed FCoE rport from the probe request
2455 struct fcoe_rport *frport)
2457 if (frport->rdata.ids.port_id != fip->port_id)
2489 struct fcoe_rport *frport;
2522 frport = fcoe_ctlr_rport(rdata);
2524 port_id, frport->fcoe_len ? "old" : "new",
2526 frport->fcoe_len = new->fcoe_len;
2527 frport->flags = new->flags;
2528 frport->login_count = new->login_count;
2529 memcpy(frport->enode_mac, new->enode_mac, ETH_ALEN);
2530 memcpy(frport->vn_mac, new->vn_mac, ETH_ALEN);
2531 frport->time = 0;
2546 struct fcoe_rport *frport;
2551 frport = fcoe_ctlr_rport(rdata);
2552 memcpy(mac, frport->enode_mac, ETH_ALEN);
2642 struct fcoe_rport *frport;
2653 frport = fcoe_ctlr_rport(rdata);
2657 if (!frport->time && fip->state == FIP_ST_VNMP_UP) {
2663 frport->time = jiffies;
2695 struct fcoe_rport *frport;
2704 frport = fcoe_ctlr_rport(rdata);
2705 if (!frport->time) {
2709 deadline = frport->time +
2712 frport->time = 0;
2737 struct fcoe_rport frport = { };
2753 rc = fcoe_ctlr_vn_parse(fip, skb, &frport);
2762 fcoe_ctlr_vn_probe_req(fip, &frport);
2765 fcoe_ctlr_vn_probe_reply(fip, &frport);
2768 fcoe_ctlr_vn_claim_notify(fip, &frport);
2771 fcoe_ctlr_vn_claim_resp(fip, &frport);
2774 fcoe_ctlr_vn_beacon(fip, &frport);
2791 * @frport: parsed FCoE rport from the probe request
2798 struct fcoe_rport *frport)
2811 frport->flags = ntohs(fiph->fip_flags);
2857 memcpy(frport->enode_mac, macd->fd_mac, ETH_ALEN);
2863 frport->rdata.ids.node_name =
2949 * @frport: The newly-parsed FCoE rport from the Discovery Request
2954 struct fcoe_rport *frport)
2961 fcoe_ctlr_vlan_send(fip, sub, frport->enode_mac);
2973 struct fcoe_rport frport = { };
2978 rc = fcoe_ctlr_vlan_parse(fip, skb, &frport);
2985 fcoe_ctlr_vlan_disc_reply(fip, &frport);
3050 struct fcoe_rport *frport;
3059 frport = fcoe_ctlr_rport(rdata);
3060 if (frport->time)