All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/4] update ipvs sysctl document
@ 2017-02-17  6:33 Hangbin Liu
  2017-02-17  6:33 ` [PATCH net 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-17  6:33 UTC (permalink / raw)
  To: lvs-devel; +Cc: Simon Horman, netdev, Marcelo Ricardo Leitner, Hangbin Liu

Fix and add some new ipvs sysctl options. Also use tab instead of whitespaces
to indent the descriptions.

Hangbin Liu (4):
  ipvs: fix sync_threshold description and add sync_refresh_period,
    sync_retries
  ipvs: Document sysctl sync_qlen_max and sync_sock_size
  ipvs: Document sysctl sync_ports
  ipvs: Document sysctl pmtu_disc

 Documentation/networking/ipvs-sysctl.txt | 68 ++++++++++++++++++++++++++++----
 1 file changed, 60 insertions(+), 8 deletions(-)

-- 
2.5.5


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH net 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries
  2017-02-17  6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
@ 2017-02-17  6:33 ` Hangbin Liu
  2017-02-17  6:33 ` [PATCH net 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Hangbin Liu
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-17  6:33 UTC (permalink / raw)
  To: lvs-devel; +Cc: Simon Horman, netdev, Marcelo Ricardo Leitner, Hangbin Liu

Fix sync_threshold description which should have two values. Also add
sync_refresh_period and sync_retries based on commit 749c42b620a9
("ipvs: reduce sync rate with time thresholds").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 40 +++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index e6b1c02..7acaaa6 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -185,15 +185,37 @@ secure_tcp - INTEGER
         The value definition is the same as that of drop_entry and
         drop_packet.
 
-sync_threshold - INTEGER
-        default 3
-
-        It sets synchronization threshold, which is the minimum number
-        of incoming packets that a connection needs to receive before
-        the connection will be synchronized. A connection will be
-        synchronized, every time the number of its incoming packets
-        modulus 50 equals the threshold. The range of the threshold is
-        from 0 to 49.
+sync_threshold - vector of 2 INTEGERs: sync_threshold, sync_period
+	default 3 50
+
+	It sets synchronization threshold, which is the minimum number
+	of incoming packets that a connection needs to receive before
+	the connection will be synchronized. A connection will be
+	synchronized, every time the number of its incoming packets
+	modulus sync_period equals the threshold. The range of the
+	threshold is from 0 to sync_period.
+
+	When sync_period and sync_refresh_period are 0, send sync only
+	for state changes or only once when pkts matches sync_threshold
+
+sync_refresh_period - UNSIGNED INTEGER
+	default 0
+
+	In seconds, difference in reported connection timer that triggers
+	new sync message. It can be used to avoid sync messages for the
+	specified period (or half of the connection timeout if it is lower)
+	if connection state is not changed since last sync.
+
+	This is useful for normal connections with high traffic to reduce
+	sync rate. Additionally, retry sync_retries times with period of
+	sync_refresh_period/8.
+
+sync_retries - INTEGER
+	default 0
+
+	Defines sync retries with period of sync_refresh_period/8. Useful
+	to protect against loss of sync messages. The range of the
+	sync_retries is from 0 to 3.
 
 snat_reroute - BOOLEAN
 	0 - disabled
-- 
2.5.5


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH net 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size
  2017-02-17  6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
  2017-02-17  6:33 ` [PATCH net 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
@ 2017-02-17  6:33 ` Hangbin Liu
  2017-02-17  6:34 ` [PATCH net 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-17  6:33 UTC (permalink / raw)
  To: lvs-devel; +Cc: Simon Horman, netdev, Marcelo Ricardo Leitner, Hangbin Liu

Document sysctl sync_qlen_max and sync_sock_size based on commit
1c003b1580e2 ("ipvs: wakeup master thread").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index 7acaaa6..7622ba5 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -217,6 +217,19 @@ sync_retries - INTEGER
 	to protect against loss of sync messages. The range of the
 	sync_retries is from 0 to 3.
 
+sync_qlen_max - UNSIGNED LONG
+
+	Hard limit for queued sync messages that not sent yet. It defaults to
+	1/32 of the memory pages but actually represents number of messages.
+	It will protect us from allocating large parts of memory when the
+	sending rate is lower than the queuing rate.
+
+sync_sock_size - INTEGER
+	default 0
+
+	Configuration of SNDBUF (master) or RCVBUF (slave) socket limit.
+	Default value is 0 (preserve system defaults).
+
 snat_reroute - BOOLEAN
 	0 - disabled
 	not 0 - enabled (default)
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH net 3/4] ipvs: Document sysctl sync_ports
  2017-02-17  6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
  2017-02-17  6:33 ` [PATCH net 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
  2017-02-17  6:33 ` [PATCH net 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Hangbin Liu
@ 2017-02-17  6:34 ` Hangbin Liu
  2017-02-17  6:34 ` [PATCH net 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-17  6:34 UTC (permalink / raw)
  To: lvs-devel; +Cc: Simon Horman, netdev, Marcelo Ricardo Leitner, Hangbin Liu

Document sysctl sync_ports based on commit f73181c8288f ("ipvs: add support
for sync threads").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index 7622ba5..e4d9235 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -230,6 +230,14 @@ sync_sock_size - INTEGER
 	Configuration of SNDBUF (master) or RCVBUF (slave) socket limit.
 	Default value is 0 (preserve system defaults).
 
+sync_ports - INTEGER
+	default 1
+
+	The number of threads that master and backup servers can use for
+	sync traffic. Every thread will use single UDP port, thread 0 will
+	use the default port 8848 while last thread will use port
+	8848+sync_ports-1.
+
 snat_reroute - BOOLEAN
 	0 - disabled
 	not 0 - enabled (default)
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH net 4/4] ipvs: Document sysctl pmtu_disc
  2017-02-17  6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
                   ` (2 preceding siblings ...)
  2017-02-17  6:34 ` [PATCH net 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
@ 2017-02-17  6:34 ` Hangbin Liu
  2017-02-19 14:04 ` [PATCH net 0/4] update ipvs sysctl document Julian Anastasov
  2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
  5 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-17  6:34 UTC (permalink / raw)
  To: lvs-devel; +Cc: Simon Horman, netdev, Marcelo Ricardo Leitner, Hangbin Liu

Document sysctl pmtu_disc based on commit 3654e61137db ("ipvs: add pmtu_disc
option to disable IP DF for TUN packets").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index e4d9235..fb65d4a 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -175,6 +175,15 @@ nat_icmp_send - BOOLEAN
         for VS/NAT when the load balancer receives packets from real
         servers but the connection entries don't exist.
 
+pmtu_disc - BOOLEAN
+	0 - disabled
+	not 0 - enabled (default)
+
+	When enabled PMTU discovery(default) and received packets larger than
+	the next MTU, we will send back FRAG_NEEDED message and drop the
+	incoming packet. But if users prefer to fragment regardless of DF bit
+	other than drop the packet, they can disable it.
+
 secure_tcp - INTEGER
         0  - disabled (default)
 
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH net 0/4] update ipvs sysctl document
  2017-02-17  6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
                   ` (3 preceding siblings ...)
  2017-02-17  6:34 ` [PATCH net 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
@ 2017-02-19 14:04 ` Julian Anastasov
  2017-02-20  8:19   ` Hangbin Liu
  2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
  5 siblings, 1 reply; 15+ messages in thread
From: Julian Anastasov @ 2017-02-19 14:04 UTC (permalink / raw)
  To: Hangbin Liu; +Cc: lvs-devel, Simon Horman, netdev, Marcelo Ricardo Leitner


	Hello,

On Fri, 17 Feb 2017, Hangbin Liu wrote:

> Fix and add some new ipvs sysctl options. Also use tab instead of whitespaces
> to indent the descriptions.

	You change only docs, so the patchset should be for
the net-next tree.

> Hangbin Liu (4):
>   ipvs: fix sync_threshold description and add sync_refresh_period,
>     sync_retries
>   ipvs: Document sysctl sync_qlen_max and sync_sock_size

- we can add "are " here but then also check if lines become too long:

"Hard limit for queued sync messages that [are ]not sent yet."

	You can also move the "commit" word to next line
to make checkpatch happy:

scripts/checkpatch.pl --strict /tmp/file2.patch

>   ipvs: Document sysctl sync_ports
>   ipvs: Document sysctl pmtu_disc

- we can make it like this:

"By default, reject with FRAG_NEEDED all DF packets that exceed
the PMTU, irrespective of the forwarding method. For TUN method
the flag can be disabled to fragment such packets."

>  Documentation/networking/ipvs-sysctl.txt | 68 ++++++++++++++++++++++++++++----
>  1 file changed, 60 insertions(+), 8 deletions(-)

Regards

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH net 0/4] update ipvs sysctl document
  2017-02-19 14:04 ` [PATCH net 0/4] update ipvs sysctl document Julian Anastasov
@ 2017-02-20  8:19   ` Hangbin Liu
  0 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-20  8:19 UTC (permalink / raw)
  To: Julian Anastasov
  Cc: lvs-devel, Simon Horman, network dev, Marcelo Ricardo Leitner

Hi Julian,

Thanks a lot for the comments. I will send a v2 patch.

Regards
Hangbin

2017-02-19 22:04 GMT+08:00 Julian Anastasov <ja@ssi.bg>:
>
>         Hello,
>
> On Fri, 17 Feb 2017, Hangbin Liu wrote:
>
>> Fix and add some new ipvs sysctl options. Also use tab instead of whitespaces
>> to indent the descriptions.
>
>         You change only docs, so the patchset should be for
> the net-next tree.
>
>> Hangbin Liu (4):
>>   ipvs: fix sync_threshold description and add sync_refresh_period,
>>     sync_retries
>>   ipvs: Document sysctl sync_qlen_max and sync_sock_size
>
> - we can add "are " here but then also check if lines become too long:
>
> "Hard limit for queued sync messages that [are ]not sent yet."
>
>         You can also move the "commit" word to next line
> to make checkpatch happy:
>
> scripts/checkpatch.pl --strict /tmp/file2.patch
>
>>   ipvs: Document sysctl sync_ports
>>   ipvs: Document sysctl pmtu_disc
>
> - we can make it like this:
>
> "By default, reject with FRAG_NEEDED all DF packets that exceed
> the PMTU, irrespective of the forwarding method. For TUN method
> the flag can be disabled to fragment such packets."
>
>>  Documentation/networking/ipvs-sysctl.txt | 68 ++++++++++++++++++++++++++++----
>>  1 file changed, 60 insertions(+), 8 deletions(-)
>
> Regards
>
> --
> Julian Anastasov <ja@ssi.bg>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCHv2 net-next 0/4] update ipvs sysctl document
  2017-02-17  6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
                   ` (4 preceding siblings ...)
  2017-02-19 14:04 ` [PATCH net 0/4] update ipvs sysctl document Julian Anastasov
@ 2017-02-20  8:31 ` Hangbin Liu
  2017-02-20  8:31   ` [PATCHv2 net-next 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
                     ` (4 more replies)
  5 siblings, 5 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-20  8:31 UTC (permalink / raw)
  To: lvs-devel; +Cc: netdev, Marcelo Ricardo Leitner, Julian Anastasov, Hangbin Liu

Fix and add some new ipvs sysctl options. Also use tab instead of
whitespaces to indent the descriptions.

V2: Fix some descriptions based on Julian's advice.

Hangbin Liu (4):
  ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries
  ipvs: Document sysctl sync_qlen_max and sync_sock_size
  ipvs: Document sysctl sync_ports
  ipvs: Document sysctl pmtu_disc

 Documentation/networking/ipvs-sysctl.txt | 68 ++++++++++++++++++++++++++++----
 1 file changed, 60 insertions(+), 8 deletions(-)

-- 
2.5.5

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCHv2 net-next 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries
  2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
@ 2017-02-20  8:31   ` Hangbin Liu
  2017-02-20  8:31   ` [PATCHv2 net-next 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Hangbin Liu
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-20  8:31 UTC (permalink / raw)
  To: lvs-devel; +Cc: netdev, Marcelo Ricardo Leitner, Julian Anastasov, Hangbin Liu

Fix sync_threshold description which should have two values. Also add
sync_refresh_period and sync_retries based on commit 749c42b620a9
("ipvs: reduce sync rate with time thresholds").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 40 +++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index e6b1c02..7acaaa6 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -185,15 +185,37 @@ secure_tcp - INTEGER
         The value definition is the same as that of drop_entry and
         drop_packet.
 
-sync_threshold - INTEGER
-        default 3
-
-        It sets synchronization threshold, which is the minimum number
-        of incoming packets that a connection needs to receive before
-        the connection will be synchronized. A connection will be
-        synchronized, every time the number of its incoming packets
-        modulus 50 equals the threshold. The range of the threshold is
-        from 0 to 49.
+sync_threshold - vector of 2 INTEGERs: sync_threshold, sync_period
+	default 3 50
+
+	It sets synchronization threshold, which is the minimum number
+	of incoming packets that a connection needs to receive before
+	the connection will be synchronized. A connection will be
+	synchronized, every time the number of its incoming packets
+	modulus sync_period equals the threshold. The range of the
+	threshold is from 0 to sync_period.
+
+	When sync_period and sync_refresh_period are 0, send sync only
+	for state changes or only once when pkts matches sync_threshold
+
+sync_refresh_period - UNSIGNED INTEGER
+	default 0
+
+	In seconds, difference in reported connection timer that triggers
+	new sync message. It can be used to avoid sync messages for the
+	specified period (or half of the connection timeout if it is lower)
+	if connection state is not changed since last sync.
+
+	This is useful for normal connections with high traffic to reduce
+	sync rate. Additionally, retry sync_retries times with period of
+	sync_refresh_period/8.
+
+sync_retries - INTEGER
+	default 0
+
+	Defines sync retries with period of sync_refresh_period/8. Useful
+	to protect against loss of sync messages. The range of the
+	sync_retries is from 0 to 3.
 
 snat_reroute - BOOLEAN
 	0 - disabled
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCHv2 net-next 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size
  2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
  2017-02-20  8:31   ` [PATCHv2 net-next 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
@ 2017-02-20  8:31   ` Hangbin Liu
  2017-02-20  8:31   ` [PATCHv2 net-next 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-20  8:31 UTC (permalink / raw)
  To: lvs-devel; +Cc: netdev, Marcelo Ricardo Leitner, Julian Anastasov, Hangbin Liu

Document sysctl sync_qlen_max and sync_sock_size based on
commit 1c003b1580e2 ("ipvs: wakeup master thread").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index 7acaaa6..159d70b 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -217,6 +217,20 @@ sync_retries - INTEGER
 	to protect against loss of sync messages. The range of the
 	sync_retries is from 0 to 3.
 
+sync_qlen_max - UNSIGNED LONG
+
+	Hard limit for queued sync messages that are not sent yet. It
+	defaults to 1/32 of the memory pages but actually represents
+	number of messages. It will protect us from allocating large
+	parts of memory when the sending rate is lower than the queuing
+	rate.
+
+sync_sock_size - INTEGER
+	default 0
+
+	Configuration of SNDBUF (master) or RCVBUF (slave) socket limit.
+	Default value is 0 (preserve system defaults).
+
 snat_reroute - BOOLEAN
 	0 - disabled
 	not 0 - enabled (default)
-- 
2.5.5


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCHv2 net-next 3/4] ipvs: Document sysctl sync_ports
  2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
  2017-02-20  8:31   ` [PATCHv2 net-next 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
  2017-02-20  8:31   ` [PATCHv2 net-next 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Hangbin Liu
@ 2017-02-20  8:31   ` Hangbin Liu
  2017-02-20  8:31   ` [PATCHv2 net-next 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
  2017-02-21 20:01   ` [PATCHv2 net-next 0/4] update ipvs sysctl document Julian Anastasov
  4 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-20  8:31 UTC (permalink / raw)
  To: lvs-devel; +Cc: netdev, Marcelo Ricardo Leitner, Julian Anastasov, Hangbin Liu

Document sysctl sync_ports based on commit f73181c8288f ("ipvs: add support
for sync threads").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index 159d70b..a6feecd 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -231,6 +231,14 @@ sync_sock_size - INTEGER
 	Configuration of SNDBUF (master) or RCVBUF (slave) socket limit.
 	Default value is 0 (preserve system defaults).
 
+sync_ports - INTEGER
+	default 1
+
+	The number of threads that master and backup servers can use for
+	sync traffic. Every thread will use single UDP port, thread 0 will
+	use the default port 8848 while last thread will use port
+	8848+sync_ports-1.
+
 snat_reroute - BOOLEAN
 	0 - disabled
 	not 0 - enabled (default)
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCHv2 net-next 4/4] ipvs: Document sysctl pmtu_disc
  2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
                     ` (2 preceding siblings ...)
  2017-02-20  8:31   ` [PATCHv2 net-next 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
@ 2017-02-20  8:31   ` Hangbin Liu
  2017-02-21 20:01   ` [PATCHv2 net-next 0/4] update ipvs sysctl document Julian Anastasov
  4 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-02-20  8:31 UTC (permalink / raw)
  To: lvs-devel; +Cc: netdev, Marcelo Ricardo Leitner, Julian Anastasov, Hangbin Liu

Document sysctl pmtu_disc based on commit 3654e61137db ("ipvs: add
pmtu_disc option to disable IP DF for TUN packets").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 Documentation/networking/ipvs-sysctl.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index a6feecd..0568986 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -175,6 +175,14 @@ nat_icmp_send - BOOLEAN
         for VS/NAT when the load balancer receives packets from real
         servers but the connection entries don't exist.
 
+pmtu_disc - BOOLEAN
+	0 - disabled
+	not 0 - enabled (default)
+
+	By default, reject with FRAG_NEEDED all DF packets that exceed
+	the PMTU, irrespective of the forwarding method. For TUN method
+	the flag can be disabled to fragment such packets.
+
 secure_tcp - INTEGER
         0  - disabled (default)
 
-- 
2.5.5


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 net-next 0/4] update ipvs sysctl document
  2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
                     ` (3 preceding siblings ...)
  2017-02-20  8:31   ` [PATCHv2 net-next 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
@ 2017-02-21 20:01   ` Julian Anastasov
  2017-03-13  9:14     ` Simon Horman
  4 siblings, 1 reply; 15+ messages in thread
From: Julian Anastasov @ 2017-02-21 20:01 UTC (permalink / raw)
  To: Hangbin Liu; +Cc: lvs-devel, netdev, Marcelo Ricardo Leitner, Simon Horman


	Hello,

On Mon, 20 Feb 2017, Hangbin Liu wrote:

> Fix and add some new ipvs sysctl options. Also use tab instead of
> whitespaces to indent the descriptions.
> 
> V2: Fix some descriptions based on Julian's advice.
> 
> Hangbin Liu (4):
>   ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries
>   ipvs: Document sysctl sync_qlen_max and sync_sock_size
>   ipvs: Document sysctl sync_ports
>   ipvs: Document sysctl pmtu_disc

	All patches look ok to me, thanks!

Acked-by: Julian Anastasov <ja@ssi.bg>

	Simon, can we keep this patchset while in merge window?

>  Documentation/networking/ipvs-sysctl.txt | 68 ++++++++++++++++++++++++++++----
>  1 file changed, 60 insertions(+), 8 deletions(-)
> 
> -- 
> 2.5.5

Regards

--
Julian Anastasov <ja@ssi.bg>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 net-next 0/4] update ipvs sysctl document
  2017-02-21 20:01   ` [PATCHv2 net-next 0/4] update ipvs sysctl document Julian Anastasov
@ 2017-03-13  9:14     ` Simon Horman
  2017-03-15  2:42       ` Hangbin Liu
  0 siblings, 1 reply; 15+ messages in thread
From: Simon Horman @ 2017-03-13  9:14 UTC (permalink / raw)
  To: Julian Anastasov; +Cc: Hangbin Liu, lvs-devel, netdev, Marcelo Ricardo Leitner

On Tue, Feb 21, 2017 at 10:01:44PM +0200, Julian Anastasov wrote:
> 
> 	Hello,
> 
> On Mon, 20 Feb 2017, Hangbin Liu wrote:
> 
> > Fix and add some new ipvs sysctl options. Also use tab instead of
> > whitespaces to indent the descriptions.
> > 
> > V2: Fix some descriptions based on Julian's advice.
> > 
> > Hangbin Liu (4):
> >   ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries
> >   ipvs: Document sysctl sync_qlen_max and sync_sock_size
> >   ipvs: Document sysctl sync_ports
> >   ipvs: Document sysctl pmtu_disc
> 
> 	All patches look ok to me, thanks!
> 
> Acked-by: Julian Anastasov <ja@ssi.bg>
> 
> 	Simon, can we keep this patchset while in merge window?

Hi,

I apologise for the extended delay in dealing with this - I have been ill.

I have queued these up for v4.12 in ipvs-next as that seems to be the most
appropriate course of action at this time. Please let me know if you'd like
to explore a different approach.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 net-next 0/4] update ipvs sysctl document
  2017-03-13  9:14     ` Simon Horman
@ 2017-03-15  2:42       ` Hangbin Liu
  0 siblings, 0 replies; 15+ messages in thread
From: Hangbin Liu @ 2017-03-15  2:42 UTC (permalink / raw)
  To: Simon Horman
  Cc: Julian Anastasov, lvs-devel, network dev, Marcelo Ricardo Leitner

2017-03-13 17:14 GMT+08:00 Simon Horman <horms@verge.net.au>:
>> >
>> > Hangbin Liu (4):
>> >   ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries
>> >   ipvs: Document sysctl sync_qlen_max and sync_sock_size
>> >   ipvs: Document sysctl sync_ports
>> >   ipvs: Document sysctl pmtu_disc
>>
>>       All patches look ok to me, thanks!
>>
>> Acked-by: Julian Anastasov <ja@ssi.bg>
>>
>>       Simon, can we keep this patchset while in merge window?
>
> Hi,
>
> I apologise for the extended delay in dealing with this - I have been ill.
>
> I have queued these up for v4.12 in ipvs-next as that seems to be the most
> appropriate course of action at this time. Please let me know if you'd like
> to explore a different approach.

Hi Simon,

Thanks a lot for taking care of this. I'm OK with the schedule.

Hope you can be well soon.

Best Wishes
Hangbin

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-03-15  2:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-17  6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
2017-02-17  6:33 ` [PATCH net 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
2017-02-17  6:33 ` [PATCH net 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Hangbin Liu
2017-02-17  6:34 ` [PATCH net 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
2017-02-17  6:34 ` [PATCH net 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
2017-02-19 14:04 ` [PATCH net 0/4] update ipvs sysctl document Julian Anastasov
2017-02-20  8:19   ` Hangbin Liu
2017-02-20  8:31 ` [PATCHv2 net-next " Hangbin Liu
2017-02-20  8:31   ` [PATCHv2 net-next 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
2017-02-20  8:31   ` [PATCHv2 net-next 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Hangbin Liu
2017-02-20  8:31   ` [PATCHv2 net-next 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
2017-02-20  8:31   ` [PATCHv2 net-next 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
2017-02-21 20:01   ` [PATCHv2 net-next 0/4] update ipvs sysctl document Julian Anastasov
2017-03-13  9:14     ` Simon Horman
2017-03-15  2:42       ` Hangbin Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.