Home
last modified time | relevance | path

Searched refs:node_type (Results 1 – 25 of 35) sorted by relevance

12

/drivers/infiniband/core/
Dsmi.c47 u8 node_type, int port_num) in smi_handle_dr_smp_send() argument
69 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send()
82 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send()
101 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send()
113 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send()
131 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, in smi_handle_dr_smp_recv() argument
151 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv()
166 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_recv()
186 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv()
202 return (node_type == RDMA_NODE_IB_SWITCH ? in smi_handle_dr_smp_recv()
Dsmi.h54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type,
59 u8 node_type, int port_num);
Dsysfs.c608 switch (dev->node_type) { in show_node_type()
609 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type()
610 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type()
611 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type()
612 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type()
613 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type()
674 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
838 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_device_register_sysfs()
850 if (device->node_type == RDMA_NODE_RNIC && device->get_protocol_stats) { in ib_device_register_sysfs()
Dagent.c91 if (device->node_type == RDMA_NODE_IB_SWITCH) in agent_send_response()
120 if (device->node_type == RDMA_NODE_IB_SWITCH) { in agent_send_response()
Dcma.c286 rdma_node_get_transport(cma_dev->device->node_type); in cma_attach_to_dev()
382 if (rdma_node_get_transport(cma_dev->device->node_type) == RDMA_TRANSPORT_IB && in cma_acquire_dev()
653 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_init_qp_attr()
928 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_destroy_id()
1885 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_resolve_route()
2342 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_listen()
2714 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_connect()
2830 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_accept()
2875 switch (id->device->node_type) { in rdma_notify()
2897 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_reject()
[all …]
Dcache.c63 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()
Dmad.c692 if (device->node_type == RDMA_NODE_IB_SWITCH && in handle_outgoing_dr_smp()
706 smi_handle_dr_smp_send(smp, device->node_type, port_num) == in handle_outgoing_dr_smp()
1910 if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) in ib_mad_recv_done_handler()
1920 port_priv->device->node_type, in ib_mad_recv_done_handler()
1932 port_priv->device->node_type, in ib_mad_recv_done_handler()
1938 } else if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_recv_done_handler()
2954 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_init_device()
2957 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_init_device()
3004 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_remove_device()
3007 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_remove_device()
Ddevice.c156 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; in start_port()
162 return (device->node_type == RDMA_NODE_IB_SWITCH) ? in end_port()
Dverbs.c108 rdma_node_get_transport(enum rdma_node_type node_type) in rdma_node_get_transport() argument
110 switch (node_type) { in rdma_node_get_transport()
129 switch (rdma_node_get_transport(device->node_type)) { in rdma_port_get_link_layer()
Dmulticast.c806 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in mcast_add_one()
814 if (device->node_type == RDMA_NODE_IB_SWITCH) in mcast_add_one()
Dsa_query.c1141 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_sa_add_one()
1144 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_sa_add_one()
Duser_mad.c1125 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_umad_add_one()
1128 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_umad_add_one()
Ducm.c1257 rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_ucm_add_one()
/drivers/staging/tidspbridge/rmgr/
Dnode.c195 enum node_type ntype; /* Type of node: message, task, etc */
296 enum node_type node_type = NODE_TASK; in node_allocate() local
475 node_type = node_get_type(pnode); in node_allocate()
478 if (node_type != NODE_MESSAGE) { in node_allocate()
487 if (!status && (node_type == NODE_TASK || in node_allocate()
488 node_type == NODE_DAISSOCKET)) { in node_allocate()
510 if (!status && (node_type != NODE_DEVICE)) { in node_allocate()
549 if (!status && node_type != NODE_DEVICE) { in node_allocate()
769 enum node_type node_type; in node_change_priority() local
778 node_type = node_get_type(hnode); in node_change_priority()
[all …]
Ddisp.c211 enum node_type node_type; in disp_node_create() local
240 node_type = node_get_type(hnode); in disp_node_create()
327 if (node_type == NODE_TASK || node_type == NODE_DAISSOCKET) { in disp_node_create()
/drivers/pci/hotplug/
Drpadlpar_core.c81 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument
87 *node_type = NODE_TYPE_SLOT; in find_dlpar_node()
93 *node_type = NODE_TYPE_PHB; in find_dlpar_node()
99 *node_type = NODE_TYPE_VIO; in find_dlpar_node()
289 int node_type; in dlpar_add_slot() local
296 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot()
302 switch (node_type) { in dlpar_add_slot()
412 int node_type; in dlpar_remove_slot() local
418 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot()
424 switch (node_type) { in dlpar_remove_slot()
/drivers/staging/tidspbridge/include/dspbridge/
Ddbdefs.h136 enum node_type { enum
287 enum node_type ntype;
Dnodepriv.h149 extern enum node_type node_get_type(struct node_object *hnode);
/drivers/infiniband/hw/qib/
Dqib_mad.h47 u8 node_type; member
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1662 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_add_one()
1671 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ipoib_add_one()
1697 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_remove_one()
/drivers/infiniband/hw/ocrdma/
Docrdma_main.c295 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()
/drivers/infiniband/hw/ipath/
Dipath_mad.c72 u8 node_type; member
97 nip->node_type = 1; /* channel adapter */ in recv_subn_get_nodeinfo()
/drivers/infiniband/hw/cxgb4/
Dprovider.c458 dev->ibdev.node_type = RDMA_NODE_RNIC; in c4iw_register_device()
/drivers/infiniband/hw/amso1100/
Dc2_provider.c801 dev->ibdev.node_type = RDMA_NODE_RNIC; in c2_register_device()
/drivers/infiniband/hw/ehca/
Dehca_main.c463 shca->ib_device.node_type = RDMA_NODE_IB_CA; in ehca_init_device()

12