Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
sunvnet.h File Reference

Go to the source code of this file.

Data Structures

struct  vnet_tx_entry
 
struct  vnet_port
 
struct  vnet_mcast_entry
 
struct  vnet
 

Macros

#define DESC_NCOOKIES(entry_size)   ((entry_size) - sizeof(struct vio_net_desc))
 
#define VNET_TX_TIMEOUT   (5 * HZ)
 
#define VNET_TX_RING_SIZE   512
 
#define VNET_TX_WAKEUP_THRESH(dr)   ((dr)->pending / 4)
 
#define VNET_PACKET_SKIP   6
 
#define VNET_PORT_HASH_SIZE   16
 
#define VNET_PORT_HASH_MASK   (VNET_PORT_HASH_SIZE - 1)
 

Macro Definition Documentation

#define DESC_NCOOKIES (   entry_size)    ((entry_size) - sizeof(struct vio_net_desc))

Definition at line 4 of file sunvnet.h.

#define VNET_PACKET_SKIP   6

Definition at line 19 of file sunvnet.h.

#define VNET_PORT_HASH_MASK   (VNET_PORT_HASH_SIZE - 1)

Definition at line 49 of file sunvnet.h.

#define VNET_PORT_HASH_SIZE   16

Definition at line 48 of file sunvnet.h.

#define VNET_TX_RING_SIZE   512

Definition at line 12 of file sunvnet.h.

#define VNET_TX_TIMEOUT   (5 * HZ)

Definition at line 10 of file sunvnet.h.

#define VNET_TX_WAKEUP_THRESH (   dr)    ((dr)->pending / 4)

Definition at line 13 of file sunvnet.h.