Searched refs:rdma_cap_ib_switch (Results 1 – 4 of 4) sorted by relevance
91 if (rdma_cap_ib_switch(device)) in agent_send_response()125 if (rdma_cap_ib_switch(device)) { in agent_send_response()
762 if (rdma_cap_ib_switch(device) && in handle_outgoing_dr_smp()781 rdma_cap_ib_switch(device), in handle_outgoing_dr_smp()804 smi_handle_dr_smp_send(smp, rdma_cap_ib_switch(device), port_num) == in handle_outgoing_dr_smp()2029 rdma_cap_ib_switch(port_priv->device), in handle_ib_smi()2041 rdma_cap_ib_switch(port_priv->device), in handle_ib_smi()2047 } else if (rdma_cap_ib_switch(port_priv->device)) { in handle_ib_smi()2114 rdma_cap_ib_switch(port_priv->device), in handle_opa_smi()2126 rdma_cap_ib_switch(port_priv->device), in handle_opa_smi()2134 } else if (rdma_cap_ib_switch(port_priv->device)) { in handle_opa_smi()2234 if (rdma_cap_ib_switch(port_priv->device)) in ib_mad_recv_done_handler()
842 if (rdma_cap_ib_switch(device)) { in ib_device_register_sysfs()
1933 static inline bool rdma_cap_ib_switch(const struct ib_device *device) in rdma_cap_ib_switch() function1948 return rdma_cap_ib_switch(device) ? 0 : 1; in rdma_start_port()1961 return rdma_cap_ib_switch(device) ? 0 : device->phys_port_cnt; in rdma_end_port()