All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
CSystemInfo Class Reference

#include <SystemInfo.h>

Collaboration diagram for CSystemInfo:
Collaboration graph

Classes

union  prt_linkstatus_t
 
struct  TLinkStatus
 
struct  TPoolInfo
 
struct  TPortInfo
 
struct  TSystemInfo
 

Public Types

enum  EGlobal { PHACTTAP_MAX_PORTS = 4096, PHACTTAP_MAX_IF = 16, VERSION = 2 }
 

Public Member Functions

prt_linkstatus_t GetStatus (int iCaviumPort)
 
bool SetStatus (int iCaviumPort, CSystemInfo::prt_linkstatus_t tLinkStatus)
 
bool VersionCompatible (void)
 
bool GetMAC (int iPort)
 
int GetBaseQueue (int iPort)
 
int GetNumQueues (int iPort)
 
cvmx_fpa_pool_info_t GetPoolInfo (int iPool)
 
bool SetPoolInfo (int iPool, cvmx_fpa_pool_info_t tPoolInfo)
 

Static Public Member Functions

static CSystemInfoInstance (bool bAsMaster=false)
 

Static Public Attributes

static CSystemInfom_pInstance
 

Detailed Description

Definition at line 16 of file SystemInfo.h.

Member Enumeration Documentation

Enumerator
PHACTTAP_MAX_PORTS 
PHACTTAP_MAX_IF 
VERSION 

Definition at line 20 of file SystemInfo.h.

Member Function Documentation

int CSystemInfo::GetBaseQueue ( int  iPort)
bool CSystemInfo::GetMAC ( int  iPort)
int CSystemInfo::GetNumQueues ( int  iPort)
cvmx_fpa_pool_info_t CSystemInfo::GetPoolInfo ( int  iPool)
prt_linkstatus_t CSystemInfo::GetStatus ( int  iCaviumPort)
static CSystemInfo* CSystemInfo::Instance ( bool  bAsMaster = false)
static
bool CSystemInfo::SetPoolInfo ( int  iPool,
cvmx_fpa_pool_info_t  tPoolInfo 
)
bool CSystemInfo::SetStatus ( int  iCaviumPort,
CSystemInfo::prt_linkstatus_t  tLinkStatus 
)
bool CSystemInfo::VersionCompatible ( void  )

Member Data Documentation

CSystemInfo* CSystemInfo::m_pInstance
static

Definition at line 109 of file SystemInfo.h.


The documentation for this class was generated from the following file: