IB/ipath: Add code to support multiple link speeds and widths