ixgbevf: minor cleanups for ixgbevf_set_itr()
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 5 Nov 2015 00:02:21 +0000 (16:02 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Dec 2015 03:16:05 +0000 (19:16 -0800)
commit9ad3d6f7eb300d464bfce2c80e7b1594f5e5eff9
tree24ba289e67849482e66abe3f24fd064484e198e9
parentd0f71afffa1c3d5a36a4a278f1dbbd2643176dc3
ixgbevf: minor cleanups for ixgbevf_set_itr()

adapter->rx_itr_setting is not a mask so check it with == instead of &
do not default to 12K interrupts in ixgbevf_set_itr()

There should be no functional effect from these changes.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c