i40e/i40evf: fix accidental write to ITR registers
authorJesse Brandeburg <[email protected]>
Fri, 27 Feb 2015 09:18:32 +0000 (09:18 +0000)
committerJeff Kirsher <[email protected]>
Mon, 9 Mar 2015 12:20:46 +0000 (05:20 -0700)
commit97bf75f169d20c2aef1081fbe7bb5cc9656a4dc2
tree335f449fa2bdf34bd4a95931f6bd2be5aa556248
parent3c8e0b989aa1afc01aa1b236b31b6c7628610c85
i40e/i40evf: fix accidental write to ITR registers

Fix a bug introduced in the force writeback code, where the interrupt
rate was set to 0 (maximum) by accident.

The driver must correctly set the NOITR fields to avoid ITR update
as a side effect of triggering the software interrupt.

Change-ID: I290851ae04ef3811c43aab5ee33242029f26c1a3
Signed-off-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Anjali Singhai Jain <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c