i40e: move PF ID init from PF reset to SC init
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 11 Dec 2013 08:17:13 +0000 (08:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 8 Jan 2014 05:49:47 +0000 (21:49 -0800)
commit5f9116ac4e6dc29e147643e0dd27dee3190c34e7
treed60db032925460e72a9b2eb073f00bf6f435a662
parentaf9810ea90d09336d9cc1328264d9f74e05c76a6
i40e: move PF ID init from PF reset to SC init

Move PF ID initialization code from PF reset routine to earlier driver
initialization function.  There are a few operations which need the
PF ID before the first PF reset is called.

Change-Id: I7e971f7556b46a837149850ec05ce115c35db575
Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c