[PATCH] ipvs: SH fallback and L4 hashing

2013-06-19 Thread Alexander Frolkin
be set per service. They are set using a new option to ipvsadm. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk --- The patch is against the ipvs-next tree. diff --git a/include/uapi/linux/ip_vs.h b/include/uapi/linux/ip_vs.h index a245377..2945822 100644 --- a/include/uapi/linux/ip_vs.h +++ b

Re: [PATCH] ipvs: SH fallback and L4 hashing

2013-06-21 Thread Alexander Frolkin
Hi, I also noticed some fuzz. Alexander, could you double-check ipvs-next to make sure that I applied the patch correctly? I diff'ed my local dev branch with upstream, and the only thing I can see that has any relation to my patches is: diff --git a/net/netfilter/ipvs/ip_vs_sh.c

[PATCH] ipvs: sloppy TCP and SCTP

2013-06-12 Thread Alexander Frolkin
-flight. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk --- The patch is against the latest ipvs-next tree. diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 4405886..22bea5d 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -1002,6 +1002,8 @@ struct netns_ipvs

[PATCH] ipvs: sloppy TCP and SCTP

2013-06-13 Thread Alexander Frolkin
-flight. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk --- The patch is against the ipvs-next tree. diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 4405886..22bea5d 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -1002,6 +1002,8 @@ struct netns_ipvs { int

[PATCH] ipvs: improved SH fallback strategy

2013-09-23 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk --- diff --git a/net

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-24 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk -- diff --git a/net

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-25 Thread Alexander Frolkin
Hi, could you add some comments to the code or at least a description of the algorithm to the above the function. The intent of original code may not have been obvious to the eye but this version certainly isn't obvious to mine. Sure. I have a bad habit of assuming that if I understand

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-25 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk -- diff --git a/net

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-26 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk -- diff --git a/net

Re: [PATCHv2] ipvs: improved SH fallback strategy

2013-09-27 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin a...@eldamar.org.uk -- diff --git a/net

Re: [PATCH] ipvs: SH fallback and L4 hashing

2013-06-21 Thread Alexander Frolkin
Hi, > I also noticed some fuzz. > Alexander, could you double-check ipvs-next to make sure > that I applied the patch correctly? I diff'ed my local dev branch with upstream, and the only thing I can see that has any relation to my patches is: diff --git a/net/netfilter/ipvs/ip_vs_sh.c

[PATCH] ipvs: improved SH fallback strategy

2013-09-23 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin --- diff --git a/net/netfilter/ipvs

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-24 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin -- diff --git a/net/netfilter/ipvs

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-25 Thread Alexander Frolkin
Hi, > could you add some comments to the code or at least a description of the > algorithm to the above the function. The intent of original code may not > have been obvious to the eye but this version certainly isn't obvious to > mine. Sure. I have a bad habit of assuming that if I understand

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-25 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin -- diff --git a/net/netfilter/ipvs

Re: [PATCH] ipvs: improved SH fallback strategy

2013-09-26 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin -- diff --git a/net/netfilter/ipvs

Re: [PATCHv2] ipvs: improved SH fallback strategy

2013-09-27 Thread Alexander Frolkin
Improve the SH fallback realserver selection strategy. With sh and sh-fallback, if a realserver is down, this attempts to distribute the traffic that would have gone to that server evenly among the remaining servers. Signed-off-by: Alexander Frolkin -- diff --git a/net/netfilter/ipvs

[PATCH] ipvs: SH fallback and L4 hashing

2013-06-19 Thread Alexander Frolkin
be set per service. They are set using a new option to ipvsadm. Signed-off-by: Alexander Frolkin --- The patch is against the ipvs-next tree. diff --git a/include/uapi/linux/ip_vs.h b/include/uapi/linux/ip_vs.h index a245377..2945822 100644 --- a/include/uapi/linux/ip_vs.h +++ b/include/uapi/linux

[PATCH] ipvs: sloppy TCP and SCTP

2013-06-12 Thread Alexander Frolkin
-flight. Signed-off-by: Alexander Frolkin --- The patch is against the latest ipvs-next tree. diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 4405886..22bea5d 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -1002,6 +1002,8 @@ struct netns_ipvs { int

[PATCH] ipvs: sloppy TCP and SCTP

2013-06-13 Thread Alexander Frolkin
-flight. Signed-off-by: Alexander Frolkin --- The patch is against the ipvs-next tree. diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 4405886..22bea5d 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -1002,6 +1002,8 @@ struct netns_ipvs { int