From: David Ahern <d...@cumulusnetworks.com> Date: Wed, 26 Aug 2015 12:36:15 -0700
> As such all we need is to push an eth header to the front of the skb > for 1 loop through the stack and eth_header via dev_hard_header with > NULL daddr is the simplest path to accomplish that. Any other path is > just extra overhead. And dev_hard_header() is full of conditional code and partial stores, whereas the hard header cache is a _SINGLE UNCONDITIONAL MEMCPY_. You're making this data path more expensive than it needs to be just to placate features which in no way are default situations. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html