* [PATCH] ipv4: add documentation of sysctls of error_cost and error_burst
@ 2022-09-11 8:57 cgel.zte
2022-09-20 7:54 ` Nicolas Dichtel
0 siblings, 1 reply; 2+ messages in thread
From: cgel.zte @ 2022-09-11 8:57 UTC (permalink / raw)
To: davem, edumazet, kuba
Cc: nicolas.dichtel, corbet, linux-kernel, xu xin, Yunkai Zhang
From: xu xin <xu.xin16@zte.com.cn>
The descriptions of error_cost and error_burst sysctls are missing.
So add the descriptions of them in the documentation ip-sysctl.rst.
Signed-off-by: xu xin (CGEL ZTE) <xu.xin16@zte.com.cn>
Reviewed-by: Yunkai Zhang (CGEL ZTE) <zhang.yunkai@zte.com.cn>
---
Documentation/networking/ip-sysctl.rst | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index a759872a2883..14aaa4cd76c1 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -156,6 +156,23 @@ route/max_size - INTEGER
From linux kernel 3.6 onwards, this is deprecated for ipv4
as route cache is no longer used.
+route/error_cost - INTEGER
+ The minimum time interval between two consecutive ICMP-DEST-
+ UNREACHABLE packets allowed sent to the same peer in the stable
+ period. Basically, The higher its value is, the lower the general
+ frequency of sending ICMP DEST-UNREACHABLE packets.
+
+ Default: HZ (one second)
+
+route/error_burst - INTEGER
+ Together with error_cost, it controls the max number of burstly
+ sent ICMP DEST-UNREACHABLE packets after a long calm time (no
+ sending ICMP DEST-UNREACHABLE). Basically, the higher the rate
+ of error_burst over error_cost is, the more allowed burstly sent
+ ICMP DEST-UNREACHABLE packets after a long calm time.
+
+ Default: 5 * HZ
+
neigh/default/gc_thresh1 - INTEGER
Minimum number of entries to keep. Garbage collector will not
purge entries if there are fewer than this number.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ipv4: add documentation of sysctls of error_cost and error_burst
2022-09-11 8:57 [PATCH] ipv4: add documentation of sysctls of error_cost and error_burst cgel.zte
@ 2022-09-20 7:54 ` Nicolas Dichtel
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Dichtel @ 2022-09-20 7:54 UTC (permalink / raw)
To: cgel.zte, davem, edumazet, kuba
Cc: corbet, linux-kernel, xu xin, Yunkai Zhang
Le 11/09/2022 à 10:57, cgel.zte@gmail.com a écrit :
> From: xu xin <xu.xin16@zte.com.cn>
>
> The descriptions of error_cost and error_burst sysctls are missing.
> So add the descriptions of them in the documentation ip-sysctl.rst.
>
> Signed-off-by: xu xin (CGEL ZTE) <xu.xin16@zte.com.cn>
> Reviewed-by: Yunkai Zhang (CGEL ZTE) <zhang.yunkai@zte.com.cn>
Thanks for reposting this patch. You need to cc netdev, else it will be lost.
Regards,
Nicolas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-20 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-11 8:57 [PATCH] ipv4: add documentation of sysctls of error_cost and error_burst cgel.zte
2022-09-20 7:54 ` Nicolas Dichtel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).