Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
gfar_priv_tx_q Struct Reference

#include <gianfar.h>

Public Member Functions

spinlock_t txlock __attribute__ ((aligned(SMP_CACHE_BYTES)))
 

Data Fields

struct sk_buff ** tx_skbuff
 
dma_addr_t tx_bd_dma_base
 
struct txbd8tx_bd_base
 
struct txbd8cur_tx
 
struct txbd8dirty_tx
 
struct tx_q_stats stats
 
struct net_devicedev
 
struct gfar_priv_grpgrp
 
u16 skb_curtx
 
u16 skb_dirtytx
 
u16 qindex
 
unsigned int tx_ring_size
 
unsigned int num_txbdfree
 
unsigned char txcoalescing
 
unsigned long txic
 
unsigned short txcount
 
unsigned short txtime
 

Detailed Description

struct gfar_priv_tx_q - per tx queue structure : per queue tx spin lock :skb pointers : to be used skb pointer :the last used skb pointer : bytes/packets stats : index of this queue : back pointer to the dev structure : back pointer to the group to which this queue belongs : First tx buffer descriptor : Next free ring entry : First buffer in line to be transmitted : Tx ring size : number of free TxBds : enable/disable tx coalescing : transmit interrupt coalescing value : coalescing value if based on tx frame count : coalescing value if based on time

Definition at line 939 of file gianfar.h.

Member Function Documentation

Field Documentation

struct txbd8* cur_tx

Definition at line 945 of file gianfar.h.

Definition at line 948 of file gianfar.h.

struct txbd8* dirty_tx

Definition at line 946 of file gianfar.h.

Definition at line 949 of file gianfar.h.

unsigned int num_txbdfree

Definition at line 954 of file gianfar.h.

u16 qindex

Definition at line 952 of file gianfar.h.

u16 skb_curtx

Definition at line 950 of file gianfar.h.

u16 skb_dirtytx

Definition at line 951 of file gianfar.h.

Definition at line 947 of file gianfar.h.

struct txbd8* tx_bd_base

Definition at line 944 of file gianfar.h.

dma_addr_t tx_bd_dma_base

Definition at line 943 of file gianfar.h.

unsigned int tx_ring_size

Definition at line 953 of file gianfar.h.

struct sk_buff** tx_skbuff

Definition at line 941 of file gianfar.h.

unsigned char txcoalescing

Definition at line 956 of file gianfar.h.

unsigned short txcount

Definition at line 958 of file gianfar.h.

unsigned long txic

Definition at line 957 of file gianfar.h.

unsigned short txtime

Definition at line 959 of file gianfar.h.


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