i40e: avoid unnecessary register read
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 28 Nov 2013 06:39:36 +0000 (06:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 6 Jan 2014 10:06:51 +0000 (02:06 -0800)
commitb141d6196c748796993890f461dd83c9657ee616
tree68c7df9dede04826024d0fd2765d8ec81cf241d3
parent1b60f3c41654a8f102daa5686a5a1bfe769393f7
i40e: avoid unnecessary register read

We don't need to read the base VF id. It's already stashed in the HW
struct.

Change-Id: Ib81e2f76fc40b12c966e014a856b481912cafefc
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c