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

Re: [Xen-devel] [PATCH][RFC] correction trouble of short message in UDP



On 25/1/07 14:03, "Keir Fraser" <keir@xxxxxxxxxxxxx> wrote:

>> How about making the total number of grant table entries equal the
>> number of TX slots? That way we won't have to check anything at all.
>> 
>> It also doesn't make sense to have more TX slots than grant table entries.
> 
> Yes, this is a good idea!
> 
> So we should replace current netfront_tx_slot_available implementation with:
>  (tx->req_prod_pvt - tx->rsp_cons) < (TX_MAX_TARGET - MAX_SKB_FRAGS - 2)
> 
> ??

Sorry, what I'm suggesting actually isn't the same as your proposal. :-)

I think mine would work though, and 256 grants should be plenty as a
maximum.

 -- Keir



_______________________________________________
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®.