]> git.openfabrics.org - ~emulex/infiniband.git/commit
e1000e: Program the correct register for ITR when using MSI-X.
authorMatthew Vick <matthew.vick@intel.com>
Thu, 12 Jul 2012 00:02:42 +0000 (00:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 14 Jul 2012 09:58:34 +0000 (02:58 -0700)
commit22a4cca2f4c2d60c703cdc42158c907570f508e6
tree62977b37e1e8f9077089a2a3d1337f7085e3f92b
parent18115f82bc93094a3554f3013cc314ee366a6e7a
e1000e: Program the correct register for ITR when using MSI-X.

When configuring interrupt throttling on 82574 in MSI-X mode, we need to
be programming the EITR registers instead of the ITR register.

-rc2: Renamed e1000_write_itr() to e1000e_write_itr(), fixed whitespace
      issues, and removed unnecessary !! operation.
-rc3: Reduced the scope of the loop variable in e1000e_write_itr().

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/ethernet/intel/e1000e/netdev.c