1IBV_RATE_TO_MULT(3) Libibverbs Programmer's Manual IBV_RATE_TO_MULT(3)
2
3
4
6 ibv_rate_to_mult - convert IB rate enumeration to multiplier of 2.5 Gbit/sec
7
8 mult_to_ibv_rate - convert multiplier of 2.5 Gbit/sec to an IB rate enumeration
9
11 #include <infiniband/verbs.h>
12
13 int ibv_rate_to_mult(enum ibv_rate rate);
14
15 enum ibv_rate mult_to_ibv_rate(int mult);
16
18 ibv_rate_to_mult() converts the IB transmission rate enumeration rate
19 to a multiple of 2.5 Gbit/sec (the base rate). For example, if rate is
20 IBV_RATE_5_GBPS, the value 2 will be returned (5 Gbit/sec = 2 * 2.5
21 Gbit/sec).
22
23 mult_to_ibv_rate() converts the multiplier value (of 2.5 Gbit/sec) mult
24 to an IB transmission rate enumeration. For example, if mult is 2, the
25 rate enumeration IBV_RATE_5_GBPS will be returned.
26
28 ibv_rate_to_mult() returns the multiplier of the base rate 2.5
29 Gbit/sec.
30
31 mult_to_ibv_rate() returns the enumeration representing the IB transā
32 mission rate.
33
35 ibv_query_port(3)
36
38 Dotan Barak <dotanba@gmail.com>
39
40
41
42libibverbs 2006-10-31 IBV_RATE_TO_MULT(3)