]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:12 +0000 (08:22 +0800)
commitf2021cb79c09b43d37aa2b417f583b4cfa247320
tree3d5b38ec296a70eae4a07dd655eb0f595651abb8
parent2fb79201c080dac7b7bad39af21610b14c1f7f3a
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.

(cherry picked from commit b476583354fc62cae433eb24d4027597c03be4c9)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/enic/enic.h
drivers/net/enic/enic_main.c