aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-10-27 11:52:07 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-28 04:20:28 -0400
commit4c844851d15cc08d995179ab5118172711be6eb0 (patch)
tree1dff1bd32ce280080730ccedf75846a34a6082e0 /drivers/net/igb/igb.h
parent80785298aa5b6f2005a34afb97457ae7a65af270 (diff)
igb: move rx_buffer_len into the ring structure
This patch moves the rx_buffer_len value into the ring structure. This allows greater flexibility and the option of doing things such as supporting packet split only on some queues, or enabling virtualization. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index de268620dd92..00ff274b16db 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -198,7 +198,7 @@ struct igb_ring {
198 /* RX */ 198 /* RX */
199 struct { 199 struct {
200 struct igb_rx_queue_stats rx_stats; 200 struct igb_rx_queue_stats rx_stats;
201 u64 rx_queue_drops; 201 u32 rx_buffer_len;
202 }; 202 };
203 }; 203 };
204}; 204};
@@ -218,7 +218,6 @@ struct igb_adapter {
218 struct vlan_group *vlgrp; 218 struct vlan_group *vlgrp;
219 u16 mng_vlan_id; 219 u16 mng_vlan_id;
220 u32 bd_number; 220 u32 bd_number;
221 u32 rx_buffer_len;
222 u32 wol; 221 u32 wol;
223 u32 en_mng_pt; 222 u32 en_mng_pt;
224 u16 link_speed; 223 u16 link_speed;