commit | e3a7ae2c1819aa210a38f80f6bf13322652c8211 | [log] [tgz] |
---|---|---|
author | Somnath Kotur <somnath.kotur@emulex.com> | Thu Oct 27 07:14:05 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 27 23:16:20 2011 -0400 |
tree | 75cbeb4866aee1e1d8c75148200795a17c1f657a | |
parent | 106df1e3594c710c74348883a4942f65651781ff [diff] |
be2net: Changing MAC Address of a VF was broken. 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>