solutions for forcedeth jumbo rx and order:2 alloc?

From: Jeremy Jackson <hidden>
Date: 2009-12-18 18:05:38

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?)

-- 
Jeremy Jackson
Coplanar Networks
(519)489-4903
http://www.coplanar.net
jerj@coplanar.net
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help