/drivers/infiniband/core/ |
D | smi.c | 47 u8 node_type, int port_num) in smi_handle_dr_smp_send() argument 65 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send() 78 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send() 97 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send() 109 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send() 127 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, in smi_handle_dr_smp_recv() argument 143 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv() 158 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_recv() 178 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv() 194 return (node_type == RDMA_NODE_IB_SWITCH ? in smi_handle_dr_smp_recv()
|
D | smi.h | 54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, 59 u8 node_type, int port_num);
|
D | sysfs.c | 568 switch (dev->node_type) { in show_node_type() 569 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type() 570 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type() 571 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type() 572 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type() 573 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type() 640 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL); 802 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_device_register_sysfs() 814 if (device->node_type == RDMA_NODE_RNIC && device->get_protocol_stats) { in ib_device_register_sysfs()
|
D | agent.c | 91 if (device->node_type == RDMA_NODE_IB_SWITCH) in agent_send_response() 119 if (device->node_type == RDMA_NODE_IB_SWITCH) { in agent_send_response()
|
D | cache.c | 63 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; in start_port() 68 return (device->node_type == RDMA_NODE_IB_SWITCH) ? in end_port()
|
D | cma.c | 597 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_init_qp_attr() 747 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in cma_cancel_route() 843 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_destroy_id() 1500 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_listen() 1727 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_resolve_route() 2401 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_connect() 2510 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_accept() 2549 switch (id->device->node_type) { in rdma_notify() 2571 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_reject() 2602 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_disconnect() [all …]
|
D | mad.c | 678 if (device->node_type == RDMA_NODE_IB_SWITCH && in handle_outgoing_dr_smp() 692 smi_handle_dr_smp_send(smp, device->node_type, port_num) == in handle_outgoing_dr_smp() 1883 if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) in ib_mad_recv_done_handler() 1893 port_priv->device->node_type, in ib_mad_recv_done_handler() 1905 port_priv->device->node_type, in ib_mad_recv_done_handler() 1911 } else if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_recv_done_handler() 2909 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_init_device() 2912 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_init_device() 2959 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_remove_device()
|
D | device.c | 153 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; in start_port() 159 return (device->node_type == RDMA_NODE_IB_SWITCH) ? in end_port()
|
D | verbs.c | 81 rdma_node_get_transport(enum rdma_node_type node_type) in rdma_node_get_transport() argument 83 switch (node_type) { in rdma_node_get_transport()
|
D | multicast.c | 791 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in mcast_add_one() 799 if (device->node_type == RDMA_NODE_IB_SWITCH) in mcast_add_one()
|
D | sa_query.c | 992 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_sa_add_one() 995 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_sa_add_one()
|
D | user_mad.c | 1116 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_umad_add_one() 1119 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_umad_add_one()
|
D | ucma.c | 617 switch (rdma_node_get_transport(ctx->cm_id->device->node_type)) { in ucma_query_route()
|
D | ucm.c | 1244 rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_ucm_add_one()
|
/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 79 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument 85 *node_type = NODE_TYPE_SLOT; in find_dlpar_node() 91 *node_type = NODE_TYPE_PHB; in find_dlpar_node() 97 *node_type = NODE_TYPE_VIO; in find_dlpar_node() 287 int node_type; in dlpar_add_slot() local 294 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot() 300 switch (node_type) { in dlpar_add_slot() 410 int node_type; in dlpar_remove_slot() local 416 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot() 422 switch (node_type) { in dlpar_remove_slot()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 1334 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_add_one() 1343 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ipoib_add_one() 1367 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_remove_one()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 71 u8 node_type; member 96 nip->node_type = 1; /* channel adapter */ in recv_subn_get_nodeinfo()
|
D | ipath_verbs.c | 2134 dev->node_type = RDMA_NODE_IB_CA; in ipath_register_ib_device()
|
/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 811 dev->ibdev.node_type = RDMA_NODE_RNIC; in c2_register_device()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 582 ibdev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx4_ib_add()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_main.c | 461 shca->ib_device.node_type = RDMA_NODE_IB_CA; in ehca_init_device()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 1327 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mthca_register_device()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 1322 dev->ibdev.node_type = RDMA_NODE_RNIC; in iwch_register_device()
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 2033 if (device->node_type == RDMA_NODE_IB_SWITCH) { in srp_add_one()
|
/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 3614 nesibdev->ibdev.node_type = RDMA_NODE_RNIC; in nes_init_ofa_device()
|