[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 13:40, "Herbert Xu" <herbert@xxxxxxxxxxxxxxxxxxx> 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) ?? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |