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

#include <internal.h>

Data Fields

__le32bd
 
dma_addr_t bd_dma
 
struct iwl_rx_mem_buffer pool [RX_QUEUE_SIZE+RX_FREE_BUFFERS]
 
struct iwl_rx_mem_bufferqueue [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 iwl_rb_statusrb_stts
 
dma_addr_t rb_stts_dma
 
spinlock_t lock
 

Detailed Description

struct iwl_rx_queue - Rx queue : driver's pointer to buffer of receive buffer descriptors (rbd) : bus address of buffer of receive buffer descriptors (rbd) : : : Shared index to newest available Rx buffer : Shared index 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 index : 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 iwl_rx_mem_buffers

Definition at line 94 of file internal.h.

Field Documentation

__le32* bd

Definition at line 95 of file internal.h.

dma_addr_t bd_dma

Definition at line 96 of file internal.h.

u32 free_count

Definition at line 101 of file internal.h.

spinlock_t lock

Definition at line 108 of file internal.h.

int need_update

Definition at line 105 of file internal.h.

Definition at line 97 of file internal.h.

Definition at line 98 of file internal.h.

Definition at line 106 of file internal.h.

dma_addr_t rb_stts_dma

Definition at line 107 of file internal.h.

u32 read

Definition at line 99 of file internal.h.

Definition at line 103 of file internal.h.

struct list_head rx_used

Definition at line 104 of file internal.h.

u32 write

Definition at line 100 of file internal.h.

u32 write_actual

Definition at line 102 of file internal.h.


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