summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2022-01-17 05:11:29 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2022-01-17 05:11:29 +0100
commit81ee6cda2e60bbd3d97ab63da30657a54b09feda (patch)
tree489b94cd4d6a71f9117fc167c0b6ebc50a184376 /doc
parentbbc33f6ec310d98b9100fb883a2b8908ede1b5a8 (diff)
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 0112622e..f10b15e2 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -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