Lines Matching defs:nip
281 struct ib_node_info *nip = (struct ib_node_info *)&smp->data;
291 nip->port_guid = dd->pport[pidx].guid;
293 nip->base_version = 1;
294 nip->class_version = 1;
295 nip->node_type = 1; /* channel adapter */
296 nip->num_ports = ibdev->phys_port_cnt;
298 nip->sys_guid = ib_qib_sys_image_guid;
299 nip->node_guid = dd->pport->guid; /* Use first-port GUID as node */
300 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd));
301 nip->device_id = cpu_to_be16(dd->deviceid);
304 nip->revision = cpu_to_be32((majrev << 16) | minrev);
305 nip->local_port_num = port;
306 nip->vendor_id[0] = QIB_SRC_OUI_1;
307 nip->vendor_id[1] = QIB_SRC_OUI_2;
308 nip->vendor_id[2] = QIB_SRC_OUI_3;