Skip to contentSkip to conversation

myri10ge net-2.6.24 build fix

PATCH David Miller 2 participants 2 messages Aug 9, 2007

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

I had to add the following patch to fix the build after the LRO changes, I have no idea how you could have compile tested that patch let alone done any real testing on it :-/

drivers/net/myri10ge/myri10ge.c +1 -0
index 4cc5e6f..0ac0610 100644
@@ -93,6 +93,7 @@ MODULE_LICENSE("Dual BSD/GPL");
 #define MYRI10GE_EEPROM_STRINGS_SIZE 256
 #define MYRI10GE_MAX_SEND_DESC_TSO ((65536 / 2048) * 2)
 #define MYRI10GE_MAX_LRO_DESCRIPTORS 8
+#define MYRI10GE_LRO_MAX_PKTS 64
 
 #define MYRI10GE_NO_CONFIRM_DATA htonl(0xffffffff)
 #define MYRI10GE_NO_RESPONSE_RESULT 0xffffffff
#1 lore raw
Quoted 3 lines · David Miller

I had to add the following patch to fix the build after the LRO changes, I have no idea how you could have compile tested that patch let alone done any real testing on it :-/

Whoops. I'm very sorry about that. Future patches will be submitted by our Linux guy, who knows the correct procedures. :)

FWIW, the patch I sent came from a script which filters our internal driver (which I always work with), and that line was erroneously filtered by the script we use to remove all the stuff you guys frown on (like our LRO, compat shims for older kernels, optional support to receive into skbs rather than pages, etc). My testing was done with our un-filtered upstream driver.

Since our driver specific LRO is now gone (hurray!), I removed the LRO filtering, re-ran the filter script, and arrived at the same patch you committed.

Thanks for fixing my mistake!

Drew