Home
last modified time | relevance | path

Searched refs:node_desc (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/ofed/libibnetdisc/
H A Dchassis.c609 char node_desc[IB_SMP_DATA_SIZE]; in fill_mellanox_chassis_record() local
628 memcpy(node_desc, node->nodedesc, IB_SMP_DATA_SIZE); in fill_mellanox_chassis_record()
630 IBND_DEBUG("fill_mellanox_chassis_record: node_desc:%s \n",node_desc); in fill_mellanox_chassis_record()
640 if((node_desc[0] != 'M') || in fill_mellanox_chassis_record()
641 (node_desc[1] != 'F') || in fill_mellanox_chassis_record()
642 (node_desc[2] != '0') || in fill_mellanox_chassis_record()
643 (node_desc[3] != ';')) { in fill_mellanox_chassis_record()
644 IBND_DEBUG("fill_mellanox_chassis_record: Unsupported node description format:%s \n",node_desc); in fill_mellanox_chassis_record()
649 system_name = &node_desc[4]; in fill_mellanox_chassis_record()
652 …x_chassis_record: Unsupported node description format:%s - (get system_name failed) \n",node_desc); in fill_mellanox_chassis_record()
[all …]
H A Dibnetdisc.c150 uint8_t *node_desc = mad + IB_SMP_DATA_OFFS; in recv_node_desc() local
152 memcpy(node->nodedesc, node_desc, sizeof(node->nodedesc)); in recv_node_desc()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_sa_node_record.c104 memcpy(&(p_rec_item->resp.node_rec.node_desc), &(p_node->node_desc), in nr_rcv_new_nr()
273 strncmp((char *)&p_node->node_desc, (char *)&p_rcvd_rec->node_desc, in nr_rcv_by_comp_mask()
H A Dosm_node_desc_rcv.c69 memcpy(&p_node->node_desc.description, p_nd, sizeof(*p_nd)); in nd_rcv_process_nd()
H A Dosm_helper.c1358 char desc[sizeof(p_nr->node_desc.description) + 1]; in osm_dump_node_record_to_buf()
1361 memcpy(desc, p_nr->node_desc.description, in osm_dump_node_record_to_buf()
1362 sizeof(p_nr->node_desc.description)); in osm_dump_node_record_to_buf()
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dsmpquery.c57 static op_fn_t node_desc, node_info, port_info, switch_info, pkey_table, variable
62 {"NodeDesc", "ND", node_desc, 0, ""},
79 static char *node_desc(ib_portid_t * dest, char **argv, int argc) in node_desc() function
H A Dsaquery.c133 ib_node_desc_t *p_nd = &(node_record->node_desc); in print_node_desc()
151 (char *)nr->node_desc.description); in dump_node_record()
185 ib_node_desc_t *p_nd = &node_record->node_desc; in print_node_record()
383 (char *)nr->node_desc.description); in dump_multicast_member_record()
883 && strncmp(name, (char *)node_record->node_desc.description, in get_lid_from_name()
884 sizeof(node_record->node_desc.description)) == in get_lid_from_name()
1016 ib_node_desc_t *p_nd = &(node_record->node_desc); in print_node_records()
1025 (char *)node_record->node_desc.description, in print_node_records()
1027 node_desc.description)) == 0) || in print_node_records()
1031 node_desc.description)) == 0)) { in print_node_records()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_node.h101 ib_node_desc_t node_desc; member
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c374 int mlx5_query_mad_ifc_node_desc(struct mlx5_ib_dev *dev, char *node_desc) in mlx5_query_mad_ifc_node_desc() argument
392 memcpy(node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); in mlx5_query_mad_ifc_node_desc()
H A Dmlx5_ib_main.c624 static int mlx5_query_node_desc(struct mlx5_ib_dev *dev, char *node_desc) in mlx5_query_node_desc() argument
629 return mlx5_query_mad_ifc_node_desc(dev, node_desc); in mlx5_query_node_desc()
633 return mlx5_core_access_reg(dev->mdev, &in, sizeof(in), node_desc, in mlx5_query_node_desc()
1071 memcpy(&in, props->node_desc, IB_DEVICE_NODE_DESC_MAX); in mlx5_ib_modify_device()
1077 memcpy(ibdev->node_desc, props->node_desc, IB_DEVICE_NODE_DESC_MAX); in mlx5_ib_modify_device()
2523 err = mlx5_query_node_desc(dev, dev->ib_dev.node_desc); in init_node_data()
H A Dmlx5_ib.h974 int mlx5_query_mad_ifc_node_desc(struct mlx5_ib_dev *dev, char *node_desc);
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c449 strlcpy(ibdev->node_desc, C4IW_NODE_DESC, sizeof(ibdev->node_desc)); in c4iw_register_device()
/freebsd/sys/dev/mthca/
H A Dmthca_mad.c156 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, in node_desc_override()
H A Dmthca_provider.c196 memcpy(ibdev->node_desc, props->node_desc, in mthca_modify_device()
1088 memcpy(dev->ib_dev.node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); in mthca_init_node_data()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c1243 return sprintf(buf, "%.64s\n", dev->node_desc); in show_node_desc()
1257 memcpy(desc.node_desc, buf, min_t(int, count, IB_DEVICE_NODE_DESC_MAX)); in set_node_desc()
1278 static DEVICE_ATTR(node_desc, S_IRUGO | S_IWUSR, show_node_desc, set_node_desc);
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c962 memcpy(ibdev->node_desc, props->node_desc, IB_DEVICE_NODE_DESC_MAX); in mlx4_ib_modify_device()
973 memcpy(mailbox->buf, props->node_desc, IB_DEVICE_NODE_DESC_MAX); in mlx4_ib_modify_device()
1949 memcpy(dev->ib_dev.node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); in init_node_data()
H A Dmlx4_ib_mad.c373 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, in node_desc_override()
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h626 char node_desc[IB_DEVICE_NODE_DESC_MAX]; member
2417 char node_desc[IB_DEVICE_NODE_DESC_MAX]; member
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c169 memcpy(ibdev->node_desc, QLNXR_NODE_DESC, sizeof(QLNXR_NODE_DESC)); in qlnxr_register_device()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c2029 return scnprintf(buf, PAGE_SIZE, "%s\n", rdev->ibdev.node_desc); in show_hca()
2061 strlcpy(ibdev->node_desc, BNXT_RE_DESC " HCA", in bnxt_re_register_ib()
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h4593 ib_node_desc_t node_desc; member