42 addr = uint32_t(wlist[0]) | uint32_t(wlist[1])<<16;
49 uint32_t& addr, uint16_t& len)
51 addr = uint32_t(wlist[0]) | uint32_t(wlist[1] & 0xff)<<16;
52 len = (wlist[1]>>8) & 0xff;
59 uint32_t addr, uint16_t len)
61 wlist[0] = uint16_t(addr);
62 wlist[1] = uint16_t(addr>>16) | ((len & 0xff)<<8);
71 uint16_t next = index + inc;
72 if (next >= size) next -= size;
95 return base + 2 * uint32_t(elen) * uint32_t(index);
uint16_t fTxRingELen
tx ring entry length
bool fRunning
in kSTATE_RUN and active
void Wlist2UBAddrLen(const uint16_t wlist[2], uint32_t &addr, uint16_t &len)
FIXME_docs.
void Wlist2UBAddr(const uint16_t wlist[2], uint32_t &addr)
FIXME_docs.
Rtime fRxPollTime
rx poll time interval
uint16_t TxRingIndexNext(uint16_t inc=1) const
FIXME_docs.
uint16_t fRxRingELen
rx ring entry length
void UBAddrLen2Wlist(uint16_t wlist[2], uint32_t addr, uint16_t len)
FIXME_docs.
size_t fRxQueLimit
rx queue limit
uint16_t fTxRingIndex
tx ring index
uint32_t TxRingDscAddr(uint16_t index) const
FIXME_docs.
bool Running() const
FIXME_docs.
size_t RxQueLimit() const
FIXME_docs.
uint32_t RingDscAddr(uint32_t base, uint16_t elen, uint16_t index) const
FIXME_docs.
const Rtime & RxPollTime() const
FIXME_docs.
uint16_t fRxRingIndex
rx ring index
uint32_t fTxRingBase
tx ring base
uint16_t fRxRingSize
rx ring size (# of entries)
uint32_t RxRingDscAddr(uint16_t index) const
FIXME_docs.
uint16_t fTxRingSize
tx ring size (# of entries)
uint32_t fRxRingBase
rx ring base
uint16_t RingIndexNext(uint16_t index, uint16_t size, uint16_t inc=1) const
FIXME_docs.
static void SetRingDsc(uint16_t dst[4], const uint16_t src[4])
FIXME_docs.
uint16_t RxRingIndexNext(uint16_t inc=1) const
FIXME_docs.
Declaration of class ReventLoop.