Lines Matching defs:nip
604 struct ib_node_info *nip = (struct ib_node_info *)&smp->data;
616 nip->port_guid = get_sguid(to_iport(ibdev, port), HFI1_PORT_GUID_INDEX);
617 nip->base_version = OPA_MGMT_BASE_VERSION;
618 nip->class_version = OPA_SM_CLASS_VERSION;
619 nip->node_type = 1; /* channel adapter */
620 nip->num_ports = ibdev->phys_port_cnt;
622 nip->sys_guid = ib_hfi1_sys_image_guid;
623 nip->node_guid = ibdev->node_guid;
624 nip->partition_cap = cpu_to_be16(hfi1_get_npkeys(dd));
625 nip->device_id = cpu_to_be16(dd->pcidev->device);
626 nip->revision = cpu_to_be32(dd->minrev);
627 nip->local_port_num = port;
628 nip->vendor_id[0] = dd->oui1;
629 nip->vendor_id[1] = dd->oui2;
630 nip->vendor_id[2] = dd->oui3;