pub fn select_optimal_ibv_device(device_hint: Option<&str>) -> Option<IbvDevice>Expand description
Step 1: Parse device string into prefix and postfix Step 2: Get PCI address from compute device Step 3: Get PCI address for all RDMA NIC devices Step 4: Calculate PCI distances and return closest RDMA NIC device