]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 23:36:10 +0000 (15:36 -0800)
commit95b79b08d6b90090b285be13297bef745cdfa9f8
treef64358578b3e142486a9415f3b4708c8d2e45947
parentfa1dfe0e6e5ebc286746b5dceb6742e923a25f79
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>
drivers/net/benet/be_cmds.c
drivers/net/benet/be_main.c