Go to the documentation of this file.
4 #define DESC_NCOOKIES(entry_size) \
5 ((entry_size) - sizeof(struct vio_net_desc))
10 #define VNET_TX_TIMEOUT (5 * HZ)
12 #define VNET_TX_RING_SIZE 512
13 #define VNET_TX_WAKEUP_THRESH(dr) ((dr)->pending / 4)
19 #define VNET_PACKET_SKIP 6
48 #define VNET_PORT_HASH_SIZE 16
49 #define VNET_PORT_HASH_MASK (VNET_PORT_HASH_SIZE - 1)
51 static inline unsigned int vnet_hashfn(
u8 *
mac)
53 unsigned int val = mac[4] ^ mac[5];