]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:37 +0000 (16:40 -0700)
commitc88328a5f065f8ac43a0d50f638c5542df6e1a64
tree7e061c6bea395398d1223696386e78867297bd51
parent13e3bc5f7e67541275a0d08b14650da9197664c4
ixgbevf: minor cleanups for ixgbevf_set_itr()

Orabug: 23177316

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>
(cherry picked from commit 9ad3d6f7eb300d464bfce2c80e7b1594f5e5eff9)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c