]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: configure GLINT_ITR to always have an ITR gran of 2
authorBrett Creeley <brett.creeley@intel.com>
Fri, 8 Feb 2019 20:50:55 +0000 (12:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 Mar 2019 23:56:10 +0000 (16:56 -0700)
commit70457520bab82bd758307837964ef7bbd5dd9dc8
tree1dba5c8513c5f0d4dca202c8db111a8b7adc90ca
parent80ed404abb480563aaefef28accc69801a95f964
ice: configure GLINT_ITR to always have an ITR gran of 2

Instead of hoping that our ITR granularity will be 2 usec program the
GLINT_CTL register to make sure the ITR granularity is always 2 usecs.

Now that we know what the ITR granularity will be get rid of the check
in ice_probe() to verify our previous assumption.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_hw_autogen.h
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_txrx.h