Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2019 07:50:32 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: dummynet: bandwidth is limited to 2 Gbit/s ?
Message-ID:  <CAHu1Y72WKhk-4UTFjs7p-VRiGRPoZci90MwKasCWPoM0NGrzjg@mail.gmail.com>
In-Reply-To: <CA%2BhQ2%2BjXxwkVMMoLMMdXU5RVqsMxfbQfNazVKTp9rB9i6z%2BJ3A@mail.gmail.com>
References:  <a1c0ac18-1290-a109-1c46-c8d6047cd8c1@FreeBSD.org> <CA%2BhQ2%2BjXxwkVMMoLMMdXU5RVqsMxfbQfNazVKTp9rB9i6z%2BJ3A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 25, 2019 at 7:10 AM Luigi Rizzo <rizzo@iet.unipi.it> wrote:

 > ...
 > An alternate, hack-ish approach would be to encode high speeds with
 > coarse granularity,
 > say speed 0x7fnnnnnn with n =3D 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.
--=20

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

- The Mah=C4=81bh=C4=81rata



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y72WKhk-4UTFjs7p-VRiGRPoZci90MwKasCWPoM0NGrzjg>