[Cake] GSO peel behaviour tweaks
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Tue Nov 24 04:12:51 EST 2015
I've just pushed 2 commits related to GSO peeling behaviour to master.
1st tweak is at worst benign and at best removes a multiply compare for
every packet enqueued. I'd like to think the optimiser in the compiler
would have done what I've done explicitly (in essence check this is a
gso packet 1st before thinking about peeling it) but when I checked on
x86_64 there was a definite difference in produced code.
2nd tweak is *not* benign. In essence this forces peeling if either ATM
framing or packet overhead is specified. Previously only ATM framing
forced peeling. I think this is more correct but unfortunately will be
slower.
Commits can be reverted - feel free :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4816 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20151124/50455643/attachment-0002.bin>
More information about the Cake
mailing list