[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131108035949.GA14325@gondor.apana.org.au>
Date: Fri, 8 Nov 2013 11:59:49 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>, bhutchings@...arflare.com,
christoph.paasch@...ouvain.be, netdev@...r.kernel.org,
hkchu@...gle.com, mwdalton@...gle.com
Subject: Re: [PATCH v4 net-next] net: introduce dev_set_forwarding()
On Thu, Nov 07, 2013 at 01:54:48PM -0800, Eric Dumazet wrote:
>
> Hi Herbert
>
> I believe I did this on my patch.
I actually quite like your patch for the pure iterative approach.
> Note that there is absolutely no requirement on how are the skb found in
> frag_list (their length is not a multiple of MSS)
OK I am thick and now I finally get what you're saying: virtio_net
as it stands does not produce the original GRO packet. So my patch
is still broken with respect to virtio_net. It won't crash anymore
but it'll just drop GRO/GSO packets which is probably worse.
> For the ease of discussion, once patched skb_segment() looks like :
However, I still have one reason for preferring my patch, it'll
be easier to prodce TSO packets with it. Let me see if I can
fix up the arbitrary frag boundary issue without making it too
ugly.
Thanks!
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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