i40evf: Force Tx writeback on ITR
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Sat, 10 Jan 2015 01:07:19 +0000 (01:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Feb 2015 08:07:58 +0000 (00:07 -0800)
commitc29af37fd5b7b649b57139cee6bf730c996fe756
tree1f2c7d1caaa4f43c0d272a86ad2adca19c1f00dd
parent88086e5d0adf27cf819e11a0a3159d8ef09773a6
i40evf: Force Tx writeback on ITR

This patch forces Tx descriptor writebacks on ITR by kicking
off the SWINT interrupt when we notice that there are non-cache-aligned
Tx descriptors waiting in the ring while interrupts are disabled
under NAPI.

Change-ID: dd6d9675629bf266c7515ad7a201394618c35444
Signed-off-by: Anjali Singhai Jain <anjali.singhai@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
drivers/net/ethernet/intel/i40evf/i40e_txrx.h