ibv_rate_to_mbps(3)

ibv_rate_to_mbps3

Usage

#include <infiniband/verbs.h>

int ibv_rate_to_mbps(enum ibv_rate rate);

enum ibv_rate mbps_to_ibv_rate(int mbps);

Overview

ibv_rate_to_mbps() converts the IB transmission rate enumeration rate to a number of Mbit/sec. For example, if rate is IBV_RATE_5_GBPS, the value 5000 will be returned (5 Gbit/sec = 5000 Mbit/sec).

mbps_to_ibv_rate() converts the number of Mbit/sec mult to an IB transmission rate enumeration. For example, if mult is 5000, the rate enumeration IBV_RATE_5_GBPS will be returned.

Return value

ibv_rate_to_mbps() returns the number of Mbit/sec.

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

Releases

Unchanged in 22 releases since FreeBSD 11.3-RELEASE.

  1. 11.3–16.0

Authors

Dotan Barak <[email protected]>

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's man source.