NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON |
|
|
IBV_RATE_TO_MBPS(3) Libibverbs Programmer’s Manual IBV_RATE_TO_MBPS(3)
ibv_rate_to_mbps - convert IB rate enumeration to Mbit/sec mbps_to_ibv_rate - convert Mbit/sec to an IB rate enumeration
#include <infiniband/verbs.h> int ibv_rate_to_mbps(enum ibv_rate rate); enum ibv_rate mbps_to_ibv_rate(int mbps);
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.
ibv_rate_to_mbps() returns the number of Mbit/sec. mbps_to_ibv_rate() returns the enumeration representing the IB transmission rate.
ibv_query_port(3)
Dotan Barak ⟨dotanb@dev.mellanox.co.il⟩
This page is part of the rdma-core (RDMA Core Userspace Libraries
and Daemons) project. Information about the project can be found
at ⟨https://github.com/linux-rdma/rdma-core⟩. If you have a bug
report for this manual page, send it to
linux-rdma@vger.kernel.org. This page was obtained from the
project's upstream Git repository
⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11. (At
that time, the date of the most recent commit that was found in
the repository was 2025-08-04.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
libibverbs 2012-03-31 IBV_RATE_TO_MBPS(3)