i40e: fix write-back-on-itr to work with legacy itr
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 23 Dec 2015 20:05:47 +0000 (12:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Feb 2016 02:50:15 +0000 (18:50 -0800)
commita3d772a3925d85721ad8518db14603fb1cd99295
tree250b30ad54b85150811da8ae8f7fb9d9a832cde3
parent071c859b878a05c3f603669bfda2e5b4332dd695
i40e: fix write-back-on-itr to work with legacy itr

We were not doing write-back on interrupt throttle for Legacy case in X722.
This patch fixes that, so we do WB_ON_ITR for Legacy as well. Plus the issue
that we should still be setting NO_ITR if we are touching the DYN_CTLN register
since we do not want to change ITR setting here.

Change-ID: I5db8491ee1544118a389db839cecc93e1bbc480e
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c