]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8731f60187319adeda2385f5220e0c7ca5f2570
tree98389c0361d7935bbfe52d3fc4edb666a5250afe
parent5285a1bd40d67c16ac8cd69902b2f0fa91865d6b
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