dummynet: bandwidth is limited to 2 Gbit/s ?
Rodney W. Grimes
freebsd-rwg at gndrsh.dnsmgr.net
Tue Sep 24 22:19:36 UTC 2019
> 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.
Any attempt to mfc this would break KABI/userland and that is never
a good thing to do. It may not be a public ABI, but it is an ABI,
and stability of that and backwards compatibility are always a good
thing to strive for.
--
Rod Grimes rgrimes at freebsd.org
More information about the freebsd-net
mailing list