projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b002fdc
)
net: sched: Add description for cpu_bstats argument
author
Luis de Bethencourt
<
[email protected]
>
Sat, 19 Mar 2016 21:31:38 +0000
(21:31 +0000)
committer
David S. Miller
<
[email protected]
>
Sun, 20 Mar 2016 20:48:07 +0000
(16:48 -0400)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/core/gen_estimator.c
patch
|
blob
|
history
diff --git
a/net/core/gen_estimator.c
b/net/core/gen_estimator.c
index 92d886f4adcbd9feebbf9ae5eb084f8ba5fa946b..4573d81093fe5623e518a4efb585930fe20fcce3 100644
(file)
--- 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
/**
* gen_new_estimator - create a new rate estimator
* @bstats: basic statistics
+ * @cpu_bstats: bstats per cpu
* @rate_est: rate estimator statistics
* @stats_lock: statistics lock
* @opt: rate estimator configuration TLV
@@
-287,6
+288,7
@@
EXPORT_SYMBOL(gen_kill_estimator);
/**
* gen_replace_estimator - replace rate estimator configuration
* @bstats: basic statistics
+ * @cpu_bstats: bstats per cpu
* @rate_est: rate estimator statistics
* @stats_lock: statistics lock
* @opt: rate estimator configuration TLV