diff options
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index a1775705b24c..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 { | |||
185 | struct igb_ring { | 188 | struct 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 */ |
@@ -267,7 +270,6 @@ struct igb_adapter { | |||
267 | 270 | ||
268 | /* TX */ | 271 | /* TX */ |
269 | struct igb_ring *tx_ring[16]; | 272 | struct igb_ring *tx_ring[16]; |
270 | unsigned long tx_queue_len; | ||
271 | u32 tx_timeout_count; | 273 | u32 tx_timeout_count; |
272 | 274 | ||
273 | /* RX */ | 275 | /* RX */ |
@@ -324,6 +326,7 @@ struct igb_adapter { | |||
324 | 326 | ||
325 | #define IGB_82576_TSYNC_SHIFT 19 | 327 | #define IGB_82576_TSYNC_SHIFT 19 |
326 | #define IGB_82580_TSYNC_SHIFT 24 | 328 | #define IGB_82580_TSYNC_SHIFT 24 |
329 | #define IGB_TS_HDR_LEN 16 | ||
327 | enum e1000_state_t { | 330 | enum e1000_state_t { |
328 | __IGB_TESTING, | 331 | __IGB_TESTING, |
329 | __IGB_RESETTING, | 332 | __IGB_RESETTING, |
@@ -337,7 +340,6 @@ enum igb_boards { | |||
337 | extern char igb_driver_name[]; | 340 | extern char igb_driver_name[]; |
338 | extern char igb_driver_version[]; | 341 | extern char igb_driver_version[]; |
339 | 342 | ||
340 | extern char *igb_get_hw_dev_name(struct e1000_hw *hw); | ||
341 | extern int igb_up(struct igb_adapter *); | 343 | extern int igb_up(struct igb_adapter *); |
342 | extern void igb_down(struct igb_adapter *); | 344 | extern void igb_down(struct igb_adapter *); |
343 | extern void igb_reinit_locked(struct igb_adapter *); | 345 | extern void igb_reinit_locked(struct igb_adapter *); |