aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_hw.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-07-23 14:08:54 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-26 12:46:52 -0400
commit28fc06f58b1fe567bb86c7d0e3d93137e5c0126e (patch)
tree8f579894d96f4d9aea951f8985f0cd8e5fb6b16c /drivers/net/igb/e1000_hw.h
parent009bc06e5311b48c77b7708d9e226ae0f110373a (diff)
igb: move all multicast addresses into multicast table array
This patch moves all of the multicast addresses out of the free Receive address registers and instead programs them all into the multicast table array. As a result the multicast filtering may not be as precise, but it also greatly reduces the overhead for multicast addresses. 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/e1000_hw.h')
-rw-r--r--drivers/net/igb/e1000_hw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h
index eb41f3b8234f..83f9b4f6d5e1 100644
--- a/drivers/net/igb/e1000_hw.h
+++ b/drivers/net/igb/e1000_hw.h
@@ -338,6 +338,10 @@ struct e1000_mac_info {
338 u16 ifs_ratio; 338 u16 ifs_ratio;
339 u16 ifs_step_size; 339 u16 ifs_step_size;
340 u16 mta_reg_count; 340 u16 mta_reg_count;
341
342 /* Maximum size of the MTA register table in all supported adapters */
343 #define MAX_MTA_REG 128
344 u32 mta_shadow[MAX_MTA_REG];
341 u16 rar_entry_count; 345 u16 rar_entry_count;
342 346
343 u8 forced_speed_duplex; 347 u8 forced_speed_duplex;