]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5cb22061ab1d40f23858360e354b4662f00d8e9e
tree3dc6bd6f7b0cde427c1527e5771ad78f40980eab
parente2d59331b88571acde473dd7fe87993ff467cc3c
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