be2net: Changing MAC Address of a VF was broken.
authorSomnath Kotur <somnath.kotur@emulex.com>
Thu, 27 Oct 2011 07:14:05 +0000 (07:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Oct 2011 03:16:20 +0000 (23:16 -0400)
Allow for MAC Address change of VF(SR-IOV case) on the fly- First add and then
delete MAC Address to allow for 'out of pool' errors.
When MAC Addr configured from a VM, the MAC on the NIC will aleady have
the supplied MAC,so just copy the supplied MAC to the netdev structure
before returning success to the stack

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found