Date: Tue, 24 Sep 2019 22:58:45 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Andriy Gapon <avg@FreeBSD.org>, freebsd-net <freebsd-net@FreeBSD.org> Subject: Re: dummynet: bandwidth is limited to 2 Gbit/s ? Message-ID: <5D8A3D35.5050303@grosbein.net> In-Reply-To: <a1c0ac18-1290-a109-1c46-c8d6047cd8c1@FreeBSD.org> References: <a1c0ac18-1290-a109-1c46-c8d6047cd8c1@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24.09.2019 12:42, Andriy Gapon wrote: > It seems that the userland component of ipfw/dummynet uses int for the bandwidth > represented in bit/s. Also, int is used for passing that value from the > userland to the kernel. > > What would be the best way to extend this? > Just use a larger type? > Or maybe add another field to try to preserve KBI backward compatibility? > > Thank you. AFAIK, we never had any public ABI or stable KBI interface announced to userland or in-kernel consumers and had no consumers of dummynet other than ipfw(8) binary. Just increase type.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D8A3D35.5050303>