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

#include <common.h>

Data Fields

__le32bd
 
dma_addr_t bd_dma
 
struct il_rx_buf pool [RX_QUEUE_SIZE+RX_FREE_BUFFERS]
 
struct il_rx_bufqueue [RX_QUEUE_SIZE]
 
u32 read
 
u32 write
 
u32 free_count
 
u32 write_actual
 
struct list_head rx_free
 
struct list_head rx_used
 
int need_update
 
struct il_rb_statusrb_stts
 
dma_addr_t rb_stts_dma
 
spinlock_t lock
 

Detailed Description

struct il_rx_queue - Rx queue : driver's pointer to buffer of receive buffer descriptors (rbd) : bus address of buffer of receive buffer descriptors (rbd) : Shared idx to newest available Rx buffer : Shared idx to oldest written Rx packet : Number of pre-allocated buffers in rx_free : list of free SKBs for use : List of Rx buffers with no SKB : flag to indicate we need to update read/write idx : driver's pointer to receive buffer status : bus address of receive buffer status

NOTE: rx_free and rx_used are used as a FIFO for il_rx_bufs

Definition at line 610 of file common.h.

Field Documentation

__le32* bd

Definition at line 611 of file common.h.

dma_addr_t bd_dma

Definition at line 612 of file common.h.

u32 free_count

Definition at line 617 of file common.h.

spinlock_t lock

Definition at line 624 of file common.h.

int need_update

Definition at line 621 of file common.h.

Definition at line 613 of file common.h.

Definition at line 614 of file common.h.

struct il_rb_status* rb_stts

Definition at line 622 of file common.h.

dma_addr_t rb_stts_dma

Definition at line 623 of file common.h.

u32 read

Definition at line 615 of file common.h.

Definition at line 619 of file common.h.

struct list_head rx_used

Definition at line 620 of file common.h.

u32 write

Definition at line 616 of file common.h.

u32 write_actual

Definition at line 618 of file common.h.


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