how to get "max # of mbufs in a packet" from xn to the tcp stack?

2011-07-06 Thread Colin Percival
Hi all, I've attached a patch which fixes the "nfrags > 18, netback won't be able to handle it" problem with xen netfront when TSO is enabled. It's not finished, though: + int max_mbuf_chain_len = 16;/* XXX Set this based on interface? */ I'm not sure what the right way is to feed a va

Re: breakage in blkfront with ring_pages > 1

2011-07-06 Thread Justin T. Gibbs
On 7/5/11 10:14 PM, Colin Percival wrote: On 07/05/11 19:42, Colin Percival wrote: > On 07/05/11 19:04, Justin T. Gibbs wrote: >> On 7/5/11 7:14 PM, Colin Percival wrote: >>> Maybe the right option is to have a loader tunable dev.xn.linuxback to >>> control which version of the protocol is used?

Re: breakage in blkfront with ring_pages > 1

2011-07-06 Thread Colin Percival
On 07/06/11 15:55, Justin T. Gibbs wrote: > On 7/5/11 10:14 PM, Colin Percival wrote: >> On 07/05/11 19:42, Colin Percival wrote: >>> Yep. Mess or not, shall I go ahead with having a loader tunable > control this, >>> or can you think of a better solution? >> >> Does anyone object to the attached p