36 #ifndef __DEV_NET_ETHERDEVICE_HH__
37 #define __DEV_NET_ETHERDEVICE_HH__
41 #include "params/EtherDevBase.hh"
42 #include "params/EtherDevice.hh"
141 const EtherDevBaseParams *
144 return dynamic_cast<const EtherDevBaseParams *
>(
_params);
149 #endif // __DEV_NET_ETHERDEVICE_HH__
EtherDevice(const Params *params)
Stats::Formula totBandwidth
Stats::Scalar totalRxIdle
Stats::Scalar descDmaReads
Stats::Scalar descDmaWrites
Dummy class to keep the Python class hierarchy in sync with the C++ object hierarchy.
PCI device, base implementation is only config space.
Stats::Scalar rxIpChecksums
Stats::Scalar rxUdpChecksums
const EtherDevBaseParams * params() const
Stats::Scalar postedRxIdle
Stats::Scalar totalRxDesc
Stats::Scalar rxTcpChecksums
Stats::Formula coalescedRxOrn
Stats::Formula totPackets
Declaration of Statistics objects.
This is a simple scalar statistic, like a counter.
virtual EtherInt * getEthPort(const std::string &if_name, int idx=-1)=0
Additional function to return the Port of a memory object.
Stats::Scalar postedTxDesc
Stats::Formula coalescedTxOk
Stats::Formula coalescedTxDesc
const Params * params() const
Stats::Formula txBandwidth
void regStats()
Register statistics for this object.
Stats::Scalar totalTxDesc
Stats::Formula coalescedTxIdle
Stats::Scalar descDmaWrBytes
Stats::Scalar txIpChecksums
Stats::Scalar postedTxIdle
Stats::Scalar droppedPackets
Stats::Scalar descDmaRdBytes
Stats::Formula coalescedSwi
Stats::Scalar totalTxIdle
Stats::Formula coalescedRxIdle
Stats::Scalar txUdpChecksums
Stats::Scalar postedRxOrn
Stats::Formula txPacketRate
Stats::Formula coalescedTotal
Stats::Scalar postedRxDesc
const SimObjectParams * _params
Cached copy of the object parameters.
The base EtherObject class, allows for an accesor function to a simobj that returns the Port...
Stats::Formula rxPacketRate
Stats::Formula rxBandwidth
Stats::Scalar postedInterrupts
Stats::Formula coalescedRxDesc
EtherDevBase(const EtherDevBaseParams *params)
Stats::Formula coalescedRxOk
Stats::Scalar txTcpChecksums
Stats::Formula totPacketRate