aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 3b772b822a5d..6e63d9a7fc75 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -107,6 +107,7 @@ struct vf_data_storage {
107#define MAXIMUM_ETHERNET_VLAN_SIZE 1522 107#define MAXIMUM_ETHERNET_VLAN_SIZE 1522
108 108
109/* Supported Rx Buffer Sizes */ 109/* Supported Rx Buffer Sizes */
110#define IGB_RXBUFFER_64 64 /* Used for packet split */
110#define IGB_RXBUFFER_128 128 /* Used for packet split */ 111#define IGB_RXBUFFER_128 128 /* Used for packet split */
111#define IGB_RXBUFFER_1024 1024 112#define IGB_RXBUFFER_1024 1024
112#define IGB_RXBUFFER_2048 2048 113#define IGB_RXBUFFER_2048 2048
@@ -140,8 +141,10 @@ struct igb_buffer {
140 unsigned long time_stamp; 141 unsigned long time_stamp;
141 u16 length; 142 u16 length;
142 u16 next_to_watch; 143 u16 next_to_watch;
143 u16 mapped_as_page; 144 unsigned int bytecount;
144 u16 gso_segs; 145 u16 gso_segs;
146 union skb_shared_tx shtx;
147 u8 mapped_as_page;
145 }; 148 };
146 /* RX */ 149 /* RX */
147 struct { 150 struct {
@@ -185,7 +188,7 @@ struct igb_q_vector {
185struct igb_ring { 188struct igb_ring {
186 struct igb_q_vector *q_vector; /* backlink to q_vector */ 189 struct igb_q_vector *q_vector; /* backlink to q_vector */
187 struct net_device *netdev; /* back pointer to net_device */ 190 struct net_device *netdev; /* back pointer to net_device */
188 struct pci_dev *pdev; /* pci device for dma mapping */ 191 struct device *dev; /* device pointer for dma mapping */
189 dma_addr_t dma; /* phys address of the ring */ 192 dma_addr_t dma; /* phys address of the ring */
190 void *desc; /* descriptor ring memory */ 193 void *desc; /* descriptor ring memory */
191 unsigned int size; /* length of desc. ring in bytes */ 194 unsigned int size; /* length of desc. ring in bytes */
@@ -323,6 +326,7 @@ struct igb_adapter {
323 326
324#define IGB_82576_TSYNC_SHIFT 19 327#define IGB_82576_TSYNC_SHIFT 19
325#define IGB_82580_TSYNC_SHIFT 24 328#define IGB_82580_TSYNC_SHIFT 24
329#define IGB_TS_HDR_LEN 16
326enum e1000_state_t { 330enum e1000_state_t {
327 __IGB_TESTING, 331 __IGB_TESTING,
328 __IGB_RESETTING, 332 __IGB_RESETTING,
@@ -336,7 +340,6 @@ enum igb_boards {
336extern char igb_driver_name[]; 340extern char igb_driver_name[];
337extern char igb_driver_version[]; 341extern char igb_driver_version[];
338 342
339extern char *igb_get_hw_dev_name(struct e1000_hw *hw);
340extern int igb_up(struct igb_adapter *); 343extern int igb_up(struct igb_adapter *);
341extern void igb_down(struct igb_adapter *); 344extern void igb_down(struct igb_adapter *);
342extern void igb_reinit_locked(struct igb_adapter *); 345extern void igb_reinit_locked(struct igb_adapter *);