mpParam: add CC

This commit is contained in:
Quentin De Coninck 2015-11-25 10:46:27 +01:00
parent bc33615af5
commit b1f390b4e4

View File

@ -5,6 +5,7 @@ class MpParamXp(MpParam):
RMEM = "rmem" RMEM = "rmem"
WMEM = "wmem" WMEM = "wmem"
SCHED = "sched" SCHED = "sched"
CC = "congctrl"
KERNELPM = "kpm" KERNELPM = "kpm"
KERNELPMC = "kpmc" #kernel path manager client / server KERNELPMC = "kpmc" #kernel path manager client / server
KERNELPMS = "kpms" KERNELPMS = "kpms"
@ -37,6 +38,7 @@ class MpParamXp(MpParam):
sysctlKey[WMEM] = "net.ipv4.tcp_wmem" sysctlKey[WMEM] = "net.ipv4.tcp_wmem"
sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager" sysctlKey[KERNELPM] = "net.mptcp.mptcp_path_manager"
sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler" sysctlKey[SCHED] = "net.mptcp.mptcp_scheduler"
sysctlKey[CC] = "net.ipv4.tcp_congestion_control"
sysctlKeyClient = {} sysctlKeyClient = {}
sysctlKeyClient[KERNELPMC] = "net.mptcp.mptcp_path_manager" sysctlKeyClient[KERNELPMC] = "net.mptcp.mptcp_path_manager"
@ -54,6 +56,7 @@ class MpParamXp(MpParam):
defaultValue[USERPMS] = "fullmesh" defaultValue[USERPMS] = "fullmesh"
defaultValue[USERPMCARGS] = "" defaultValue[USERPMCARGS] = ""
defaultValue[USERPMSARGS] = "" defaultValue[USERPMSARGS] = ""
defaultValue[CC] = "olia"
defaultValue[SCHED] = "default" defaultValue[SCHED] = "default"
defaultValue[CLIENTPCAP] = "no" defaultValue[CLIENTPCAP] = "no"