Skip to contentSkip to conversation

solutions for forcedeth jumbo rx and order:2 alloc?

DISCUSSION Jeremy Jackson 1 participant 1 message Dec 18, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Currently, forcedeth seems to want an order:2 alloc for each frame rx. I find this behaviour makes using 9100 byte jumbos somewhat suicidal O.o Frequent kernel messages, failure of bridge STP (the goggles, they do nothing!) due to missed packets, etc.

I realize that it's a reverse engineered driver, and that changing the way hardware descriptors works to use paged SKBs might be very difficult, so I'm wondering if the following would work:

Allocate linear static buffers for use in rx ring descriptors once at device init time (ifconfig up), and copy into paged skbs when handing > page sized SKBs up to higher layer network stack? (hmm did i just ask to copy every rx packet?)

Signature · 5 lines
Jeremy Jackson
Coplanar Networks
(519)489-4903
http://www.coplanar.net
[email protected]