aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic.h
diff options
context:
space:
mode:
authorRoopa Prabhu <roprabhu@cisco.com>2010-12-08 08:53:58 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-10 18:42:21 -0500
commit0b1c00fc3e9f8d658e0632da7e7ee57bed779ec7 (patch)
tree3dc6bd6f7b0cde427c1527e5771ad78f40980eab /drivers/net/enic/enic.h
parent319d7e847355ec7e03d3c865917b2b0e2e592fb8 (diff)
enic: Add ndo_set_vf_mac support for enic dynamic devices
This patch implements the ndo_set_vf_mac netdev operation for enic dynamic devices. It treats the mac address set by IFLA_VF_MAC as a special case to use it in the port profile provisioning data. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index 8f374c1e2caf..bd473a9d739a 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -32,7 +32,7 @@
32 32
33#define DRV_NAME "enic" 33#define DRV_NAME "enic"
34#define DRV_DESCRIPTION "Cisco VIC Ethernet NIC Driver" 34#define DRV_DESCRIPTION "Cisco VIC Ethernet NIC Driver"
35#define DRV_VERSION "1.4.1.8" 35#define DRV_VERSION "1.4.1.9"
36#define DRV_COPYRIGHT "Copyright 2008-2010 Cisco Systems, Inc" 36#define DRV_COPYRIGHT "Copyright 2008-2010 Cisco Systems, Inc"
37 37
38#define ENIC_BARS_MAX 6 38#define ENIC_BARS_MAX 6
@@ -61,6 +61,7 @@ struct enic_port_profile {
61 char name[PORT_PROFILE_MAX]; 61 char name[PORT_PROFILE_MAX];
62 u8 instance_uuid[PORT_UUID_MAX]; 62 u8 instance_uuid[PORT_UUID_MAX];
63 u8 host_uuid[PORT_UUID_MAX]; 63 u8 host_uuid[PORT_UUID_MAX];
64 u8 vf_mac[ETH_ALEN];
64}; 65};
65 66
66/* Per-instance private data structure */ 67/* Per-instance private data structure */