diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2019-10-09 07:09:48 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-11-06 16:41:45 -0800 |
commit | 395594563b29fbcd8d9a4f0a642484e5d3bb6db1 (patch) | |
tree | e1bc6c2e0658849b1edb4af514a0ce39ebd204ff /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | eb0ee8abfeb9ff4b98e8e40217b8667bfb08587a (diff) | |
download | talos-op-linux-395594563b29fbcd8d9a4f0a642484e5d3bb6db1.tar.gz talos-op-linux-395594563b29fbcd8d9a4f0a642484e5d3bb6db1.zip |
ice: write register with correct offset
The VF_MBX_ARQLEN register array is per-PF, not global, so we should not
use the absolute VF ID as an index. Instead, use the per-PF VF ID.
This fixes an issue with VFs on PFs other than 0 not seeing reset.
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions