On Thu, 2016-01-28 at 10:52 +0100, Jesper Dangaard Brouer wrote: > I'm still in flux/undecided how long we should delay the first touching > of pkt-data, which happens when calling eth_type_trans(). Should it > stay in the driver or not(?).
Some cpus have limited prefetch capabilities. Sometimes, prefetches need to be spaced, otherwise they are ignored. A driver author might be tempted to 'optimize' its rx handler for few cpus. Also, removing eth_type_trans() from the drivers would require quite some work, but would be generic and certainly helpful.