summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnjali Singhai Jain <anjali.singhai@intel.com>2013-11-28 06:39:40 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-01-05 01:46:29 -0800
commitc3f0c4fedf4b604addf62b3e83ffe613cecae4d7 (patch)
treea78b723f76f989fbe0cce7e37b556f7db66fb58c
parent7b86228902a6a01b6a88ff6a418170a9c3196c02 (diff)
downloadlinux-c3f0c4fedf4b604addf62b3e83ffe613cecae4d7.tar.gz
linux-c3f0c4fedf4b604addf62b3e83ffe613cecae4d7.tar.bz2
linux-c3f0c4fedf4b604addf62b3e83ffe613cecae4d7.zip
i40e: remove un-necessary io-write
Driver needs to clean PBA only when interrupts are turned off and we are polling instead. Change-Id: Ic0c1da761bd3abe7f73b1cc8bcddf8e3a232fd0f Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 4fcd55cc57d9..55fd23d8d5fe 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -2769,10 +2769,6 @@ static irqreturn_t i40e_intr(int irq, void *data)
icr0 = rd32(hw, I40E_PFINT_ICR0);
- val = rd32(hw, I40E_PFINT_DYN_CTL0);
- val = val | I40E_PFINT_DYN_CTL0_CLEARPBA_MASK;
- wr32(hw, I40E_PFINT_DYN_CTL0, val);
-
/* if sharing a legacy IRQ, we might get called w/o an intr pending */
if ((icr0 & I40E_PFINT_ICR0_INTEVENT_MASK) == 0)
return IRQ_NONE;