summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHonghua Yin <Hong-Hua.Yin@freescale.com>2015-03-25 10:16:54 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-03-25 10:26:00 (GMT)
commit4bf2d677b323673336b62dd9d4303679c4f65e75 (patch)
treec89fb39d993e51ec662a9275bf0b5d639c4befa9 /include
parent944b499ed31f083d68cea4be171de10bb8170152 (diff)
downloadlinux-fsl-qoriq-4bf2d677b323673336b62dd9d4303679c4f65e75.tar.xz
Revert "fmd: Add support for reading BMI counters from US"
This reverts commit 1aa49383a4e16ce0c98c73cf81e1a9b2938e68fc. Change-Id: I67ab8f420b1d0777b8229dd91cba56b1bdc88d27 Reviewed-on: http://git.am.freescale.net:8181/33431 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h b/include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h
index 0d5965e..49d1f50 100644
--- a/include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h
+++ b/include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h
@@ -186,26 +186,6 @@ typedef enum ioc_fm_port_counters {
e_IOC_FM_PORT_COUNTERS_DEQ_CONFIRM /**< QMI counter */
} ioc_fm_port_counters;
-typedef struct ioc_fm_port_bmi_stats_t {
- uint32_t cnt_cycle;
- uint32_t cnt_task_util;
- uint32_t cnt_queue_util;
- uint32_t cnt_dma_util;
- uint32_t cnt_fifo_util;
- uint32_t cnt_rx_pause_activation;
- uint32_t cnt_frame;
- uint32_t cnt_discard_frame;
- uint32_t cnt_dealloc_buf;
- uint32_t cnt_rx_bad_frame;
- uint32_t cnt_rx_large_frame;
- uint32_t cnt_rx_filter_frame;
- uint32_t cnt_rx_list_dma_err;
- uint32_t cnt_rx_out_of_buffers_discard;
- uint32_t cnt_wred_discard;
- uint32_t cnt_length_err;
- uint32_t cnt_unsupported_format;
-} ioc_fm_port_bmi_stats_t;
-
/**************************************************************************//**
@Description Structure for Port id parameters.
(Description may be inaccurate;
@@ -935,23 +915,6 @@ typedef struct ioc_fm_port_vsp_alloc_params_t {
#define FM_PORT_IOC_VSP_ALLOC _IOW(FM_IOC_TYPE_BASE, FM_PORT_IOC_NUM(38), ioc_fm_port_vsp_alloc_params_t)
#endif /* (DPAA_VERSION >= 11) */
-/**************************************************************************//**
- @Function FM_PORT_GetBmiCounters
-
- @Description Read port's BMI stat counters and place them into
- a designated structure of counters.
-
- @Param[in] h_FmPort A handle to a FM Port module.
- @Param[out] p_BmiStats counters structure
-
- @Return E_OK on success; Error code otherwise.
-
- @Cautions Allowed only following FM_PORT_Init().
-*//***************************************************************************/
-
-#define FM_PORT_IOC_GET_BMI_COUNTERS _IOR(FM_IOC_TYPE_BASE, FM_PORT_IOC_NUM(42), ioc_fm_port_bmi_stats_t)
-
-
/** @} */ /* end of lnx_ioctl_FM_PORT_pcd_runtime_control_grp group */
/** @} */ /* end of lnx_ioctl_FM_PORT_runtime_control_grp group */