From: Eric Dumazet <eric.duma...@gmail.com> Date: Tue, 22 Nov 2016 15:56:10 -0800
> From: Eric Dumazet <eduma...@google.com> > > Goal is to reorganize this critical structure to increase performance. > > ndo_start_xmit() should only dirty one cache line, and access as few > cache lines as possible. > > Add sp_ (Slow Path) prefix to fields that are not used in fast path, > to make clear what is going on. > > After this patch pahole reports something much better, as all > ndo_start_xmit() needed fields are packed into two cache lines instead > of seven or eight ... > Signed-off-by: Eric Dumazet <eduma...@google.com> Applied, thanks Eric.