[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130711.120419.1262676305594990714.davem@davemloft.net>
Date: Thu, 11 Jul 2013 12:04:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: annie.li@...cle.com
Cc: xen-devel@...ts.xensource.com, wei.liu2@...rix.com,
Ian.Campbell@...rix.com, netdev@...r.kernel.org, msw@...zon.com
Subject: Re: [Xen-devel] [PATCH v2 1/1] xen/netback: correctly calculate
required slots of skb.
From: annie li <annie.li@...cle.com>
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists