diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-04-15 02:02:34 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-14 15:08:52 -0400 |
commit | c3c7b1217f557f9585f3805803d2126c2d385592 (patch) | |
tree | 60e87c3c9a8d79f4c5e68dd70c49931837a2b2b3 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | |
parent | 0aac3f56d4a63f049268fec78ead525a9227fead (diff) | |
download | lwn-c3c7b1217f557f9585f3805803d2126c2d385592.tar.gz lwn-c3c7b1217f557f9585f3805803d2126c2d385592.zip |
cxgb4: Don't call t4_slow_intr_handler when we're not the Master PF
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index 24e10ea3d5ef..6de054404156 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c @@ -724,7 +724,8 @@ static irqreturn_t t4_nondata_intr(int irq, void *cookie) adap->swintr = 1; t4_write_reg(adap, MYPF_REG(PL_PF_INT_CAUSE_A), v); } - t4_slow_intr_handler(adap); + if (adap->flags & MASTER_PF) + t4_slow_intr_handler(adap); return IRQ_HANDLED; } |