diff options
author | Waskiewicz Jr, Peter P <peter.p.waskiewicz.jr@intel.com> | 2009-05-17 08:32:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-18 00:04:07 -0400 |
commit | aca6bee75fe53ae019b9cabff42095dfb6471fde (patch) | |
tree | bf7ebd5d5f0aa301c170a98fbf8baeac13696cd0 /drivers/net/ixgbe/ixgbe_common.c | |
parent | 0365e6e4373a5a447746fd7ac26074b92f180311 (diff) |
ixgbe: Add SAN MAC address to the RAR, return the address to DCB
After acquiring the SAN MAC address from the EEPROM, we need to program it
into one of the RARs. Also, DCB will use this MAC address to run DCBX
commands, so it doesn't have to play musical MAC addresses when things like
bonding enter the picture. So we need to return the MAC address through
the netlink interface to userspace.
This also moves the init_rx_addrs() call out of start_hw() and into
reset_hw(). We shouldn't try to read any of the RAR information before
initializing our internal accounting of the RAR table, which was what
was happening.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@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/ixgbe/ixgbe_common.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_common.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c index 60638e267c61..af392758b2b4 100644 --- a/drivers/net/ixgbe/ixgbe_common.c +++ b/drivers/net/ixgbe/ixgbe_common.c | |||
@@ -71,12 +71,6 @@ s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw) | |||
71 | /* Identify the PHY */ | 71 | /* Identify the PHY */ |
72 | hw->phy.ops.identify(hw); | 72 | hw->phy.ops.identify(hw); |
73 | 73 | ||
74 | /* | ||
75 | * Store MAC address from RAR0, clear receive address registers, and | ||
76 | * clear the multicast table | ||
77 | */ | ||
78 | hw->mac.ops.init_rx_addrs(hw); | ||
79 | |||
80 | /* Clear the VLAN filter table */ | 74 | /* Clear the VLAN filter table */ |
81 | hw->mac.ops.clear_vfta(hw); | 75 | hw->mac.ops.clear_vfta(hw); |
82 | 76 | ||