WSL2-Linux-Kernel/drivers/net/ethernet/emulex/benet
Sathya Perla e49cc34f7a be2net: fix INTx ISR for interrupt behaviour on BE2
On BE2 chip, an interrupt may be raised even when EQ is in un-armed state.
As a result be_intx()::events_get() and be_poll:events_get() can race and
notify an EQ wrongly.

Fix this by counting events only in be_poll(). Commit 0b545a629 fixes
the same issue in the MSI-x path.

But, on Lancer, INTx can be de-asserted only by notifying num evts. This
is not an issue as the above BE2 behavior doesn't exist/has never been
seen on Lancer.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-28 11:35:08 -05:00
..
Kconfig net: Remove bogus dependencies on INET 2012-11-19 19:13:59 -05:00
Makefile be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00
be.h be2net: remove adapter->eq_next_idx 2012-11-07 16:59:53 -05:00
be_cmds.c be2net: fix access to SEMAPHORE reg 2012-11-07 16:59:52 -05:00
be_cmds.h be2net: fix wrong usage of adapter->generation 2012-11-07 16:59:52 -05:00
be_ethtool.c be2net: Fix ethtool get_settings output for VF 2012-10-21 22:15:36 -04:00
be_hw.h be2net: fix access to SEMAPHORE reg 2012-11-07 16:59:52 -05:00
be_main.c be2net: fix INTx ISR for interrupt behaviour on BE2 2012-11-28 11:35:08 -05:00
be_roce.c be2net: remove roce on lancer 2012-11-07 16:59:52 -05:00
be_roce.h be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00