aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/enic/enic.h
diff options
context:
space:
mode:
authorRoopa Prabhu <roprabhu@cisco.com>2010-12-08 13:54:03 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-10 15:42:22 -0800
commit29639059a0122d95b34b5475bd9fee3910b401a3 (patch)
treed79443299bf4aeacc8047a87945fea5cc65159ae /drivers/net/enic/enic.h
parent0b1c00fc3e9f8d658e0632da7e7ee57bed779ec7 (diff)
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>
Diffstat (limited to 'drivers/net/enic/enic.h')
-rw-r--r--drivers/net/enic/enic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index bd473a9d739..577067eef65 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -62,6 +62,7 @@ struct enic_port_profile {
u8 instance_uuid[PORT_UUID_MAX];
u8 host_uuid[PORT_UUID_MAX];
u8 vf_mac[ETH_ALEN];
+ u8 mac_addr[ETH_ALEN];
};
/* Per-instance private data structure */