aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/gen_stats.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/networking/gen_stats.txt')
-rw-r--r--Documentation/networking/gen_stats.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/networking/gen_stats.txt b/Documentation/networking/gen_stats.txt
index c3297f79c137..70e6275b757a 100644
--- a/Documentation/networking/gen_stats.txt
+++ b/Documentation/networking/gen_stats.txt
@@ -79,8 +79,8 @@ Rate Estimator:
79 79
800) Prepare an estimator attribute. Most likely this would be in user 800) Prepare an estimator attribute. Most likely this would be in user
81 space. The value of this TLV should contain a tc_estimator structure. 81 space. The value of this TLV should contain a tc_estimator structure.
82 As usual, such a TLV nees to be 32 bit aligned and therefore the 82 As usual, such a TLV needs to be 32 bit aligned and therefore the
83 length needs to be appropriately set etc. The estimator interval 83 length needs to be appropriately set, etc. The estimator interval
84 and ewma log need to be converted to the appropriate values. 84 and ewma log need to be converted to the appropriate values.
85 tc_estimator.c::tc_setup_estimator() is advisable to be used as the 85 tc_estimator.c::tc_setup_estimator() is advisable to be used as the
86 conversion routine. It does a few clever things. It takes a time 86 conversion routine. It does a few clever things. It takes a time
@@ -103,8 +103,8 @@ In the kernel when setting up:
103 else 103 else
104 failed 104 failed
105 105
106From now on, everytime you dump my_rate_est_stats it will contain 106From now on, every time you dump my_rate_est_stats it will contain
107uptodate info. 107up-to-date info.
108 108
109Once you are done, call gen_kill_estimator(my_basicstats, 109Once you are done, call gen_kill_estimator(my_basicstats,
110my_rate_est_stats) Make sure that my_basicstats and my_rate_est_stats 110my_rate_est_stats) Make sure that my_basicstats and my_rate_est_stats