enic: Fix ndo_set_vf_mac and ndo_set_vf_port to set/get the sriov vf's mac
authorRoopa Prabhu <roprabhu@cisco.com>
Mon, 20 Feb 2012 00:11:58 +0000 (00:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2012 05:51:41 +0000 (00:51 -0500)
commitb476583354fc62cae433eb24d4027597c03be4c9
tree2d3b004bb1de1dc44324dede0a8d1a9536847cac
parentd6c81bc6dca768dff1a3f127beee11e8102669a7
enic: Fix ndo_set_vf_mac and ndo_set_vf_port to set/get the sriov vf's mac

This patch fixes the ndo_set_vf_mac netdev op to set the sriov vf mac
in adapter using the new fw devcmd CMD_SET_MAC_ADDR. During port profile
associate the pf driver gets the vf mac using CMD_GET_MAC_ADDR.

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