Re: the RATELIMIT kernel option

From: Joerg Pulz <Joerg.Pulz_at_frm2.tum.de>
Date: Mon, 20 Nov 2023 16:03:11 UTC
On Mon, 20 Nov 2023, void wrote:

> Hello hackers@,
>
> I've been looking at adding the RACK tcp kernel option, and reading the 
> instructions on 
> https://klarasystems.com/articles/using-the-freebsd-rack-tcp-stack/
>
> They mention the RATELIMIT option for some network cards but I can find
> no option of that name in LINT/NOTES so am not sure if it works with
> just some or all network interfaces or what the tradeoffs are. Can anyone 
> here clarify please? or just point me to whatever I need to look at, thanks

See src.conf(5) WITH_RATELIMIT and ifconfig(8)'s txrtlmt.

Further details in sys/netinet/tcp_ratelimit.c

Joerg