Lines Matching +full:smi +full:- +full:based
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright(c) 2016 - 2019 Intel Corporation.
36 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */
40 /* non-zero when timer is set */
82 /* Hot-path per CPU counters to avoid cacheline trading to update */
104 * resent based on trap_timer.
266 * Get a path mtu from the driver based on qp attributes.
347 /* Driver specific QP modification/notification-of */
410 u32 busy_jiffies; /* timeout scaling based on RC QP count */
432 * rvt_set_ibdev_name - Craft an IB device name from client info
447 dev_set_name(&rdi->ibdev.dev, fmt, name, unit); in rvt_set_ibdev_name()
448 strscpy(rdi->ibdev.name, dev_name(&rdi->ibdev.dev), IB_DEVICE_NAME_MAX); in rvt_set_ibdev_name()
452 * rvt_get_ibdev_name - return the IB name
459 return dev_name(&rdi->ibdev.dev); in rvt_get_ibdev_name()
482 return rdi->dparms.npkeys; in rvt_get_npkeys()
491 return rdi->dparms.max_rdma_atomic + in rvt_max_atomic()
492 rdi->dparms.extra_rdma_atomic + 1; in rvt_max_atomic()
497 return rdi->dparms.max_rdma_atomic + in rvt_size_atomic()
498 rdi->dparms.extra_rdma_atomic; in rvt_size_atomic()
511 return rdi->ports[port_index]->pkey_table[index]; in rvt_get_pkey()