Add MODULE_VERSION to TCP loadable congestion control modules.
Without versioning information, using preexisting loader / linker code is not easily possible when another module may have dependencies on pre-loaded modules, and also doesn't allow the automatic loading of dependent modules. No functional change of the actual modules. Reviewed by: tuexen (mentor), rgrimes (mentor) Approved by: tuexen (mentor), rgrimes (mentor) MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D25744
This commit is contained in:
parent
33a1a488d5
commit
66ba9aafcf
@ -714,5 +714,5 @@ SYSCTL_UINT(_net_inet_tcp_cc_cdg, OID_AUTO, loss_compete_hold_backoff,
|
||||
"the window backoff for loss based CC compatibility");
|
||||
|
||||
DECLARE_CC_MODULE(cdg, &cdg_cc_algo);
|
||||
|
||||
MODULE_VERSION(cdg, 1);
|
||||
MODULE_DEPEND(cdg, ertt, 1, 1, 1);
|
||||
|
@ -493,4 +493,5 @@ SYSCTL_UINT(_net_inet_tcp_cc_chd, OID_AUTO, use_max,
|
||||
"as the basic delay measurement for the algorithm.");
|
||||
|
||||
DECLARE_CC_MODULE(chd, &chd_cc_algo);
|
||||
MODULE_VERSION(chd, 1);
|
||||
MODULE_DEPEND(chd, ertt, 1, 1, 1);
|
||||
|
@ -473,3 +473,4 @@ cubic_ssthresh_update(struct cc_var *ccv)
|
||||
|
||||
|
||||
DECLARE_CC_MODULE(cubic, &cubic_cc_algo);
|
||||
MODULE_VERSION(cubic, 1);
|
||||
|
@ -464,3 +464,4 @@ SYSCTL_PROC(_net_inet_tcp_cc_dctcp, OID_AUTO, slowstart,
|
||||
"half CWND reduction after the first slow start");
|
||||
|
||||
DECLARE_CC_MODULE(dctcp, &dctcp_cc_algo);
|
||||
MODULE_VERSION(dctcp, 1);
|
||||
|
@ -251,4 +251,5 @@ SYSCTL_PROC(_net_inet_tcp_cc_hd, OID_AUTO, queue_min,
|
||||
"minimum queueing delay threshold (qmin) in ticks");
|
||||
|
||||
DECLARE_CC_MODULE(hd, &hd_cc_algo);
|
||||
MODULE_VERSION(hd, 1);
|
||||
MODULE_DEPEND(hd, ertt, 1, 1, 1);
|
||||
|
@ -530,3 +530,4 @@ SYSCTL_UINT(_net_inet_tcp_cc_htcp, OID_AUTO, rtt_scaling,
|
||||
"enable H-TCP RTT scaling");
|
||||
|
||||
DECLARE_CC_MODULE(htcp, &htcp_cc_algo);
|
||||
MODULE_VERSION(htcp, 1);
|
||||
|
@ -396,3 +396,4 @@ SYSCTL_PROC(_net_inet_tcp_cc_newreno, OID_AUTO, beta_ecn,
|
||||
"New Reno beta ecn, specified as number between 1 and 100");
|
||||
|
||||
DECLARE_CC_MODULE(newreno, &newreno_cc_algo);
|
||||
MODULE_VERSION(newreno, 1);
|
||||
|
@ -301,4 +301,5 @@ SYSCTL_PROC(_net_inet_tcp_cc_vegas, OID_AUTO, beta,
|
||||
"vegas beta, specified as number of \"buffers\" (0 < alpha < beta)");
|
||||
|
||||
DECLARE_CC_MODULE(vegas, &vegas_cc_algo);
|
||||
MODULE_VERSION(vegas, 1);
|
||||
MODULE_DEPEND(vegas, ertt, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user