enic: Add support for fw init command on sriov vf's
authorRoopa Prabhu <roprabhu@cisco.com>
Mon, 20 Feb 2012 00:12:04 +0000 (00:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2012 05:51:41 +0000 (00:51 -0500)
commit2b68c18194b078489a84023564bcf7464b6c7b37
tree0c01ef38c4b20fbc576977032be00fd0a3a07c85
parentb476583354fc62cae433eb24d4027597c03be4c9
enic: Add support for fw init command on sriov vf's

This patch fixes enic_probe to do a fw init devcmd for sriov vfs.
This enables vf driver in the guest to get into adapter init state without
having to explicitly issue an init fw cmd with portprofile info. But a
successful init on the vf will require the port profile information to be
pre-provisioned by the hypervisor via the pf

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