Thread (136 messages) 136 messages, 11 authors, 2019-08-30

Re: [PATCH bpf-next v6 03/12] xsk: add support to allow unaligned chunk placement

From: Jonathan Lemon <hidden>
Date: 2019-08-30 15:41:25
Also in: bpf, intel-wired-lan


On 26 Aug 2019, at 19:25, Kevin Laatz wrote:
Currently, addresses are chunk size aligned. This means, we are very
restricted in terms of where we can place chunk within the umem. For
example, if we have a chunk size of 2k, then our chunks can only be placed
at 0,2k,4k,6k,8k... and so on (ie. every 2k starting from 0).

This patch introduces the ability to use unaligned chunks. With these
changes, we are no longer bound to having to place chunks at a 2k (or
whatever your chunk size is) interval. Since we are no longer dealing with
aligned chunks, they can now cross page boundaries. Checks for page
contiguity have been added in order to keep track of which pages are
followed by a physically contiguous page.

Signed-off-by: Kevin Laatz <redacted>
Signed-off-by: Ciara Loftus <redacted>
Signed-off-by: Bruce Richardson <redacted>
Acked-by: Jonathan Lemon <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help