]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94009e50bb62a98d10491f718ff74263c604819c
tree0c01ef38c4b20fbc576977032be00fd0a3a07c85
parentc0debb4cae0ce2f21f0057ac2fe29bfe85b260d1
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