enic: Add ndo_set_vf_mac support for enic dynamic devices
authorRoopa Prabhu <roprabhu@cisco.com>
Wed, 8 Dec 2010 13:53:58 +0000 (13:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 23:42:21 +0000 (15:42 -0800)
commit0b1c00fc3e9f8d658e0632da7e7ee57bed779ec7
tree3dc6bd6f7b0cde427c1527e5771ad78f40980eab
parent319d7e847355ec7e03d3c865917b2b0e2e592fb8
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>
drivers/net/enic/enic.h
drivers/net/enic/enic_main.c