]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: remove workaround for resetting XPS
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 14 Jul 2017 13:10:08 +0000 (09:10 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 27 Aug 2017 23:06:02 +0000 (16:06 -0700)
commit5ed732a8b1fb052f511293115b9fb2cb9996d963
tree76c495739f3f5e9ec999900dbe372a0fb8a08198
parent00ed53b35725933a4616a547b57fa06cb9fc3d89
i40e: remove workaround for resetting XPS

Since commit 7d544a69bc6f ("i40e: Set XPS bit mask to zero in DCB mode")
we've tried to reset the XPS settings by building a custom
empty CPU mask.

This workaround is not necessary because we're not really removing the
XPS setting, but simply setting it so that no CPU is valid.

Second, we shorten the code further by using zalloc_cpumask_var instead
of a separate call to bitmap_zero().

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c