dummynet: bandwidth is limited to 2 Gbit/s ?

Michael Sierchio kudzu at tenebras.com
Wed Sep 25 14:51:11 UTC 2019


On Wed, Sep 25, 2019 at 7:10 AM Luigi Rizzo <rizzo at iet.unipi.it> wrote:

 > ...
 > An alternate, hack-ish approach would be to encode high speeds with
 > coarse granularity,
 > say speed 0x7fnnnnnn with n = 0.. 0xffffe representing speed in
 > Mbits/s (so that would give
 > you up to 16 Pbit/s) and reserve 0x7fffffff for the pre-existing
 > "2Gbit/s - 1" to avoid breaking
 > former userland that may pick that value.

That actually sounds like a good approach, hackish or no.
-- 

"Well," Brahmā said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mahābhārata


More information about the freebsd-net mailing list