]> www.infradead.org Git - users/jedix/linux-maple.git/commit
enic: remove assignment of random mac on enic vf
authorRoopa Prabhu <roprabhu@cisco.com>
Sat, 11 Feb 2012 22:12:44 +0000 (22:12 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:11 +0000 (08:22 +0800)
commitd9adf6f1b6835c9a2a2373e275dce4b665c05e3e
tree6069120344c87eeca6288900f4960a0e56a1c3c4
parentde36faa0cd2f3d055174888442518c50cf460428
enic: remove assignment of random mac on enic vf

This patch removes random mac assignment on vf's. The vf's will start with
a zero mac and with upcoming support in fw/driver, a vf mac can be set
via the pf. vf's also support ndo_set_mac_address. This decision was made
based on the fact that a random mac on a vf is not really needed. And this
will reduce some of the problems with the vf's getting a new mac on
every driver load/unload (one of them being udev renaming the device on ever
load/unload and reboot).

(cherry picked from commit 73c2ae763af0eaa1794dda68c63f97c2905722a8)
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: sujith sankar <ssujith@cisco.com>
Signed-off-by: ChingWei Chang <cwchang@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/enic/enic.h
drivers/net/enic/enic_main.c