[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/1] xen/netback: correctly calculate required slots of skb.
From: annie li <annie.li@xxxxxxxxxx> Date: Thu, 11 Jul 2013 10:48:58 +0800 > On 2013-7-11 10:18, David Miller wrote: >> I prefer MAX_BUFFER_OFFSET because it gives the indication that >> what this value represents is the modulus upon which we must chop up >> RX buffers in this driver. > > Would PAGE_SIZE be more straight? MAX_BUFFER_OFFSET gives an idea of > offset instead of length. > Anyway, making it consistent is a good idea. I think the choice is a tossup, and less important than consistency. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |