ixgbe: Add SAN MAC address to the RAR, return the address to DCB
authorWaskiewicz Jr, Peter P <peter.p.waskiewicz.jr@intel.com>
Sun, 17 May 2009 12:32:48 +0000 (12:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 04:04:07 +0000 (21:04 -0700)
commitaca6bee75fe53ae019b9cabff42095dfb6471fde
treebf7ebd5d5f0aa301c170a98fbf8baeac13696cd0
parent0365e6e4373a5a447746fd7ac26074b92f180311
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>
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_dcb_nl.c