Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
il4965_scd_bc_tbl Struct Reference

#include <4965.h>

Data Fields

__le16 tfd_offset [TFD_QUEUE_BC_SIZE]
 
u8 pad [1024-(TFD_QUEUE_BC_SIZE)*sizeof(__le16)]
 

Detailed Description

struct il4965_schedq_bc_tbl

Byte Count table

Each Tx queue uses a byte-count table containing 320 entries: one 16-bit entry for each of 256 TFDs, plus an additional 64 entries that duplicate the first 64 entries (to avoid wrap-around within a Tx win; max Tx win is 64 TFDs).

When driver sets up a new TFD, it must also enter the total byte count of the frame to be transmitted into the corresponding entry in the byte count table for the chosen Tx queue. If the TFD idx is 0-63, the driver must duplicate the byte count entry in corresponding idx 256-319.

padding puts each byte count table on a 1024-byte boundary; 4965 assumes tables are separated by 1024 bytes.

Definition at line 907 of file 4965.h.

Field Documentation

Definition at line 909 of file 4965.h.

Definition at line 908 of file 4965.h.


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