i40e: use correct vf_id offset for virtchnl message
authorAshish Shah <ashish.n.shah@intel.com>
Fri, 1 Aug 2014 20:27:06 +0000 (13:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Aug 2014 02:41:14 +0000 (19:41 -0700)
commitf19efbb5eff0ed718f8e213d256e3291ed4e43a9
tree98389c0361d7935bbfe52d3fc4edb666a5250afe
parent53db45cd9ae5f39163054d55051a5a9ad0f5b821
i40e: use correct vf_id offset for virtchnl message

The vf_id needs to be offset by the vf_base_id from hw function capabilities
for the case of multiple PFs.

Change-ID: I20ca8621f98e9cdf98649380b8eeaa35db52677c
Signed-off-by: Ashish Shah <ashish.n.shah@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c