Skip to contentSkip to conversation

rt2x00: Fix txdone flood in rt61pci

PATCH In review Ivo van Doorn 1 participant 1 message Feb 28, 2007 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

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.

---

drivers/net/wireless/mac80211/rt2x00/rt2x00.h +2 -1
index b79f860..ef84e1a 100644
@@ -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