summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYin Honghua-R63875 <Hong-Hua.Yin@freescale.com>2015-11-24 06:43:01 (GMT)
committerYin Honghua-R63875 <Hong-Hua.Yin@freescale.com>2015-11-24 06:43:01 (GMT)
commitfd8e7c71bf30389a5145efc9d088775e0f22402c (patch)
tree948300f57ef8d1bca163fbc1102ccb480ee6ef87 /include
parent1c291fd8f4204f5515e27cbd2e7413320efd3b0b (diff)
parenta9d0ea5a4d3b679ae3316c93b455d2ccc993772d (diff)
downloadlinux-fsl-qoriq-fd8e7c71bf30389a5145efc9d088775e0f22402c.tar.xz
Merge pull request #69 in SDK/linux-devel from ~R27762/linux-devel:add_hm_node_stats to master
* commit 'a9d0ea5a4d3b679ae3316c93b455d2ccc993772d': fmd: Render header manip node statistics available in user space
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h b/include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h
index 99f654b..ad655cc 100644
--- a/include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h
+++ b/include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h
@@ -2331,6 +2331,14 @@ typedef struct ioc_fm_pcd_manip_stats_t {
} u;
} ioc_fm_pcd_manip_stats_t;
+/**************************************************************************//**
+ @Description Parameters for acquiring manipulation statistics
+*//***************************************************************************/
+typedef struct ioc_fm_pcd_manip_get_stats_t {
+ void *id;
+ ioc_fm_pcd_manip_stats_t stats;
+} ioc_fm_pcd_manip_get_stats_t;
+
#if DPAA_VERSION >= 11
/**************************************************************************//**
@Description Parameters for defining frame replicator group and its members
@@ -2897,6 +2905,23 @@ typedef struct ioc_fm_pcd_cc_tbl_get_stats_t {
#define FM_PCD_IOC_MANIP_NODE_DELETE _IOW(FM_IOC_TYPE_BASE, FM_PCD_IOC_NUM(44), ioc_fm_obj_t)
/**************************************************************************//**
+ @Function FM_PCD_ManipGetStatistics
+
+ @Description Retrieve the manipulation statistics.
+
+ @Param[in] h_ManipNode A handle to a manipulation node.
+ @Param[out] p_FmPcdManipStats A structure for retrieving the manipulation statistics
+
+ @Return E_OK on success; Error code otherwise.
+
+ @Cautions Allowed only following FM_PCD_ManipNodeSet().
+*//***************************************************************************/
+#if defined(CONFIG_COMPAT)
+#define FM_PCD_IOC_MANIP_GET_STATS_COMPAT _IOWR(FM_IOC_TYPE_BASE, FM_PCD_IOC_NUM(50), ioc_compat_fm_pcd_manip_get_stats_t)
+#endif
+#define FM_PCD_IOC_MANIP_GET_STATS _IOWR(FM_IOC_TYPE_BASE, FM_PCD_IOC_NUM(50), ioc_fm_pcd_manip_get_stats_t)
+
+/**************************************************************************//**
@Function FM_PCD_SetAdvancedOffloadSupport
@Description This routine must be called in order to support the following features: