]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Refactor force_wb and WB_ON_ITR functionality code
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Thu, 14 Jan 2016 00:51:43 +0000 (16:51 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:37:19 +0000 (08:37 -0800)
commit95bae0aa9832f6f47829713213b22b6531d5b47e
tree659189bf11f54c1bb144ac6f59bd9584818bc8b1
parent764b744f545b2b265c180701f16c1c84341e674d
i40e: Refactor force_wb and WB_ON_ITR functionality code

Orabug: 22342532

Now that the Force-WriteBack functionality in X710/XL710 devices
has been moved out of the clean routine and into the service task,
we need to make sure WriteBack-On-ITR is separated out since it
is still called from clean.

In the X722 devices, Force-WriteBack implies WriteBack-On-ITR but
without the interrupt, which put the driver into a missed
interrupt scenario and a potential tx-timeout report.

With this patch, we break the two functions out, and call the
appropriate ones at the right place. This will avoid creating missed
interrupt like scenarios for X722 devices.

Also update copyright year in file headers.

Change-ID: Iacbde39f95f332f82be8736864675052c3583a40
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>
(cherry picked from commit ecc6a239e8dd233951bd3337f34d9ba4c46720c9)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.h