summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40e_txrx.h
diff options
context:
space:
mode:
authorAnjali Singhai Jain2015-01-10 02:07:19 +0100
committerJeff Kirsher2015-02-09 09:07:58 +0100
commitc29af37fd5b7b649b57139cee6bf730c996fe756 (patch)
tree1f2c7d1caaa4f43c0d272a86ad2adca19c1f00dd /drivers/net/ethernet/intel/i40evf/i40e_txrx.h
parenti40e: stop the service task at shutdown (diff)
downloadkernel-qcow2-linux-c29af37fd5b7b649b57139cee6bf730c996fe756.tar.gz
kernel-qcow2-linux-c29af37fd5b7b649b57139cee6bf730c996fe756.tar.xz
kernel-qcow2-linux-c29af37fd5b7b649b57139cee6bf730c996fe756.zip
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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_txrx.h')
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40e_txrx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_txrx.h b/drivers/net/ethernet/intel/i40evf/i40e_txrx.h
index c7f29626eada..4e15903b2b6d 100644
--- a/drivers/net/ethernet/intel/i40evf/i40e_txrx.h
+++ b/drivers/net/ethernet/intel/i40evf/i40e_txrx.h
@@ -238,6 +238,7 @@ struct i40e_ring {
u8 atr_count;
bool ring_active; /* is ring online or not */
+ bool arm_wb; /* do something to arm write back */
/* stats structs */
struct i40e_queue_stats stats;