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

(cherry picked from commit 2b68c18194b078489a84023564bcf7464b6c7b37)
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