Re: [RFC/RFT 3/4] mac80211: use GSO for fragmentation
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-05-07 09:00:44
Also in:
linux-wireless
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-05-07 09:00:44
Also in:
linux-wireless
On Wed, May 07, 2008 at 10:50:17AM +0200, Johannes Berg wrote:
But you're right, it doesn't work this way. I'll have to think of something. Maybe I can rip out all the retry logic and just store an skb myself (like dev->gso_skb) and return NETDEV_TX_BUSY when I used that one and the queue got full because of it. That'll requeue a lot when non-gso skbs are coming in, but mind you this is not a common case, most of the time fragmentation will not be enabled and even when it is device queues should be long enough.
Yes keeping your own gso_skb sounds like a good solution. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt