]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJack Vogel <jack.vogel@oracle.com>
Tue, 10 Oct 2017 21:15:25 +0000 (14:15 -0700)
commit9f99cec7c0564f1854cf3a2b8e466fc7a2ab42cf
tree28887ce62cc7605e52b5f190cc2aea94a0923c7b
parent1d5d647e7898aea4a625906642354ee8ac4c4c7d
i40e: remove workaround for resetting XPS

Since commit 3ffa037d7f78 ("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>
Orabug: 26785018
(cherry picked from commit ba4460d45a6ec04e29e55e6c97edc0e842c18999)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Kyle Fortin <kyle.fortin@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c