diff options
author | Aurelian Zanoschi <Aurelian.Zanoschi@freescale.com> | 2013-08-23 16:14:21 (GMT) |
---|---|---|
committer | Rivera Jose-B46482 <German.Rivera@freescale.com> | 2013-08-28 14:33:05 (GMT) |
commit | 658fb7c23113780e96ac8fc2503a058d49377281 (patch) | |
tree | a1dc60d6b19b7b67934fe0eddcb03493f847f81a /include/linux | |
parent | a8b2a8b56e9bce84ef3512c39fc154a7ae082406 (diff) | |
download | linux-fsl-qoriq-658fb7c23113780e96ac8fc2503a058d49377281.tar.xz |
dpa_offload: Added Traffic Manager user-space counter implementation
Added support for Traffic Manager user-space DPA Stats counter in
driver. The Traffic Manager counters can be used both from user-space or
kernel-space depending on the user needs. If the counter is created from
user-space, all the retrieving mechanism is implemented in user-space
and same happens for kernel-space case. The counters is marked as a
user-space counter and the kernel will provide for this counter only the
offset where the user-space library to write the statistics of the counter.
This patch corrects some compilation warnings caused by QMan CEETM
API changes.
Change-Id: I48c4df286ab78efe2a16d46c4fd376d153732944
Signed-off-by: Aurelian Zanoschi <Aurelian.Zanoschi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/4196
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fsl_dpa_stats.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fsl_dpa_stats.h b/include/linux/fsl_dpa_stats.h index b8fe850..5ba731e 100644 --- a/include/linux/fsl_dpa_stats.h +++ b/include/linux/fsl_dpa_stats.h @@ -469,7 +469,7 @@ struct dpa_stats_cnt_traffic_mng { enum dpa_stats_cnt_traffic_mng_src src; /* - * Depending on the Traffic Manager source, the 'traffic_obj' has a + * Depending on the Traffic Manager source, the 'traffic_mng' has a * different meaning: it represents a pointer to a structure of type * 'qm_ceetm_cq' in case the traffic source is a "Class Queue" or a * pointer to a structure of type 'qm_ceetm_ccg' in case the traffic @@ -690,7 +690,7 @@ struct dpa_stats_cls_cnt_traffic_mng { enum dpa_stats_cnt_traffic_mng_src src; /* - * Depending on the Traffic Manager source, the 'traffic_obj' has a + * Depending on the Traffic Manager source, the 'traffic_mng' has a * different meaning: it represents an array of pointers to structures * of type 'qm_ceetm_cq' in case the traffic source is a "Class Queue" * or an array of pointers to structures of type 'qm_ceetm_ccg' in case |