ixgbe: use correct mask when enabling sriov
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 4 May 2016 22:01:27 +0000 (15:01 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 16 May 2016 23:49:36 +0000 (16:49 -0700)
commit11f2b494bc07f3d054687159ad6b1f3ec12a9040
tree74034dac71ee9d49d5e13945613e8012098d7919
parent7e2c3aea4398d079745b9faa2c17b6cbd010f221
ixgbe: use correct mask when enabling sriov

Swap the parameters in GENMASK in order to generate the correct mask.

This change fixes Tx hangs when enabling SRIOV.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c