]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/netfilter/ipvs/ip_vs_ctl.c
IPVS: one-packet scheduling
authorNick Chalk <nick@loadbalancer.org>
Tue, 22 Jun 2010 06:07:01 +0000 (08:07 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 22 Jun 2010 06:07:01 +0000 (08:07 +0200)
commit26ec037f9841e49cc5c615deb8e1e73e5beab2ca
treea7c4a77d173dd8759ed413a60b2941cbb1fca899
parentc68cd6cc21eb329c47ff020ff7412bf58176984e
IPVS: one-packet scheduling

Allow one-packet scheduling for UDP connections. When the fwmark-based or
normal virtual service is marked with '-o' or '--ops' options all
connections are created only to schedule one packet. Useful to schedule UDP
packets from same client port to different real servers. Recommended with
RR or WRR schedulers (the connections are not visible with ipvsadm -L).

Signed-off-by: Nick Chalk <nick@loadbalancer.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/ip_vs.h
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_ctl.c