Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Imported Upstream version 17.05.2
[deb_dpdk.git]
/
lib
/
librte_metrics
/
rte_metrics.h
diff --git
a/lib/librte_metrics/rte_metrics.h
b/lib/librte_metrics/rte_metrics.h
index
0fa3104
..
297300a
100644
(file)
--- a/
lib/librte_metrics/rte_metrics.h
+++ b/
lib/librte_metrics/rte_metrics.h
@@
-118,7
+118,8
@@
void rte_metrics_init(int socket_id);
* is required for updating said metric's value.
*
* @param name
* is required for updating said metric's value.
*
* @param name
- * Metric name
+ * Metric name. If this exceeds RTE_METRICS_MAX_NAME_LEN (including
+ * the NULL terminator), it is truncated.
*
* @return
* - Zero or positive: Success (index key of new metric)
*
* @return
* - Zero or positive: Success (index key of new metric)