* [PATCH] be2net: set EQ DB clear-intr bit in be_open()
@ 2014-07-11 8:33 Sathya Perla
2014-07-11 21:35 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sathya Perla @ 2014-07-11 8:33 UTC (permalink / raw)
To: netdev
From: Suresh Reddy <Suresh.Reddy@emulex.com>
On BE3, if the clear-interrupt bit of the EQ doorbell is not set the first
time it is armed, ocassionally we have observed that the EQ doesn't raise
anymore interrupts even if it is in armed state.
This patch fixes this by setting the clear-interrupt bit when EQs are
armed for the first time in be_open().
Signed-off-by: Suresh Reddy <Suresh.Reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
---
David, could you pls queue this patch for the -stable tree. Thks.
drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index 34a26e4..1e187fb 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -2902,7 +2902,7 @@ static int be_open(struct net_device *netdev)
for_all_evt_queues(adapter, eqo, i) {
napi_enable(&eqo->napi);
be_enable_busy_poll(eqo);
- be_eq_notify(adapter, eqo->q.id, true, false, 0);
+ be_eq_notify(adapter, eqo->q.id, true, true, 0);
}
adapter->flags |= BE_FLAGS_NAPI_ENABLED;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] be2net: set EQ DB clear-intr bit in be_open()
2014-07-11 8:33 [PATCH] be2net: set EQ DB clear-intr bit in be_open() Sathya Perla
@ 2014-07-11 21:35 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-07-11 21:35 UTC (permalink / raw)
To: sathya.perla; +Cc: netdev
From: Sathya Perla <sathya.perla@emulex.com>
Date: Fri, 11 Jul 2014 14:03:01 +0530
> From: Suresh Reddy <Suresh.Reddy@emulex.com>
>
> On BE3, if the clear-interrupt bit of the EQ doorbell is not set the first
> time it is armed, ocassionally we have observed that the EQ doesn't raise
> anymore interrupts even if it is in armed state.
> This patch fixes this by setting the clear-interrupt bit when EQs are
> armed for the first time in be_open().
>
> Signed-off-by: Suresh Reddy <Suresh.Reddy@emulex.com>
> Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
> ---
>
> David, could you pls queue this patch for the -stable tree. Thks.
Applied and queued up for -stable, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-11 21:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11 8:33 [PATCH] be2net: set EQ DB clear-intr bit in be_open() Sathya Perla
2014-07-11 21:35 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).