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

Re: [Xen-devel] [PATCH] xen-netfront: correct MAX_TX_TARGET calculation.



On 02/03/12 14:26, Jan Beulich wrote:
On 03.02.12 at 13:59, Laszlo Ersek<lersek@xxxxxxxxxx>  wrote:

(Eyeballing the source makes me think

    NET_TX_RING_SIZE == (4096 - 16 - 48) / (5 * 4) == 201
    NET_RX_RING_SIZE == (4096 - 16 - 48) / (4 * 4) == 252

NET_TX_RING_SIZE == (4096 - 16 - 48) / (6 * 2) == 336
NET_RX_RING_SIZE == (4096 - 16 - 48) / (4 * 2) == 504

Sorry, I wasn't sure if gcc would pack them without __attribute__((packed)) :) Dumb mistake, admittedly.

Thanks,
Laszlo

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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