]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: simplify reading PFVFLRE register
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 10 Jul 2017 20:23:09 +0000 (13:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 2 Oct 2017 15:04:57 +0000 (08:04 -0700)
commited12fcd91a354dae8d5fd91f0dc446e1d66aacd9
treef096264712e5ee1cf096405cfb206fea4663c464
parent875b03b9e8e7cbd74a616c1a372c72f6b96b138e
fm10k: simplify reading PFVFLRE register

We're doing a really convoluted bitshift and read for the PFVFLRE
register. Just reading the PFVFLRE(1), shifting it by 32, then reading
PFVFLRE(0) should be sufficient.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_iov.c