Ion Badulescu wrote: > > > > +#if defined(__ia64__) || defined(__alpha__) > > > +#define PKT_SHOULD_COPY(pkt_len) 1 > > > +#else > > > +#define PKT_SHOULD_COPY(pkt_len) (pkt_len < rx_copybreak) > > > +#endif > > > [snip] > > It's not *required* per se, as far as I know both the Alpha and IA64 have > handlers for unaligned access traps. *However*, copying each packet is > definitely better than taking an exception for each packet! > What about changing the default for rx_copybreak instead? Set it to 1536 on ia64 and Alpha, 0 for the rest. tulip and eepro100 use that aproach. -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- [PATCH] starfire reads irq before pci_enable_device. davej
- Re: [PATCH] starfire reads irq before pci_enable_devic... davej
- Re: [PATCH] starfire reads irq before pci_enable_d... Jeff Garzik
- Re: [PATCH] starfire reads irq before pci_enab... Manfred Spraul
- Re: [PATCH] starfire reads irq before pci_... Jeff Garzik
- Re: [PATCH] starfire reads irq before pci_enab... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_... Jeff Garzik
- Re: [PATCH] starfire reads irq before... Ion Badulescu
- Re: [PATCH] starfire reads irq be... Manfred Spraul
- Re: [PATCH] starfire reads ir... Ion Badulescu
- Re: [PATCH] starfire reads ir... Jes Sorensen
- Re: [PATCH] starfire reads ir... Ion Badulescu
- Re: [PATCH] starfire reads ir... Jes Sorensen
- Re: [PATCH] starfire reads ir... Ion Badulescu
- Re: [PATCH] starfire reads ir... Manfred Spraul
- Re: [PATCH] starfire reads irq be... Jeff Garzik
- Re: [PATCH] starfire reads ir... Ion Badulescu
- Re: [PATCH] starfire reads ir... Jeff Garzik
- Re: [PATCH] starfire reads ir... Ion Badulescu