]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20ebb94c70a000fe5bd560822c365ee1a43e0ca9
tree24ba289e67849482e66abe3f24fd064484e198e9
parent8431ae4e15d8ae73ab36a43918eba07e9ff6ff49
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