📄 ixf_api_ether_d.h
字号:
/*
*---------------------------------------------------------------------------
*
* I N T E L P R O P R I E T A R Y
*
* COPYRIGHT (c) 2001 BY INTEL CORPORATION. ALL RIGHTS
* RESERVED. NO PART OF THIS PROGRAM OR PUBLICATION MAY
* BE REPRODUCED, TRANSMITTED, TRANSCRIBED, STORED IN A
* RETRIEVAL SYSTEM, OR TRANSLATED INTO ANY LANGUAGE OR COMPUTER
* LANGUAGE IN ANY FORM OR BY ANY MEANS, ELECTRONIC, MECHANICAL,
* MAGNETIC, OPTICAL, CHEMICAL, MANUAL, OR OTHERWISE, WITHOUT
* THE PRIOR WRITTEN PERMISSION OF :
*
* INTEL CORPORATION
*
* 2200 MISSION COLLEGE BLVD
*
* SANTA CLARA, CALIFORNIA 95052-8119
*
*---------------------------------------------------------------------------
*
*
* AUTHOR: $Author: lagarwal $
* DATE: $Date: 2002/11/15 17:51:12 $
* LAST MODIFIED: $Modtime: 2/13/02 1:58p $
* REV#: $Revision: 1.1.1.1 $
* LOGFILE: $Logfile: /Embedded/source/drivers/ixf/ixf_api_ether_d.h $
* WORKFILE: $Workfile: ixf_api_sonet.h $
*
* --------------------------------------------------------------------------
* Project:
*
* Purpose:
*
* Notes:
*
* --------------------------------------------------------------------------
* CompilerFlags:
* --------------------------------------------------------------------------
* --------------------------------------------------------------------------
* --------------------------------------------------------------------------
*/
#ifndef __IXF_API_ETHER_D_H__
#define __IXF_API_ETHER_D_H__
typedef struct
{
ulong ulLowValue;
ulong ulHighValue;
} uint64Struct_t;
typedef uint64Struct_t IxfApi_MacAddress_t;
typedef enum
{
eTxPace_10gbps = 0,
eTxPace_1gbps,
eTxPace_2gbps,
eTxPace_3gbps,
eTxPace_4gbps,
eTxPace_5gbps,
eTxPace_6gbps,
eTxPace_7gbps,
eTxPace_8gbps,
eTxPace_9gbps,
eTxPace_9_294gbps = 0xf,
} eIxfApi_TxPace_t;
typedef struct
{
/*Xgmac_CNTL*/
uchar ucRxPauseFrameAddr;
uchar ucPausePriEn;
uchar ucPrependValue;
uchar ucCntlFrmFilterEn;
uchar ucCont_MDC_En;
uchar ucMDC_SpdSel;
uchar ucLoopback;
uchar ucRxPauseEn;
uchar ucRxEn;
uchar ucTxPauseEn;
uchar ucTxEn;
uchar ucTxPadFrmEn;
uchar ucSftRst;
uchar ucMngmntRst;
uchar ucRxRst;
uchar ucRxCRC_Rst;
uchar ucTxRst;
uchar ucTxCRC_Rst;
uchar ucJumFrmEn;
uchar ucRxCRC_Strip;
uchar ucTxCRC_En;
uchar ucRxUndersizeDropEn;
uchar ucRxOversizeDropEn;
uchar ucRxCrcErrorDropEn;
/*Xgmac_PP*/
eIxfApi_TxPace_t eTxPace;
ushort uiTxPauseCnt;
/*MAC Address*/
uint64Struct_t MAC_Addr;
/*Xgmac_ADDHIJUM*/
ushort uiMaxFrmSize;
} ixfApi_XgmacCfg_t;
typedef struct
{
uchar ucRxLinkFail;
uchar ucRxRemoteFault;
uchar ucRxLocalFault;
uchar ucRxIdleError;
uchar ucRxIllegalSymbol;
uchar ucRxErrorSymbol;
uchar ucAutoscanInProgress;
uchar ucRevisionID;
} ixfApi_XgmacStatus_t;
typedef struct
{
uint64Struct_t OctetsTxOK;
uint64Struct_t MulticastFramesTxOK;
uint64Struct_t BroadcastFramesTxOK;
uint64Struct_t FramesTxOK;
uint64Struct_t Counter64OctetTxFrames;
uint64Struct_t Counter65to127TxFrames;
uint64Struct_t Counter128to255TxFrames;
uint64Struct_t Counter256to511TxFrames;
uint64Struct_t Counter512to1023TxOK;
uint64Struct_t Counter1024to15xxTxOK;
uint64Struct_t Counter15xxtoMaxTxOK;
uint64Struct_t VLANFramesTxOK;
uint64Struct_t PAUSECtrlFramesTx;
uint64Struct_t UnicastFramesTxOK;
uint64Struct_t MACCtrlFramesTx;
uint64Struct_t OctetsRxOK;
uint64Struct_t MulticastFramesRxOK;
uint64Struct_t BroadcastFramesRxOK;
uint64Struct_t FramesRxOK;
uint64Struct_t Counter64OctetRxFrames;
uint64Struct_t Counter65to127RxFrames;
uint64Struct_t Counter128to255RxFrames;
uint64Struct_t Counter256to511RxOK;
uint64Struct_t Counter512to1023RxOK;
uint64Struct_t Counter1024to15xxRxOK;
uint64Struct_t Counter15xxtoMaxRxOK;
uint64Struct_t VLANFramesRxOK;
uint64Struct_t PAUSEMACCtrlFramesRx;
uint64Struct_t UnicastFramesRxOK;
uint64Struct_t MACCtrlFramesRx;
uint64Struct_t EtherStatsUndersizePkts;
uint64Struct_t EtherStatsOversizePkts;
uint64Struct_t EtherStatsOctets;
uint64Struct_t EtherStatsPkts;
uint64Struct_t EtherStatsFragments;
uint64Struct_t EtherStatsJabbers;
uint64Struct_t FrameCheckSeqErr;
} ixfApi_XgmacCounters_t;
#endif /*__IXF_API_ETHER_D_H__*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -