diff options
author | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-03-25 10:16:54 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-03-25 10:26:00 (GMT) |
commit | 4bf2d677b323673336b62dd9d4303679c4f65e75 (patch) | |
tree | c89fb39d993e51ec662a9275bf0b5d639c4befa9 /drivers/net/ethernet/freescale/fman/inc/Peripherals | |
parent | 944b499ed31f083d68cea4be171de10bb8170152 (diff) | |
download | linux-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 'drivers/net/ethernet/freescale/fman/inc/Peripherals')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_port_ext.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_port_ext.h b/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_port_ext.h index 804b598..fda908a 100644 --- a/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_port_ext.h +++ b/drivers/net/ethernet/freescale/fman/inc/Peripherals/fm_port_ext.h @@ -1294,25 +1294,6 @@ typedef enum e_FmPortCounters { e_FM_PORT_COUNTERS_DEQ_CONFIRM /**< QMI counter */ } e_FmPortCounters; -typedef struct t_FmPortBmiStats { - uint32_t cntCycle; - uint32_t cntTaskUtil; - uint32_t cntQueueUtil; - uint32_t cntDmaUtil; - uint32_t cntFifoUtil; - uint32_t cntRxPauseActivation; - uint32_t cntFrame; - uint32_t cntDiscardFrame; - uint32_t cntDeallocBuf; - uint32_t cntRxBadFrame; - uint32_t cntRxLargeFrame; - uint32_t cntRxFilterFrame; - uint32_t cntRxListDmaErr; - uint32_t cntRxOutOfBuffersDiscard; - uint32_t cntWredDiscard; - uint32_t cntLengthErr; - uint32_t cntUnsupportedFormat; -} t_FmPortBmiStats; /**************************************************************************//** @Description Structure for Port id parameters. @@ -1861,21 +1842,6 @@ t_Error FM_PORT_AnalyzePerformanceParams(t_Handle h_FmPort); t_Error FM_PORT_SetAllocBufCounter(t_Handle h_FmPort, uint8_t poolId, bool enable); /**************************************************************************//** - @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(). -*//***************************************************************************/ -t_Error FM_PORT_GetBmiCounters(t_Handle h_FmPort, t_FmPortBmiStats *p_BmiStats); - -/**************************************************************************//** @Function FM_PORT_GetCounter @Description Reads one of the FM PORT counters. |