[Infiniband] Add preliminary support for multi-port devices.