RE: [Intel-wired-lan] [PATCH bpf-next 4/6] xsk: introduce padding between more ring pointers

2020-11-09 Thread John Fastabend
Magnus Karlsson wrote: > From: Magnus Karlsson > > Introduce one cache line worth of padding between the consumer pointer > and the flags field as well as between the flags field and the start > of the descriptors in all the lockless rings. This so that the x86 HW > adjacency prefetcher will not

[PATCH bpf-next 4/6] xsk: introduce padding between more ring pointers

2020-11-04 Thread Magnus Karlsson
From: Magnus Karlsson Introduce one cache line worth of padding between the consumer pointer and the flags field as well as between the flags field and the start of the descriptors in all the lockless rings. This so that the x86 HW adjacency prefetcher will not prefetch the adjacent pointer/field