]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61f778cd0f8364a6cf99a7d53f612dbc42c6ce4e
tree1f2c7d1caaa4f43c0d272a86ad2adca19c1f00dd
parent5fe130735bea024c74d50333e5f3637e046fc9f8
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