ixgbevf: move API neg to reset path
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 1 Oct 2013 11:33:51 +0000 (04:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:49:48 +0000 (12:49 -0400)
commit798e381a0c387dcbcb014e07c0e6683cf2d2dc22
tree3cc1b03857968ab2f898c8a67908df266c923aef
parent858c3dda5ea3519a3799a147904ae1d6e6c4e7c1
ixgbevf: move API neg to reset path

After this patch the API negotiation will occur in the reset path.  So now
the PF will be informed of the API version earlier.  This will also require
the mailbox lock to be initialize sooner as well.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c