Last active
August 23, 2018 09:24
-
-
Save joerns/cb7d216b0c3a71b5ea327d0292459211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ibv_devinfo | |
hca_id: mlx5_1 | |
transport: InfiniBand (0) | |
fw_ver: 16.21.2010 | |
node_guid: ec0d:9a03:008e:b989 | |
sys_image_guid: ec0d:9a03:008e:b988 | |
vendor_id: 0x02c9 | |
vendor_part_id: 4121 | |
hw_ver: 0x0 | |
board_id: MT_0000000013 | |
phys_port_cnt: 1 | |
Device ports: | |
port: 1 | |
state: PORT_ACTIVE (4) | |
max_mtu: 4096 (5) | |
active_mtu: 1024 (3) | |
sm_lid: 0 | |
port_lid: 0 | |
port_lmc: 0x00 | |
link_layer: Ethernet | |
hca_id: mlx5_0 | |
transport: InfiniBand (0) | |
fw_ver: 16.21.2010 | |
node_guid: ec0d:9a03:008e:b988 | |
sys_image_guid: ec0d:9a03:008e:b988 | |
vendor_id: 0x02c9 | |
vendor_part_id: 4121 | |
hw_ver: 0x0 | |
board_id: MT_0000000013 | |
phys_port_cnt: 1 | |
Device ports: | |
port: 1 | |
state: PORT_ACTIVE (4) | |
max_mtu: 4096 (5) | |
active_mtu: 1024 (3) | |
sm_lid: 0 | |
port_lid: 0 | |
port_lmc: 0x00 | |
link_layer: Ethernet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fi_getinfo(FI_VERSION(1, 1), this->ep.address().c_str(), port_addr, FI_SOURCE, hints, &this->fi) | |
fi_fabric(this->fi->fabric_attr, &this->fabric, NULL))) | |
fi_eq_open(this->fabric, &eq_attr, &this->eq, NULL) | |
fi_passive_ep(this->fabric, this->fi, &this->pep, NULL) | |
fi_pep_bind(this->pep, &this->eq->fid, 0) | |
fi_control(&this->eq->fid, FI_GETWAIT, &this->ev_context.fd) | |
// register file descriptor in epoll, wait for notification | |
fi_eq_sread(eq, &event, &entry, sizeof entry, 0, 0); | |
// fi_eq_sread yields | |
// FI_CONNREQ when the request comes on one port. All is good, establish connection | |
// FI_EAGAIN when the request comes on the other port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment