debian man page for ibv_rate_to_mult

Query: ibv_rate_to_mult

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
ibv_rate_to_mult - 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
SYNOPSIS
#include <infiniband/verbs.h> int ibv_rate_to_mult(enum ibv_rate rate); enum ibv_rate mult_to_ibv_rate(int mult);
DESCRIPTION
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.
SEE ALSO
ibv_query_port(3)
AUTHORS
Dotan Barak <dotanba@gmail.com> libibverbs 2006-10-31 IBV_RATE_TO_MULT(3)
Related Man Pages
struct_ieee80211_tx_rate_control(9) - centos
annuity(3m) - hpux
annuityf(3m) - hpux
tape2wav(1) - centos
tape2wav(1) - redhat
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Introduction
Find columns in a file based on header and print to new file
Weird 'find' results
New UNIX and Linux History Sections