Re: Coding Help: NIC Fragmented Recieve

2005-12-30 Thread Francois Romieu
Steven Hayter <[EMAIL PROTECTED]> : [...] > It's the old version of drivers/net/ibm_emac/ibm_emac_core.c (2.6.13) > the memcpy's are near the comment 'MAL is braindead'. The new version > appearing in 2.16.15 looks much better, but doesn't look like it does > jumbo frames, hence I'm trying to tw

Re: Coding Help: NIC Fragmented Recieve

2005-12-30 Thread Steven Hayter
Francois Romieu wrote: See drivers/net/e1000/e1000_main.c, search alloc_page and take a look at include/linux/skbuff.h::struct skb_shared_info. Is the source code of the said driver available somewhere under GPL/alike ? It's the old version of drivers/net/ibm_emac/ibm_emac_core.c (2.6.13) the

Re: Coding Help: NIC Fragmented Recieve

2005-12-30 Thread Francois Romieu
Steven Hayter <[EMAIL PROTECTED]> : [...] > I can't see any code which does this in any other drivers, so I've got > the feeling I'm approaching it from completely the wrong angle. Can > anyone give me a few pointers as to how I should go about doing this > correctly? See drivers/net/e1000/e1000_m

Coding Help: NIC Fragmented Recieve

2005-12-30 Thread Steven Hayter
I'm currently working on a network driver, in particular trying to improve performance when passing data up to the network stack. For an example, a 9000 byte Ethernet frame comes in, and is DMA'd to the system memory in three transfers of up to approximately 4000 bytes each. Currently we are plac