pub unsafe extern "C" fn ibv_rate_to_mult(rate: ibv_rate) -> c_int
Expand description
ibv_rate_to_mult - Convert the IB rate enum to a multiple of the base rate of 2.5 Gbit/sec. For example, IBV_RATE_5_GBPS will be converted to 2, since 5 Gbit/sec is 2 * 2.5 Gbit/sec. @rate: rate to convert.