enic: Use VF mac set by IFLA_VF_MAC in port profile provisioning data
authorRoopa Prabhu <roprabhu@cisco.com>
Wed, 8 Dec 2010 13:54:03 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 23:42:22 +0000 (15:42 -0800)
commit29639059a0122d95b34b5475bd9fee3910b401a3
treed79443299bf4aeacc8047a87945fea5cc65159ae
parent0b1c00fc3e9f8d658e0632da7e7ee57bed779ec7
enic: Use VF mac set by IFLA_VF_MAC in port profile provisioning data

This patch adds support in enic 802.1Qbh port profile provisioning code
to use the mac address set by IFLA_VF_MAC. For now we handle this mac as a
special case for a VM mac address sent to us by libvirt. The VM mac address
is sent to the switch along with the rest of the port profile provisioning
data. This patch also adds calls to register and deregister the mac address
during port profile association/deassociation.

Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic.h
drivers/net/enic/enic_main.c