rt2x00: Fix txdone flood in rt61pci
PATCH 13/28 rt2x00: Fix txdone flood in rt61pci
Prevent rt61pci txdone register to become flooded during under stress, immediately read the register and mark the reported entries as done. This way the txdone handler only has to search for these particular entries.
Signed-off-by Ivo van Doorn <[email protected]>
---
drivers/net/wireless/mac80211/rt2x00/rt2x00.h +2 -1
@@ -522,7 +522,8 @@ struct data_entry {*/ unsigned int flags;#define ENTRY_OWNER_NIC 0x00000001 -#define ENTRY_RTS_CTS_FRAME 0x00000002 +#define ENTRY_TXDONE 0x00000002 +#define ENTRY_RTS_CTS_FRAME 0x00000004/* * extra register field
drivers/net/wireless/mac80211/rt2x00/rt61pci.c +70 -100
205 lines not on this page · raw message