]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c6b19f82de79067d95e07fb1b301b03d8b0cb7f
treebf7ebd5d5f0aa301c170a98fbf8baeac13696cd0
parentbc51d5a0bb8522d496c6daf3f4691a5d087105e3
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