rvp 4078 drivers/infiniband/hw/hfi1/chip.c return read_write_cpu(ppd->dd, &ppd->ibport_data.rvp.z_ ##cntr, \ rvp 4079 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.cntr, vl, \ rvp 4096 drivers/infiniband/hw/hfi1/chip.c return read_write_sw(ppd->dd, &ppd->ibport_data.rvp.n_ ##cntr, \ rvp 9876 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_acks = NULL; rvp 9877 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_qacks = NULL; rvp 9878 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_acks = alloc_percpu(u64); rvp 9879 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_qacks = alloc_percpu(u64); rvp 9880 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_delayed_comp = alloc_percpu(u64); rvp 9881 drivers/infiniband/hw/hfi1/chip.c if (!ppd->ibport_data.rvp.rc_acks || rvp 9882 drivers/infiniband/hw/hfi1/chip.c !ppd->ibport_data.rvp.rc_delayed_comp || rvp 9883 drivers/infiniband/hw/hfi1/chip.c !ppd->ibport_data.rvp.rc_qacks) rvp 12198 drivers/infiniband/hw/hfi1/chip.c free_percpu(ppd->ibport_data.rvp.rc_acks); rvp 12199 drivers/infiniband/hw/hfi1/chip.c free_percpu(ppd->ibport_data.rvp.rc_qacks); rvp 12200 drivers/infiniband/hw/hfi1/chip.c free_percpu(ppd->ibport_data.rvp.rc_delayed_comp); rvp 12203 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_acks = NULL; rvp 12204 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_qacks = NULL; rvp 12205 drivers/infiniband/hw/hfi1/chip.c ppd->ibport_data.rvp.rc_delayed_comp = NULL; rvp 313 drivers/infiniband/hw/hfi1/driver.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); rvp 328 drivers/infiniband/hw/hfi1/driver.c ibp->rvp.n_pkt_drops++; rvp 374 drivers/infiniband/hw/hfi1/driver.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, lqpn); rvp 662 drivers/infiniband/hw/hfi1/driver.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, qpn); rvp 1492 drivers/infiniband/hw/hfi1/driver.c ibp->rvp.n_pkt_drops++; rvp 1575 drivers/infiniband/hw/hfi1/driver.c ibp->rvp.n_pkt_drops++; rvp 2272 drivers/infiniband/hw/hfi1/hfi.h ppd->ibport_data.rvp.z_rc_acks = rvp 2273 drivers/infiniband/hw/hfi1/hfi.h get_all_cpu_total(ppd->ibport_data.rvp.rc_acks); rvp 2274 drivers/infiniband/hw/hfi1/hfi.h ppd->ibport_data.rvp.z_rc_qacks = rvp 2275 drivers/infiniband/hw/hfi1/hfi.h get_all_cpu_total(ppd->ibport_data.rvp.rc_qacks); rvp 2332 drivers/infiniband/hw/hfi1/hfi.h rdma_ah_set_subnet_prefix(attr, ibp->rvp.gid_prefix); rvp 2463 drivers/infiniband/hw/hfi1/hfi.h grh->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; rvp 2477 drivers/infiniband/hw/hfi1/hfi.h grh->dgid.global.subnet_prefix = ibp->rvp.gid_prefix; rvp 133 drivers/infiniband/hw/hfi1/mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 134 drivers/infiniband/hw/hfi1/mad.c list_replace_init(&ibp->rvp.trap_lists[i].list, &trap_list); rvp 135 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.trap_lists[i].list_len = 0; rvp 136 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 180 drivers/infiniband/hw/hfi1/mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 181 drivers/infiniband/hw/hfi1/mad.c trap_list = &ibp->rvp.trap_lists[queue_id]; rvp 208 drivers/infiniband/hw/hfi1/mad.c if (!timer_pending(&ibp->rvp.trap_timer)) { rvp 216 drivers/infiniband/hw/hfi1/mad.c (1UL << ibp->rvp.subnet_timeout)) / 1000; rvp 217 drivers/infiniband/hw/hfi1/mad.c mod_timer(&ibp->rvp.trap_timer, rvp 223 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 239 drivers/infiniband/hw/hfi1/mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 241 drivers/infiniband/hw/hfi1/mad.c trap_list = &ibp->rvp.trap_lists[i]; rvp 255 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 270 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.gid_prefix; rvp 286 drivers/infiniband/hw/hfi1/mad.c qp0 = rcu_dereference(ibp->rvp.qp[0]); rvp 306 drivers/infiniband/hw/hfi1/mad.c qp0 = rcu_dereference(ibp->rvp.qp[0]); rvp 322 drivers/infiniband/hw/hfi1/mad.c agent = ibp->rvp.send_agent; rvp 360 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.tid++; rvp 362 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.tid == 0) rvp 363 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.tid++; rvp 364 drivers/infiniband/hw/hfi1/mad.c trap->tid = cpu_to_be64(ibp->rvp.tid); rvp 373 drivers/infiniband/hw/hfi1/mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 374 drivers/infiniband/hw/hfi1/mad.c if (!ibp->rvp.sm_ah) { rvp 375 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) { rvp 378 drivers/infiniband/hw/hfi1/mad.c ah = hfi1_create_qp0_ah(ibp, ibp->rvp.sm_lid); rvp 380 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 384 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.sm_ah = ibah_to_rvtah(ah); rvp 386 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 390 drivers/infiniband/hw/hfi1/mad.c send_buf->ah = &ibp->rvp.sm_ah->ibah; rvp 399 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 406 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 414 drivers/infiniband/hw/hfi1/mad.c struct hfi1_ibport *ibp = from_timer(ibp, t, rvp.trap_timer); rvp 420 drivers/infiniband/hw/hfi1/mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 422 drivers/infiniband/hw/hfi1/mad.c trap = list_first_entry_or_null(&ibp->rvp.trap_lists[i].list, rvp 425 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 457 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.n_pkt_drops++; rvp 458 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.pkey_violations++; rvp 533 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_144.new_cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); rvp 534 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_144.cap_mask3 = cpu_to_be16(ibp->rvp.port_cap3_flags); rvp 700 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.mkey_lease_timeout && rvp 701 drivers/infiniband/hw/hfi1/mad.c time_after_eq(jiffies, ibp->rvp.mkey_lease_timeout)) { rvp 703 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey_lease_timeout = 0; rvp 704 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkeyprot = 0; rvp 707 drivers/infiniband/hw/hfi1/mad.c if ((mad_flags & IB_MAD_IGNORE_MKEY) || ibp->rvp.mkey == 0 || rvp 708 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey == mkey) rvp 712 drivers/infiniband/hw/hfi1/mad.c if (valid_mkey && ibp->rvp.mkey_lease_timeout && rvp 716 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey_lease_timeout = 0; rvp 722 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.mkeyprot < 2) rvp 727 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.mkey_violations != 0xFFFF) rvp 728 drivers/infiniband/hw/hfi1/mad.c ++ibp->rvp.mkey_violations; rvp 729 drivers/infiniband/hw/hfi1/mad.c if (!ibp->rvp.mkey_lease_timeout && rvp 730 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey_lease_period) rvp 731 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey_lease_timeout = jiffies + rvp 732 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey_lease_period * HZ; rvp 834 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey != smp->mkey && rvp 835 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkeyprot == 1)) rvp 836 drivers/infiniband/hw/hfi1/mad.c pi->mkey = ibp->rvp.mkey; rvp 838 drivers/infiniband/hw/hfi1/mad.c pi->subnet_prefix = ibp->rvp.gid_prefix; rvp 839 drivers/infiniband/hw/hfi1/mad.c pi->sm_lid = cpu_to_be32(ibp->rvp.sm_lid); rvp 840 drivers/infiniband/hw/hfi1/mad.c pi->ib_cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); rvp 841 drivers/infiniband/hw/hfi1/mad.c pi->mkey_lease_period = cpu_to_be16(ibp->rvp.mkey_lease_period); rvp 886 drivers/infiniband/hw/hfi1/mad.c pi->mkeyprotect_lmc = (ibp->rvp.mkeyprot << 6) | ppd->lmc; rvp 899 drivers/infiniband/hw/hfi1/mad.c pi->smsl = ibp->rvp.sm_sl & OPA_PI_MASK_SMSL; rvp 907 drivers/infiniband/hw/hfi1/mad.c pi->mkey_violations = cpu_to_be16(ibp->rvp.mkey_violations); rvp 909 drivers/infiniband/hw/hfi1/mad.c pi->pkey_violations = cpu_to_be16(ibp->rvp.pkey_violations); rvp 910 drivers/infiniband/hw/hfi1/mad.c pi->qkey_violations = cpu_to_be16(ibp->rvp.qkey_violations); rvp 913 drivers/infiniband/hw/hfi1/mad.c pi->vl.high_limit = cpu_to_be16(ibp->rvp.vl_high_limit); rvp 917 drivers/infiniband/hw/hfi1/mad.c pi->clientrereg_subnettimeout = ibp->rvp.subnet_timeout; rvp 983 drivers/infiniband/hw/hfi1/mad.c pi->opa_cap_mask = cpu_to_be16(ibp->rvp.port_cap3_flags); rvp 1407 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey = pi->mkey; rvp 1408 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.gid_prefix != pi->subnet_prefix) { rvp 1409 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.gid_prefix = pi->subnet_prefix; rvp 1413 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey_lease_period = be16_to_cpu(pi->mkey_lease_period); rvp 1453 drivers/infiniband/hw/hfi1/mad.c } else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) { rvp 1455 drivers/infiniband/hw/hfi1/mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 1456 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.sm_ah) { rvp 1457 drivers/infiniband/hw/hfi1/mad.c if (smlid != ibp->rvp.sm_lid) rvp 1458 drivers/infiniband/hw/hfi1/mad.c hfi1_modify_qp0_ah(ibp, ibp->rvp.sm_ah, smlid); rvp 1459 drivers/infiniband/hw/hfi1/mad.c if (msl != ibp->rvp.sm_sl) rvp 1460 drivers/infiniband/hw/hfi1/mad.c rdma_ah_set_sl(&ibp->rvp.sm_ah->attr, msl); rvp 1462 drivers/infiniband/hw/hfi1/mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 1463 drivers/infiniband/hw/hfi1/mad.c if (smlid != ibp->rvp.sm_lid) rvp 1464 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.sm_lid = smlid; rvp 1465 drivers/infiniband/hw/hfi1/mad.c if (msl != ibp->rvp.sm_sl) rvp 1466 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.sm_sl = msl; rvp 1520 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkeyprot = rvp 1522 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.vl_high_limit = be16_to_cpu(pi->vl.high_limit) & 0xFF; rvp 1524 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.vl_high_limit); rvp 1584 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey_violations = 0; rvp 1587 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.pkey_violations = 0; rvp 1590 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.qkey_violations = 0; rvp 1592 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.subnet_timeout = rvp 4169 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) rvp 4171 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM) rvp 4239 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) rvp 4241 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM) rvp 520 drivers/infiniband/hw/hfi1/qp.c ibp->rvp.n_dmawait++; rvp 774 drivers/infiniband/hw/hfi1/qp.c if (rcu_dereference(ibp->rvp.qp[0])) rvp 776 drivers/infiniband/hw/hfi1/qp.c if (rcu_dereference(ibp->rvp.qp[1])) rvp 1248 drivers/infiniband/hw/hfi1/rc.c this_cpu_inc(*ibp->rvp.rc_qacks); rvp 1661 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_resends++; rvp 1663 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); rvp 1891 drivers/infiniband/hw/hfi1/rc.c this_cpu_inc(*ibp->rvp.rc_delayed_comp); rvp 2116 drivers/infiniband/hw/hfi1/rc.c this_cpu_inc(*ibp->rvp.rc_acks); rvp 2206 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rnr_naks++; rvp 2235 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); rvp 2249 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_seq_naks++; rvp 2262 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_other_naks++; rvp 2267 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_other_naks++; rvp 2272 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_other_naks++; rvp 2327 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rdma_seq++; rvp 2571 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_seqnak++; rvp 2603 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_dupreq++; rvp 3271 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_seqnak++; rvp 95 drivers/infiniband/hw/hfi1/ruc.c if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, rvp 132 drivers/infiniband/hw/hfi1/ruc.c if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, rvp 180 drivers/infiniband/hw/hfi1/ruc.c hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; rvp 1997 drivers/infiniband/hw/hfi1/tid_rdma.c ibp->rvp.n_rc_seqnak++; rvp 2005 drivers/infiniband/hw/hfi1/tid_rdma.c ibp->rvp.n_rc_dupreq++; rvp 2880 drivers/infiniband/hw/hfi1/tid_rdma.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); rvp 2889 drivers/infiniband/hw/hfi1/tid_rdma.c ibp->rvp.n_pkt_drops++; rvp 3021 drivers/infiniband/hw/hfi1/tid_rdma.c ibp->rvp.n_rc_seqnak++; rvp 583 drivers/infiniband/hw/hfi1/uc.c ibp->rvp.n_pkt_drops++; rvp 89 drivers/infiniband/hw/hfi1/ud.c qp = rvt_lookup_qpn(ib_to_rvt(sqp->ibqp.device), &ibp->rvp, rvp 92 drivers/infiniband/hw/hfi1/ud.c ibp->rvp.n_pkt_drops++; rvp 104 drivers/infiniband/hw/hfi1/ud.c ibp->rvp.n_pkt_drops++; rvp 174 drivers/infiniband/hw/hfi1/ud.c ibp->rvp.n_vl15_dropped++; rvp 181 drivers/infiniband/hw/hfi1/ud.c ibp->rvp.n_pkt_drops++; rvp 259 drivers/infiniband/hw/hfi1/ud.c ibp->rvp.n_loop_pkts++; rvp 827 drivers/infiniband/hw/hfi1/ud.c if (ibp->rvp.port_cap_flags & IB_PORT_SM) rvp 998 drivers/infiniband/hw/hfi1/ud.c ibp->rvp.n_vl15_dropped++; rvp 1068 drivers/infiniband/hw/hfi1/ud.c ibp->rvp.n_pkt_drops++; rvp 401 drivers/infiniband/hw/hfi1/verbs.c packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); rvp 419 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.n_pkt_drops++; rvp 455 drivers/infiniband/hw/hfi1/verbs.c packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); rvp 473 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.n_pkt_drops++; rvp 513 drivers/infiniband/hw/hfi1/verbs.c mcast = rvt_mcast_find(&ibp->rvp, rvp 528 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.n_pkt_drops++; rvp 547 drivers/infiniband/hw/hfi1/verbs.c packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); rvp 559 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.n_pkt_drops++; rvp 567 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.n_pkt_drops++; rvp 1499 drivers/infiniband/hw/hfi1/verbs.c static int hfi1_get_guid_be(struct rvt_dev_info *rdi, struct rvt_ibport *rvp, rvp 1502 drivers/infiniband/hw/hfi1/verbs.c struct hfi1_ibport *ibp = container_of(rvp, struct hfi1_ibport, rvp); rvp 1596 drivers/infiniband/hw/hfi1/verbs.c INIT_LIST_HEAD(&ibp->rvp.trap_lists[i].list); rvp 1597 drivers/infiniband/hw/hfi1/verbs.c timer_setup(&ibp->rvp.trap_timer, hfi1_handle_trap_timer, 0); rvp 1599 drivers/infiniband/hw/hfi1/verbs.c spin_lock_init(&ibp->rvp.lock); rvp 1601 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.gid_prefix = IB_DEFAULT_GID_PREFIX; rvp 1602 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.sm_lid = 0; rvp 1607 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.port_cap_flags = IB_PORT_AUTO_MIGR_SUP | rvp 1609 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.port_cap3_flags = OPA_CAP_MASK3_IsSharedSpaceSupported; rvp 1610 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.pma_counter_select[0] = IB_PMA_PORT_XMIT_DATA; rvp 1611 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.pma_counter_select[1] = IB_PMA_PORT_RCV_DATA; rvp 1612 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.pma_counter_select[2] = IB_PMA_PORT_XMIT_PKTS; rvp 1613 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.pma_counter_select[3] = IB_PMA_PORT_RCV_PKTS; rvp 1614 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.pma_counter_select[4] = IB_PMA_PORT_XMIT_WAIT; rvp 1616 drivers/infiniband/hw/hfi1/verbs.c RCU_INIT_POINTER(ibp->rvp.qp[0], NULL); rvp 1617 drivers/infiniband/hw/hfi1/verbs.c RCU_INIT_POINTER(ibp->rvp.qp[1], NULL); rvp 1924 drivers/infiniband/hw/hfi1/verbs.c &ppd->ibport_data.rvp, rvp 2001 drivers/infiniband/hw/hfi1/verbs.c ibp->rvp.n_pkt_drops++; rvp 270 drivers/infiniband/hw/hfi1/verbs.h struct rvt_ibport rvp; rvp 351 drivers/infiniband/hw/qib/qib_driver.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); rvp 366 drivers/infiniband/hw/qib/qib_driver.c ibp->rvp.n_pkt_drops++; rvp 386 drivers/infiniband/hw/qib/qib_driver.c ibp->rvp.n_rc_seqnak++; rvp 2917 drivers/infiniband/hw/qib/qib_iba6120.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 2923 drivers/infiniband/hw/qib/qib_iba6120.c jiffies + usecs_to_jiffies(ibp->rvp.pma_sample_interval)); rvp 2936 drivers/infiniband/hw/qib/qib_iba6120.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 5440 drivers/infiniband/hw/qib/qib_iba7322.c agent = ibp->rvp.send_agent; rvp 241 drivers/infiniband/hw/qib/qib_init.c ppd->ibport_data.rvp.rc_acks = alloc_percpu(u64); rvp 242 drivers/infiniband/hw/qib/qib_init.c ppd->ibport_data.rvp.rc_qacks = alloc_percpu(u64); rvp 243 drivers/infiniband/hw/qib/qib_init.c ppd->ibport_data.rvp.rc_delayed_comp = alloc_percpu(u64); rvp 244 drivers/infiniband/hw/qib/qib_init.c if (!(ppd->ibport_data.rvp.rc_acks) || rvp 245 drivers/infiniband/hw/qib/qib_init.c !(ppd->ibport_data.rvp.rc_qacks) || rvp 246 drivers/infiniband/hw/qib/qib_init.c !(ppd->ibport_data.rvp.rc_delayed_comp)) rvp 611 drivers/infiniband/hw/qib/qib_init.c free_percpu(ppd->ibport_data.rvp.rc_acks); rvp 612 drivers/infiniband/hw/qib/qib_init.c free_percpu(ppd->ibport_data.rvp.rc_qacks); rvp 613 drivers/infiniband/hw/qib/qib_init.c free_percpu(ppd->ibport_data.rvp.rc_delayed_comp); rvp 73 drivers/infiniband/hw/qib/qib_mad.c agent = ibp->rvp.send_agent; rvp 82 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.trap_timeout && rvp 83 drivers/infiniband/hw/qib/qib_mad.c time_before(jiffies, ibp->rvp.trap_timeout)) rvp 97 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.tid++; rvp 98 drivers/infiniband/hw/qib/qib_mad.c smp->tid = cpu_to_be64(ibp->rvp.tid); rvp 103 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 104 drivers/infiniband/hw/qib/qib_mad.c if (!ibp->rvp.sm_ah) { rvp 105 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) { rvp 108 drivers/infiniband/hw/qib/qib_mad.c ah = qib_create_qp0_ah(ibp, (u16)ibp->rvp.sm_lid); rvp 113 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.sm_ah = ibah_to_rvtah(ah); rvp 119 drivers/infiniband/hw/qib/qib_mad.c send_buf->ah = &ibp->rvp.sm_ah->ibah; rvp 122 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 128 drivers/infiniband/hw/qib/qib_mad.c timeout = (4096 * (1UL << ibp->rvp.subnet_timeout)) / 1000; rvp 129 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.trap_timeout = jiffies + usecs_to_jiffies(timeout); rvp 132 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.trap_timeout = 0; rvp 144 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.n_pkt_drops++; rvp 145 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pkey_violations++; rvp 222 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be32(ibp->rvp.port_cap_flags); rvp 412 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.mkey_lease_timeout && rvp 413 drivers/infiniband/hw/qib/qib_mad.c time_after_eq(jiffies, ibp->rvp.mkey_lease_timeout)) { rvp 415 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey_lease_timeout = 0; rvp 416 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkeyprot = 0; rvp 419 drivers/infiniband/hw/qib/qib_mad.c if ((mad_flags & IB_MAD_IGNORE_MKEY) || ibp->rvp.mkey == 0 || rvp 420 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey == smp->mkey) rvp 424 drivers/infiniband/hw/qib/qib_mad.c if (valid_mkey && ibp->rvp.mkey_lease_timeout && rvp 428 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey_lease_timeout = 0; rvp 434 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.mkeyprot < 2) rvp 439 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.mkey_violations != 0xFFFF) rvp 440 drivers/infiniband/hw/qib/qib_mad.c ++ibp->rvp.mkey_violations; rvp 441 drivers/infiniband/hw/qib/qib_mad.c if (!ibp->rvp.mkey_lease_timeout && rvp 442 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey_lease_period) rvp 443 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey_lease_timeout = jiffies + rvp 444 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey_lease_period * HZ; rvp 494 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey != smp->mkey && rvp 495 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkeyprot == 1)) rvp 496 drivers/infiniband/hw/qib/qib_mad.c pip->mkey = ibp->rvp.mkey; rvp 497 drivers/infiniband/hw/qib/qib_mad.c pip->gid_prefix = ibp->rvp.gid_prefix; rvp 499 drivers/infiniband/hw/qib/qib_mad.c pip->sm_lid = cpu_to_be16((u16)ibp->rvp.sm_lid); rvp 500 drivers/infiniband/hw/qib/qib_mad.c pip->cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); rvp 502 drivers/infiniband/hw/qib/qib_mad.c pip->mkey_lease_period = cpu_to_be16(ibp->rvp.mkey_lease_period); rvp 513 drivers/infiniband/hw/qib/qib_mad.c pip->mkeyprot_resv_lmc = (ibp->rvp.mkeyprot << 6) | ppd->lmc; rvp 534 drivers/infiniband/hw/qib/qib_mad.c pip->neighbormtu_mastersmsl = (mtu << 4) | ibp->rvp.sm_sl; rvp 536 drivers/infiniband/hw/qib/qib_mad.c pip->vl_high_limit = ibp->rvp.vl_high_limit; rvp 547 drivers/infiniband/hw/qib/qib_mad.c pip->mkey_violations = cpu_to_be16(ibp->rvp.mkey_violations); rvp 549 drivers/infiniband/hw/qib/qib_mad.c pip->pkey_violations = cpu_to_be16(ibp->rvp.pkey_violations); rvp 550 drivers/infiniband/hw/qib/qib_mad.c pip->qkey_violations = cpu_to_be16(ibp->rvp.qkey_violations); rvp 553 drivers/infiniband/hw/qib/qib_mad.c pip->clientrereg_resv_subnetto = ibp->rvp.subnet_timeout; rvp 560 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.port_cap_flags & IB_PORT_LINK_LATENCY_SUP) { rvp 690 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey = pip->mkey; rvp 691 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.gid_prefix = pip->gid_prefix; rvp 692 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey_lease_period = be16_to_cpu(pip->mkey_lease_period); rvp 713 drivers/infiniband/hw/qib/qib_mad.c else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) { rvp 714 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 715 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.sm_ah) { rvp 716 drivers/infiniband/hw/qib/qib_mad.c if (smlid != ibp->rvp.sm_lid) rvp 717 drivers/infiniband/hw/qib/qib_mad.c rdma_ah_set_dlid(&ibp->rvp.sm_ah->attr, rvp 719 drivers/infiniband/hw/qib/qib_mad.c if (msl != ibp->rvp.sm_sl) rvp 720 drivers/infiniband/hw/qib/qib_mad.c rdma_ah_set_sl(&ibp->rvp.sm_ah->attr, msl); rvp 722 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 723 drivers/infiniband/hw/qib/qib_mad.c if (smlid != ibp->rvp.sm_lid) rvp 724 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.sm_lid = smlid; rvp 725 drivers/infiniband/hw/qib/qib_mad.c if (msl != ibp->rvp.sm_sl) rvp 726 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.sm_sl = msl; rvp 774 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkeyprot = pip->mkeyprot_resv_lmc >> 6; rvp 775 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.vl_high_limit = pip->vl_high_limit; rvp 777 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.vl_high_limit); rvp 795 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey_violations = 0; rvp 798 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pkey_violations = 0; rvp 801 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.qkey_violations = 0; rvp 810 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.subnet_timeout = pip->clientrereg_resv_subnetto & 0x1F; rvp 1066 drivers/infiniband/hw/qib/qib_mad.c if (!(ibp->rvp.port_cap_flags & IB_PORT_SL_MAP_SUP)) rvp 1082 drivers/infiniband/hw/qib/qib_mad.c if (!(ibp->rvp.port_cap_flags & IB_PORT_SL_MAP_SUP)) { rvp 1201 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 1206 drivers/infiniband/hw/qib/qib_mad.c p->sample_start = cpu_to_be32(ibp->rvp.pma_sample_start); rvp 1207 drivers/infiniband/hw/qib/qib_mad.c p->sample_interval = cpu_to_be32(ibp->rvp.pma_sample_interval); rvp 1208 drivers/infiniband/hw/qib/qib_mad.c p->tag = cpu_to_be16(ibp->rvp.pma_tag); rvp 1209 drivers/infiniband/hw/qib/qib_mad.c p->counter_select[0] = ibp->rvp.pma_counter_select[0]; rvp 1210 drivers/infiniband/hw/qib/qib_mad.c p->counter_select[1] = ibp->rvp.pma_counter_select[1]; rvp 1211 drivers/infiniband/hw/qib/qib_mad.c p->counter_select[2] = ibp->rvp.pma_counter_select[2]; rvp 1212 drivers/infiniband/hw/qib/qib_mad.c p->counter_select[3] = ibp->rvp.pma_counter_select[3]; rvp 1213 drivers/infiniband/hw/qib/qib_mad.c p->counter_select[4] = ibp->rvp.pma_counter_select[4]; rvp 1214 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 1239 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 1248 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_sample_start = be32_to_cpu(p->sample_start); rvp 1249 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_sample_interval = be32_to_cpu(p->sample_interval); rvp 1250 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_tag = be16_to_cpu(p->tag); rvp 1251 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_counter_select[0] = p->counter_select[0]; rvp 1252 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_counter_select[1] = p->counter_select[1]; rvp 1253 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_counter_select[2] = p->counter_select[2]; rvp 1254 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_counter_select[3] = p->counter_select[3]; rvp 1255 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_counter_select[4] = p->counter_select[4]; rvp 1256 drivers/infiniband/hw/qib/qib_mad.c dd->f_set_cntr_sample(ppd, ibp->rvp.pma_sample_interval, rvp 1257 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.pma_sample_start); rvp 1259 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 1363 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 1364 drivers/infiniband/hw/qib/qib_mad.c p->tag = cpu_to_be16(ibp->rvp.pma_tag); rvp 1379 drivers/infiniband/hw/qib/qib_mad.c for (i = 0; i < ARRAY_SIZE(ibp->rvp.pma_counter_select); i++) rvp 1382 drivers/infiniband/hw/qib/qib_mad.c ppd, ibp->rvp.pma_counter_select[i])); rvp 1383 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 1403 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ibp->rvp.lock, flags); rvp 1404 drivers/infiniband/hw/qib/qib_mad.c p->tag = cpu_to_be16(ibp->rvp.pma_tag); rvp 1421 drivers/infiniband/hw/qib/qib_mad.c for (i = 0; i < ARRAY_SIZE(ibp->rvp.pma_counter_select); i++) rvp 1424 drivers/infiniband/hw/qib/qib_mad.c ppd, ibp->rvp.pma_counter_select[i])); rvp 1425 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ibp->rvp.lock, flags); rvp 1459 drivers/infiniband/hw/qib/qib_mad.c cntrs.vl15_dropped += ibp->rvp.n_vl15_dropped; rvp 1552 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ppd->ibport_data.rvp.lock, flags); rvp 1554 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ppd->ibport_data.rvp.lock, flags); rvp 1570 drivers/infiniband/hw/qib/qib_mad.c cntrs.vl15_dropped += ibp->rvp.n_vl15_dropped; rvp 1749 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.n_vl15_dropped = 0; rvp 1784 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ppd->ibport_data.rvp.lock, flags); rvp 1788 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ppd->ibport_data.rvp.lock, flags); rvp 1812 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.n_vl15_dropped = 0; rvp 1922 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) { rvp 1927 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM) { rvp 1956 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) { rvp 1961 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.port_cap_flags & IB_PORT_SM) { rvp 2456 drivers/infiniband/hw/qib/qib_mad.c spin_lock_irqsave(&ppd->ibport_data.rvp.lock, flags); rvp 2469 drivers/infiniband/hw/qib/qib_mad.c spin_unlock_irqrestore(&ppd->ibport_data.rvp.lock, flags); rvp 224 drivers/infiniband/hw/qib/qib_qp.c if (rcu_dereference(ibp->rvp.qp[0])) rvp 226 drivers/infiniband/hw/qib/qib_qp.c if (rcu_dereference(ibp->rvp.qp[1])) rvp 712 drivers/infiniband/hw/qib/qib_rc.c this_cpu_inc(*ibp->rvp.rc_qacks); rvp 840 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rc_resends++; rvp 842 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rc_resends += (qp->s_psn - psn) & QIB_PSN_MASK; rvp 966 drivers/infiniband/hw/qib/qib_rc.c this_cpu_inc(*ibp->rvp.rc_delayed_comp); rvp 1105 drivers/infiniband/hw/qib/qib_rc.c this_cpu_inc(*ibp->rvp.rc_acks); rvp 1137 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rnr_naks++; rvp 1152 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rc_resends += (qp->s_psn - psn) & QIB_PSN_MASK; rvp 1169 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_seq_naks++; rvp 1182 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_other_naks++; rvp 1187 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_other_naks++; rvp 1192 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_other_naks++; rvp 1241 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rdma_seq++; rvp 1511 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rc_seqnak++; rvp 1547 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rc_dupreq++; rvp 102 drivers/infiniband/hw/qib/qib_ruc.c ibp->rvp.gid_prefix, guid)) rvp 141 drivers/infiniband/hw/qib/qib_ruc.c ibp->rvp.gid_prefix, guid)) rvp 195 drivers/infiniband/hw/qib/qib_ruc.c hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; rvp 660 drivers/infiniband/hw/qib/qib_sdma.c ibp->rvp.n_dmawait++; rvp 415 drivers/infiniband/hw/qib/qib_sysfs.c .counter = offsetof(struct qib_ibport, rvp.n_##N) \ rvp 421 drivers/infiniband/hw/qib/qib_sysfs.c .counter = offsetof(struct qib_ibport, rvp.z_##N) \ rvp 484 drivers/infiniband/hw/qib/qib_sysfs.c qibp->rvp.z_##cntr = get_all_cpu_total(qibp->rvp.cntr); \ rvp 493 drivers/infiniband/hw/qib/qib_sysfs.c #define READ_PER_CPU_CNTR(cntr) (get_all_cpu_total(qibp->rvp.cntr) - \ rvp 494 drivers/infiniband/hw/qib/qib_sysfs.c qibp->rvp.z_##cntr) rvp 513 drivers/infiniband/hw/qib/qib_uc.c ibp->rvp.n_pkt_drops++; rvp 67 drivers/infiniband/hw/qib/qib_ud.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, rvt_get_swqe_remote_qpn(swqe)); rvp 69 drivers/infiniband/hw/qib/qib_ud.c ibp->rvp.n_pkt_drops++; rvp 80 drivers/infiniband/hw/qib/qib_ud.c ibp->rvp.n_pkt_drops++; rvp 150 drivers/infiniband/hw/qib/qib_ud.c ibp->rvp.n_vl15_dropped++; rvp 157 drivers/infiniband/hw/qib/qib_ud.c ibp->rvp.n_pkt_drops++; rvp 215 drivers/infiniband/hw/qib/qib_ud.c ibp->rvp.n_loop_pkts++; rvp 539 drivers/infiniband/hw/qib/qib_ud.c ibp->rvp.n_vl15_dropped++; rvp 581 drivers/infiniband/hw/qib/qib_ud.c ibp->rvp.n_pkt_drops++; rvp 232 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.n_pkt_drops++; rvp 328 drivers/infiniband/hw/qib/qib_verbs.c mcast = rvt_mcast_find(&ibp->rvp, &hdr->u.l.grh.dgid, lid); rvp 344 drivers/infiniband/hw/qib/qib_verbs.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); rvp 356 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.n_pkt_drops++; rvp 863 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.n_unaligned++; rvp 1288 drivers/infiniband/hw/qib/qib_verbs.c static int qib_get_guid_be(struct rvt_dev_info *rdi, struct rvt_ibport *rvp, rvp 1291 drivers/infiniband/hw/qib/qib_verbs.c struct qib_ibport *ibp = container_of(rvp, struct qib_ibport, rvp); rvp 1353 drivers/infiniband/hw/qib/qib_verbs.c qp0 = rcu_dereference(ibp->rvp.qp[0]); rvp 1394 drivers/infiniband/hw/qib/qib_verbs.c spin_lock_init(&ibp->rvp.lock); rvp 1396 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.gid_prefix = IB_DEFAULT_GID_PREFIX; rvp 1397 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.sm_lid = be16_to_cpu(IB_LID_PERMISSIVE); rvp 1398 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.port_cap_flags = IB_PORT_SYS_IMAGE_GUID_SUP | rvp 1404 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.port_cap_flags |= IB_PORT_LINK_LATENCY_SUP; rvp 1405 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.pma_counter_select[0] = IB_PMA_PORT_XMIT_DATA; rvp 1406 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.pma_counter_select[1] = IB_PMA_PORT_RCV_DATA; rvp 1407 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.pma_counter_select[2] = IB_PMA_PORT_XMIT_PKTS; rvp 1408 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.pma_counter_select[3] = IB_PMA_PORT_RCV_PKTS; rvp 1409 drivers/infiniband/hw/qib/qib_verbs.c ibp->rvp.pma_counter_select[4] = IB_PMA_PORT_XMIT_WAIT; rvp 1429 drivers/infiniband/hw/qib/qib_verbs.c RCU_INIT_POINTER(ibp->rvp.qp[0], NULL); rvp 1430 drivers/infiniband/hw/qib/qib_verbs.c RCU_INIT_POINTER(ibp->rvp.qp[1], NULL); rvp 1614 drivers/infiniband/hw/qib/qib_verbs.c &ppd->ibport_data.rvp, rvp 145 drivers/infiniband/hw/qib/qib_verbs.h struct rvt_ibport rvp; rvp 105 drivers/infiniband/sw/rdmavt/mad.c struct rvt_ibport *rvp; rvp 110 drivers/infiniband/sw/rdmavt/mad.c rvp = rdi->ports[p]; rvp 120 drivers/infiniband/sw/rdmavt/mad.c rvp->send_agent = agent; rvp 130 drivers/infiniband/sw/rdmavt/mad.c rvp = rdi->ports[p]; rvp 131 drivers/infiniband/sw/rdmavt/mad.c if (rvp->send_agent) { rvp 132 drivers/infiniband/sw/rdmavt/mad.c agent = rvp->send_agent; rvp 133 drivers/infiniband/sw/rdmavt/mad.c rvp->send_agent = NULL; rvp 152 drivers/infiniband/sw/rdmavt/mad.c struct rvt_ibport *rvp; rvp 156 drivers/infiniband/sw/rdmavt/mad.c rvp = rdi->ports[p]; rvp 157 drivers/infiniband/sw/rdmavt/mad.c if (rvp->send_agent) { rvp 158 drivers/infiniband/sw/rdmavt/mad.c agent = rvp->send_agent; rvp 159 drivers/infiniband/sw/rdmavt/mad.c rvp->send_agent = NULL; rvp 162 drivers/infiniband/sw/rdmavt/mad.c if (rvp->sm_ah) { rvp 163 drivers/infiniband/sw/rdmavt/mad.c rdma_destroy_ah(&rvp->sm_ah->ibah, rvp 165 drivers/infiniband/sw/rdmavt/mad.c rvp->sm_ah = NULL; rvp 770 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; rvp 777 drivers/infiniband/sw/rdmavt/qp.c if (rcu_dereference_protected(rvp->qp[0], rvp 779 drivers/infiniband/sw/rdmavt/qp.c RCU_INIT_POINTER(rvp->qp[0], NULL); rvp 780 drivers/infiniband/sw/rdmavt/qp.c } else if (rcu_dereference_protected(rvp->qp[1], rvp 782 drivers/infiniband/sw/rdmavt/qp.c RCU_INIT_POINTER(rvp->qp[1], NULL); rvp 1418 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; rvp 1425 drivers/infiniband/sw/rdmavt/qp.c rcu_assign_pointer(rvp->qp[qp->ibqp.qp_num], qp); rvp 2659 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; rvp 2662 drivers/infiniband/sw/rdmavt/qp.c rvp->n_rc_timeouts++; rvp 2771 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp; rvp 2775 drivers/infiniband/sw/rdmavt/qp.c rvp = rdi->ports[pidx]; rvp 2776 drivers/infiniband/sw/rdmavt/qp.c qp = rcu_dereference(rvp->qp[n & 1]); rvp 2942 drivers/infiniband/sw/rdmavt/qp.c static enum ib_wc_status loopback_qp_drop(struct rvt_ibport *rvp, rvp 2945 drivers/infiniband/sw/rdmavt/qp.c rvp->n_pkt_drops++; rvp 2966 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp = NULL; rvp 2982 drivers/infiniband/sw/rdmavt/qp.c rvp = rdi->ports[sqp->port_num - 1]; rvp 2989 drivers/infiniband/sw/rdmavt/qp.c qp = rvt_lookup_qpn(ib_to_rvt(sqp->ibqp.device), rvp, rvp 3027 drivers/infiniband/sw/rdmavt/qp.c send_status = loopback_qp_drop(rvp, sqp); rvp 3033 drivers/infiniband/sw/rdmavt/qp.c send_status = loopback_qp_drop(rvp, sqp); rvp 3192 drivers/infiniband/sw/rdmavt/qp.c rvp->n_loop_pkts++; rvp 3206 drivers/infiniband/sw/rdmavt/qp.c rvp->n_rnr_naks++; rvp 160 drivers/infiniband/sw/rdmavt/vt.c struct rvt_ibport *rvp; rvp 166 drivers/infiniband/sw/rdmavt/vt.c rvp = rdi->ports[port_index]; rvp 168 drivers/infiniband/sw/rdmavt/vt.c props->sm_lid = rvp->sm_lid; rvp 169 drivers/infiniband/sw/rdmavt/vt.c props->sm_sl = rvp->sm_sl; rvp 170 drivers/infiniband/sw/rdmavt/vt.c props->port_cap_flags = rvp->port_cap_flags; rvp 173 drivers/infiniband/sw/rdmavt/vt.c props->bad_pkey_cntr = rvp->pkey_violations; rvp 174 drivers/infiniband/sw/rdmavt/vt.c props->qkey_viol_cntr = rvp->qkey_violations; rvp 175 drivers/infiniband/sw/rdmavt/vt.c props->subnet_timeout = rvp->subnet_timeout; rvp 195 drivers/infiniband/sw/rdmavt/vt.c struct rvt_ibport *rvp; rvp 202 drivers/infiniband/sw/rdmavt/vt.c rvp = rdi->ports[port_index]; rvp 204 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap3_flags |= props->set_port_cap_mask; rvp 205 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap3_flags &= ~props->clr_port_cap_mask; rvp 207 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap_flags |= props->set_port_cap_mask; rvp 208 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap_flags &= ~props->clr_port_cap_mask; rvp 216 drivers/infiniband/sw/rdmavt/vt.c rvp->qkey_violations = 0; rvp 266 drivers/infiniband/sw/rdmavt/vt.c struct rvt_ibport *rvp; rvp 279 drivers/infiniband/sw/rdmavt/vt.c rvp = rdi->ports[port_index]; rvp 281 drivers/infiniband/sw/rdmavt/vt.c gid->global.subnet_prefix = rvp->gid_prefix; rvp 283 drivers/infiniband/sw/rdmavt/vt.c return rdi->driver_f.get_guid_be(rdi, rvp, guid_index, rvp 348 include/rdma/rdma_vt.h int (*get_guid_be)(struct rvt_dev_info *rdi, struct rvt_ibport *rvp, rvp 715 include/rdma/rdmavt_qp.h struct rvt_ibport *rvp, rvp 721 include/rdma/rdmavt_qp.h qp = rcu_dereference(rvp->qp[qpn]); rvp 1002 include/rdma/rdmavt_qp.h struct rvt_ibport *rvp = rvt_to_iport(qp); rvp 1005 include/rdma/rdmavt_qp.h rvp->n_rc_crwaits++;