ibv_rate_to_mbps(3) centos man page | unix.com

Man Page: ibv_rate_to_mbps

Operating Environment: centos

Section: 3

IBV_RATE_TO_MBPS(3)					  Libibverbs Programmer's Manual				       IBV_RATE_TO_MBPS(3)

NAME
ibv_rate_to_mbps - convert IB rate enumeration to Mbit/sec mbps_to_ibv_rate - convert Mbit/sec to an IB rate enumeration
SYNOPSIS
#include <infiniband/verbs.h> int ibv_rate_to_mbps(enum ibv_rate rate); enum ibv_rate mbps_to_ibv_rate(int mbps);
DESCRIPTION
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 enu- meration 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.
SEE ALSO
ibv_query_port(3)
AUTHORS
Dotan Barak <dotanb@dev.mellanox.co.il> libibverbs 2012-03-31 IBV_RATE_TO_MBPS(3)
Related Man Pages
umad_get_port(3) - centos
struct_ieee80211_tx_rate_control(9) - centos
annuityq(3m) - hpux
cfsetispeed(3) - osf1
tape2wav(1) - redhat
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Please Welcome Dave Munro to the Moderator Team!