diff options
Diffstat (limited to 'drivers/net/igb')
-rw-r--r-- | drivers/net/igb/igb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index b9fcfd3c9576..3298f5a11dab 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h | |||
@@ -185,16 +185,15 @@ struct igb_ring { | |||
185 | dma_addr_t dma; /* phys address of the ring */ | 185 | dma_addr_t dma; /* phys address of the ring */ |
186 | void *desc; /* descriptor ring memory */ | 186 | void *desc; /* descriptor ring memory */ |
187 | unsigned int size; /* length of desc. ring in bytes */ | 187 | unsigned int size; /* length of desc. ring in bytes */ |
188 | unsigned int count; /* number of desc. in the ring */ | 188 | u16 count; /* number of desc. in the ring */ |
189 | u16 next_to_use; | 189 | u16 next_to_use; |
190 | u16 next_to_clean; | 190 | u16 next_to_clean; |
191 | u8 queue_index; | ||
192 | u8 reg_idx; | ||
191 | void __iomem *head; | 193 | void __iomem *head; |
192 | void __iomem *tail; | 194 | void __iomem *tail; |
193 | struct igb_buffer *buffer_info; /* array of buffer info structs */ | 195 | struct igb_buffer *buffer_info; /* array of buffer info structs */ |
194 | 196 | ||
195 | u8 queue_index; | ||
196 | u8 reg_idx; | ||
197 | |||
198 | unsigned int total_bytes; | 197 | unsigned int total_bytes; |
199 | unsigned int total_packets; | 198 | unsigned int total_packets; |
200 | 199 | ||
@@ -249,6 +248,7 @@ struct igb_adapter { | |||
249 | u32 en_mng_pt; | 248 | u32 en_mng_pt; |
250 | u16 link_speed; | 249 | u16 link_speed; |
251 | u16 link_duplex; | 250 | u16 link_duplex; |
251 | |||
252 | unsigned int total_tx_bytes; | 252 | unsigned int total_tx_bytes; |
253 | unsigned int total_tx_packets; | 253 | unsigned int total_tx_packets; |
254 | unsigned int total_rx_bytes; | 254 | unsigned int total_rx_bytes; |
@@ -311,8 +311,8 @@ struct igb_adapter { | |||
311 | u32 eeprom_wol; | 311 | u32 eeprom_wol; |
312 | 312 | ||
313 | struct igb_ring *multi_tx_table[IGB_ABS_MAX_TX_QUEUES]; | 313 | struct igb_ring *multi_tx_table[IGB_ABS_MAX_TX_QUEUES]; |
314 | unsigned int tx_ring_count; | 314 | u16 tx_ring_count; |
315 | unsigned int rx_ring_count; | 315 | u16 rx_ring_count; |
316 | unsigned int vfs_allocated_count; | 316 | unsigned int vfs_allocated_count; |
317 | struct vf_data_storage *vf_data; | 317 | struct vf_data_storage *vf_data; |
318 | }; | 318 | }; |