mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Netlink: Add option to specify netlink socket receive buffer size
Add option 'netlink rx buffer' to specify netlink socket receive buffer size. Uses SO_RCVBUFFORCE, so it can override rmem_max limit. Thanks to Trisha Biswas and Michal for the original patches.
This commit is contained in:
@@ -3248,6 +3248,12 @@ channels.
|
||||
allows to specify a limit on maximal number of nexthops in one route. By
|
||||
default, multipath merging is disabled. If enabled, default value of the
|
||||
limit is 16.
|
||||
|
||||
<tag><label id="krt-netlink-rx-buffer">netlink rx buffer <m/number/</tag> (Linux)
|
||||
Set kernel receive buffer size (in bytes) for the netlink socket. The default
|
||||
value is OS-dependent (from the <file>/proc/sys/net/core/rmem_default</file>
|
||||
file), If you get some "Kernel dropped some netlink message ..." warnings,
|
||||
you may increase this value.
|
||||
</descrip>
|
||||
|
||||
<sect1>Attributes
|
||||
|
Reference in New Issue
Block a user