ibv_rate_to_mult(3)

ibv_rate_to_mult3

Convert ib rate enumeration to multiplier of 2.5 gbit/sec mult_to_ibv_rate - convert multiplier of 2.5 gbit/sec to an ib rate enumeration

Usage

#include <infiniband/verbs.h>
int ibv_rate_to_mult(enum ibv_rate rate);
enum ibv_rate mult_to_ibv_rate(int mult);

Overview

ibv_rate_to_mult() converts the IB transmission rate enumeration rate to a multiple of 2.5 Gbit/sec (the base rate). For example, if rate is IBV_RATE_5_GBPS, the value 2 will be returned (5 Gbit/sec = 2 * 2.5 Gbit/sec).

mult_to_ibv_rate() converts the multiplier value (of 2.5 Gbit/sec) mult to an IB transmission rate enumeration. For example, if mult is 2, the rate enumeration IBV_RATE_5_GBPS will be returned.

Return value

ibv_rate_to_mult() returns the multiplier of the base rate 2.5 Gbit/sec.

mult_to_ibv_rate() returns the enumeration representing the IB transmission rate.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0–9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Author

Dotan Barak ⟨[email protected]⟩\c

From rdma-core 65.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.