Searched refs:device_att (Results 1 – 1 of 1) sorted by relevance
94 ibv_device_attr device_att; in get_dev_active_port_count() local101 rc = ibv_query_device(context, &device_att); in get_dev_active_port_count()104 for (port_index = 1; port_index <= device_att.phys_port_cnt; port_index++) { in get_dev_active_port_count()175 ibv_device_attr device_att; in set_port() local179 rc = ibv_query_device(context, &device_att); in set_port()187 CHECK(port_num <= device_att.phys_port_cnt) << "RDMA_DEVICE_PORT should be " in set_port()196 for (port_index = 1; port_index <= device_att.phys_port_cnt; port_index++) { in set_port()