HomeFreeBSD

ibcore: Support rate limit for packet pacing

Description

ibcore: Support rate limit for packet pacing

Add new member rate_limit to ib_qp_attr which holds the packet pacing
rate in kbps, 0 means unlimited.

IB_QP_RATE_LIMIT is added to ib_attr_mask and could be used by RAW
QPs when changing QP state from RTR to RTS, RTS to RTS.

Linux commit:
528e5a1bd3f0e9b760cb3a1062fce7513712a15d

Reviewed by: kib
Sponsored by: Mellanox Technologies // NVIDIA Networking

(cherry picked from commit 0c13880cccd75655c878ce31e767bce04b1d6e85)

Details

Provenance
hselaskyAuthored on Jun 16 2021, 1:01 PM
Parents
rGd76e6346afbc: ibcore: Add new IB rates.
Branches
Unknown
Tags
Unknown