IBV_MODIFY_QP_RATE_LIMIT - Online Linux Manual PageSection : 3
Updated : 2018-01-09
Source : libibverbs
Note : Libibverbs Programmer's Manual

NAMEibv_modify_qp_rate_limit − modify the send rate limits attributes of a queue pair (QP)

SYNOPSIS#include <infiniband/verbs.h> int ibv_modify_qp_rate_limit(struct ibv_qp *qp, struct ibv_qp_rate_limit_attr *attr);

DESCRIPTIONibv_modify_qp_rate_limit() modifies the send rate limiting packet pacing attributes of QP qp with the attributes in attr. The argument attr is an ibv_qp_rate_limit_attr struct, as defined in <infiniband/verbs.h>. The rate_limit defines the MAX send rate this QP will send as long as the link in not blocked and there are work requests in send queue. Finer control for shaping the rate limit of a QP is achieved by defining the max_burst_sz, single burst max bytes size and the typical_pkt_sz, typical packet bytes size. These allow the device to adjust the inter-burst gap delay required to correctly shape the scheduling of sends to the wire in order to reach for requested application requirements. Setting a value of 0 for max_burst_sz or typical_pkt_sz will use the devices defaults. typical_pkt_sz will default to the port's MTU value. struct ibv_qp_rate_limit_attr { uint32_t rate_limit; /* kbps */ uint32_t max_burst_sz; /* bytes */ uint16_t typical_pkt_sz; /* bytes */ };

RETURN VALUEibv_modify_qp_rate_limit() returns 0 on success, or the value of errno on failure (which indicates the failure reason).

ERRORS

EINVALInvalid arguments.

EOPNOTSUPPFunction is not implemented for this device. (ENOSYS may sometimes be returned by old versions of libibverbs).

SEE ALSOibv_create_qp(3), ibv_destroy_qp(3), ibv_modify_qp(3), ibv_query_qp(3)

AUTHORSAlex Rosenbaum <alexr@mellanox.com>  Bodong Wang <bodong@mellanox.com>
0
Johanes Gumabo
Data Size   :   6,968 byte
man-ibv_modify_qp_rate_limit.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 255,929
Visitor ID   :     :  
Visitor IP   :   18.223.108.134   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_TP|38|ibv_modify_qp_rate_limit.3|68|EOF|Bodong Wang )