lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 8 Nov 2013 12:43:35 +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 08:40:00PM -0800, Eric Dumazet wrote: > On Fri, 2013-11-08 at 12:24 +0800, Herbert Xu wrote: > > > I don't know why you're fixing this problem by disabling/degrading > > GRO instead of fixing the qdisc to intelligently segment the GRO > > packet. > > On what criteria you decide that the packet you are going to queue to > the NIC must be segmented ? Easy. You don't physically segment the packet until it's transmitted. But logically you treat each GRO/GSO packet as if it had already been segmented. > BTW, the Qdisc API doesnt really permit what you describe. > > There are the queue() and dequeue(). Once packet is dequeued, you cannot > requeue a bunch of packets if you decide to segment the GRO packet. This logic should be inside the qdisc. I'm not saying that we need to implement this for every single qdisc out there, just the ones that you care about. Cheers, -- 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