[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [Xen-ia64-devel] [PATCH] make MAX_SKBUFF_ORDER page size independent

On 3/10/06 7:43 am, "Tristan Gingold" <Tristan.Gingold@xxxxxxxx> wrote:

> Le Mardi 03 Octobre 2006 07:06, Isaku Yamahata a écrit :
>> make MAX_SKBUFF_ORDER page size independent.
>> Presumably the original value 4 comes from 64KB = (4KB << 4) which is
>> ip packet maximum size.
>> However page size is not always 4KB. e.g. IA64 default page size is 16KB.
> I suppose it fixes the fedora bug ?
> I wonder if this patch works when pagesize is 64KB ?  Maybe force 1 as the
> minimum value ?

We want to move to the copying receive path as default asap by the way, you
might want to check that it works with ia64 (boot a domU with extra Linux
cmdline option "xennet.rx_copy" and check you get a boot message saying that
a net device eth0 has been created with copying receive path).

Also since our network interfaces now support scatter-gather (thanks to
Herbert Xu) I expect to get rid of our special skbuff allocators, at least
for oridnary alloc_skb and dev_alloc_skb calls. This should happen early in
the 3.0.4 development cycle.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.