Go to the documentation of this file.
33 #include <linux/types.h>
36 #include <linux/netdevice.h>
37 #include <linux/if_vlan.h>
46 #define IGBVF_START_ITR 488
47 #define IGBVF_4K_ITR 980
48 #define IGBVF_20K_ITR 196
49 #define IGBVF_70K_ITR 56
60 #define IGBVF_INT_MODE_LEGACY 0
61 #define IGBVF_INT_MODE_MSI 1
62 #define IGBVF_INT_MODE_MSIX 2
65 #define IGBVF_DEFAULT_TXD 256
66 #define IGBVF_MAX_TXD 4096
67 #define IGBVF_MIN_TXD 80
69 #define IGBVF_DEFAULT_RXD 256
70 #define IGBVF_MAX_RXD 4096
71 #define IGBVF_MIN_RXD 80
73 #define IGBVF_MIN_ITR_USECS 10
74 #define IGBVF_MAX_ITR_USECS 10000
87 #define IGBVF_RX_PTHRESH 16
88 #define IGBVF_RX_HTHRESH 8
89 #define IGBVF_RX_WTHRESH 1
92 #define MAXIMUM_ETHERNET_VLAN_SIZE 1522
94 #define IGBVF_FC_PAUSE_TIME 0x0680
97 #define IGBVF_TX_QUEUE_WAKE 32
99 #define IGBVF_RX_BUFFER_WRITE 16
101 #define AUTO_ALL_MODES 0
102 #define IGBVF_EEPROM_APME 0x0400
104 #define IGBVF_MNG_VLAN_NONE (-1)
107 #define PS_PAGE_BUFFERS (MAX_PS_BUFFERS - 1)
297 #define IGBVF_FLAG_RX_CSUM_DISABLED (1 << 0)
299 #define IGBVF_RX_DESC_ADV(R, i) \
300 (&((((R).desc))[i].rx_desc))
301 #define IGBVF_TX_DESC_ADV(R, i) \
302 (&((((R).desc))[i].tx_desc))
303 #define IGBVF_TX_CTXTDESC_ADV(R, i) \
304 (&((((R).desc))[i].tx_context_desc))