/freebsd/contrib/ofed/libibnetdisc/ |
H A D | chassis.c | 609 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 D | ibnetdisc.c | 150 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 D | osm_sa_node_record.c | 104 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 D | osm_node_desc_rcv.c | 69 memcpy(&p_node->node_desc.description, p_nd, sizeof(*p_nd)); in nd_rcv_process_nd()
|
H A D | osm_helper.c | 1358 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 D | smpquery.c | 57 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 D | saquery.c | 133 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 D | osm_node.h | 101 ib_node_desc_t node_desc; member
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mad.c | 374 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 D | mlx5_ib_main.c | 624 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 D | mlx5_ib.h | 974 int mlx5_query_mad_ifc_node_desc(struct mlx5_ib_dev *dev, char *node_desc);
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | provider.c | 449 strlcpy(ibdev->node_desc, C4IW_NODE_DESC, sizeof(ibdev->node_desc)); in c4iw_register_device()
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_mad.c | 156 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, in node_desc_override()
|
H A D | mthca_provider.c | 196 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 D | ib_sysfs.c | 1243 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 D | mlx4_ib_main.c | 962 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 D | mlx4_ib_mad.c | 373 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, in node_desc_override()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 626 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 D | qlnxr_os.c | 169 memcpy(ibdev->node_desc, QLNXR_NODE_DESC, sizeof(QLNXR_NODE_DESC)); in qlnxr_register_device()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | main.c | 2029 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 D | ib_types.h | 4593 ib_node_desc_t node_desc; member
|