Home
last modified time | relevance | path

Searched refs:rdma_cap_ib_switch (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/infiniband/core/
Dagent.c91 if (rdma_cap_ib_switch(device)) in agent_send_response()
125 if (rdma_cap_ib_switch(device)) { in agent_send_response()
Dmad.c829 if (rdma_cap_ib_switch(device) && in handle_outgoing_dr_smp()
850 rdma_cap_ib_switch(device), in handle_outgoing_dr_smp()
875 smi_handle_dr_smp_send(smp, rdma_cap_ib_switch(device), port_num) == in handle_outgoing_dr_smp()
2108 rdma_cap_ib_switch(port_priv->device), in handle_ib_smi()
2120 rdma_cap_ib_switch(port_priv->device), in handle_ib_smi()
2126 } else if (rdma_cap_ib_switch(port_priv->device)) { in handle_ib_smi()
2195 rdma_cap_ib_switch(port_priv->device), in handle_opa_smi()
2207 rdma_cap_ib_switch(port_priv->device), in handle_opa_smi()
2215 } else if (rdma_cap_ib_switch(port_priv->device)) { in handle_opa_smi()
2326 if (rdma_cap_ib_switch(port_priv->device)) in ib_mad_recv_done()
/Linux-v5.4/include/rdma/
Dib_verbs.h2917 static inline bool rdma_cap_ib_switch(const struct ib_device *device) in rdma_cap_ib_switch() function
2932 return rdma_cap_ib_switch(device) ? 0 : 1; in rdma_start_port()
2955 return rdma_cap_ib_switch(device) ? 0 : device->phys_port_cnt; in rdma_end_port()