NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Model82576vf::tx_queue Struct Reference
Inheritance diagram for Model82576vf::tx_queue:
Model82576vf::queue

Public Types

enum  {
  TDBAL = 0x800/4, TDBAH = 0x804/4, TDLEN = 0x808/4, TDH = 0x810/4,
  TDT = 0x818/4, TXDCTL = 0x828/4, TDWBAL = 0x838/4, TDWBAH = 0x83C/4
}

Public Member Functions

void reset ()
void txdctl_poll ()
void handle_ctx (uint64 addr, tx_desc &desc)
void apply_segmentation (uint8 *packet, uint32 packet_len, const tx_desc &desc, bool tse)
void apply_offload (uint8 *packet, uint32 packet_len, const tx_desc &tx_desc)
void handle_dta (uint64 addr, tx_desc &desc)
void tdt_poll ()
uint32 read (uint32 offset)
void write (uint32 offset, uint32 val)
- Public Member Functions inherited from Model82576vf::queue
void init (Model82576vf *_parent, unsigned _n, uint32 *_regs)

Public Attributes

uint32 txdctl_old
tx_desc ctx [8]
uint8 packet_buf [64 *1024]
unsigned packet_cur
- Public Attributes inherited from Model82576vf::queue
Model82576vfparent
unsigned n
volatile uint32regs

Member Enumeration Documentation

anonymous enum
Enumerator:
TDBAL 
TDBAH 
TDLEN 
TDH 
TDT 
TXDCTL 
TDWBAL 
TDWBAH 

Member Function Documentation

void Model82576vf::tx_queue::apply_offload ( uint8 packet,
uint32  packet_len,
const tx_desc &  tx_desc 
)
inline
void Model82576vf::tx_queue::apply_segmentation ( uint8 packet,
uint32  packet_len,
const tx_desc &  desc,
bool  tse 
)
inline
void Model82576vf::tx_queue::handle_ctx ( uint64  addr,
tx_desc &  desc 
)
inline
void Model82576vf::tx_queue::handle_dta ( uint64  addr,
tx_desc &  desc 
)
inline
uint32 Model82576vf::tx_queue::read ( uint32  offset)
inline
void Model82576vf::tx_queue::reset ( )
inlinevirtual

Implements Model82576vf::queue.

void Model82576vf::tx_queue::tdt_poll ( )
inline
void Model82576vf::tx_queue::txdctl_poll ( )
inline
void Model82576vf::tx_queue::write ( uint32  offset,
uint32  val 
)
inline

Member Data Documentation

tx_desc Model82576vf::tx_queue::ctx[8]
uint8 Model82576vf::tx_queue::packet_buf[64 *1024]
unsigned Model82576vf::tx_queue::packet_cur
uint32 Model82576vf::tx_queue::txdctl_old

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