Lines Matching +full:smi +full:- +full:based
4 /*-
5 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
29 * - Redistributions of source code must retain the above copyright
31 * - Redistributions in binary form must reproduce the above copyright
35 * - Neither the name of Intel Corporation nor the names of its
68 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */
72 /* non-zero when timer is set */
112 /* Hot-path per CPU counters to avoid cacheline trading to update */
168 int user; /* non-zero if created from user space */
243 * Get a path mtu from the driver based on qp attributes.
324 /* Driver specific QP modification/notification-of */
382 u32 busy_jiffies; /* timeout scaling based on RC QP count */
432 return rdi->dparms.npkeys; in rvt_get_npkeys()
441 return rdi->dparms.max_rdma_atomic + 1; in rvt_max_atomic()
454 return rdi->ports[port_index]->pkey_table[index]; in rvt_get_pkey()
458 * rvt_lookup_qpn - return the QP with the given QPN
473 qp = rcu_dereference(rvp->qp[qpn]); in rvt_lookup_qpn()
475 u32 n = hash_32(qpn, rdi->qp_dev->qp_table_bits); in rvt_lookup_qpn()
477 for (qp = rcu_dereference(rdi->qp_dev->qp_table[n]); qp; in rvt_lookup_qpn()
478 qp = rcu_dereference(qp->next)) in rvt_lookup_qpn()
479 if (qp->ibqp.qp_num == qpn) in rvt_lookup_qpn()