aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/gen_estimator.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-03-19 17:31:38 -0400
committerDavid S. Miller <davem@davemloft.net>2016-03-20 16:48:07 -0400
commite9fc2f052c96142e50c6ddd0a5e7432af68bd13b (patch)
treef266ccdf0fcb22db95a2cee2e272bc0dd5819d49 /net/core/gen_estimator.c
parentb002fdcc89979ff342d4139d165a4e1d51e586ff (diff)
net: sched: Add description for cpu_bstats argument
Commit 22e0f8b9322c ("net: sched: make bstats per cpu and estimator RCU safe") added the argument cpu_bstats to functions gen_new_estimator and gen_replace_estimator and now the descriptions of these are missing for the documentation. Adding them. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/gen_estimator.c')
-rw-r--r--net/core/gen_estimator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/gen_estimator.c b/net/core/gen_estimator.c
index 92d886f4adcb..4573d81093fe 100644
--- a/net/core/gen_estimator.c
+++ b/net/core/gen_estimator.c
@@ -191,6 +191,7 @@ struct gen_estimator *gen_find_node(const struct gnet_stats_basic_packed *bstats
191/** 191/**
192 * gen_new_estimator - create a new rate estimator 192 * gen_new_estimator - create a new rate estimator
193 * @bstats: basic statistics 193 * @bstats: basic statistics
194 * @cpu_bstats: bstats per cpu
194 * @rate_est: rate estimator statistics 195 * @rate_est: rate estimator statistics
195 * @stats_lock: statistics lock 196 * @stats_lock: statistics lock
196 * @opt: rate estimator configuration TLV 197 * @opt: rate estimator configuration TLV
@@ -287,6 +288,7 @@ EXPORT_SYMBOL(gen_kill_estimator);
287/** 288/**
288 * gen_replace_estimator - replace rate estimator configuration 289 * gen_replace_estimator - replace rate estimator configuration
289 * @bstats: basic statistics 290 * @bstats: basic statistics
291 * @cpu_bstats: bstats per cpu
290 * @rate_est: rate estimator statistics 292 * @rate_est: rate estimator statistics
291 * @stats_lock: statistics lock 293 * @stats_lock: statistics lock
292 * @opt: rate estimator configuration TLV 294 * @opt: rate estimator configuration TLV