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 <kevin.la...@intel.com> > Signed-off-by: Ciara Loftus <ciara.lof...@intel.com> > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> Acked-by: Jonathan Lemon <jonathan.le...@gmail.com>
- Re: [PATCH bpf-next v6 07/12] net/mlx5e: Allow XSK fr... Jonathan Lemon
- [PATCH bpf-next v6 08/12] libbpf: add flags to umem config Kevin Laatz
- Re: [PATCH bpf-next v6 08/12] libbpf: add flags to um... Jonathan Lemon
- [PATCH bpf-next v6 01/12] i40e: simplify Rx buffer recycle Kevin Laatz
- Re: [PATCH bpf-next v6 01/12] i40e: simplify Rx buffe... Jonathan Lemon
- [PATCH bpf-next v6 04/12] i40e: modify driver for handling... Kevin Laatz
- Re: [PATCH bpf-next v6 04/12] i40e: modify driver for... Jonathan Lemon
- [PATCH bpf-next v6 02/12] ixgbe: simplify Rx buffer recycl... Kevin Laatz
- Re: [PATCH bpf-next v6 02/12] ixgbe: simplify Rx buff... Jonathan Lemon
- [PATCH bpf-next v6 03/12] xsk: add support to allow unalig... Kevin Laatz
- Re: [PATCH bpf-next v6 03/12] xsk: add support to all... Jonathan Lemon
- [PATCH bpf-next v6 06/12] mlx5e: modify driver for handlin... Kevin Laatz
- Re: [PATCH bpf-next v6 06/12] mlx5e: modify driver fo... Jonathan Lemon
- Re: [PATCH bpf-next v6 00/12] XDP unaligned chunk placemen... Jonathan Lemon
- Re: [PATCH bpf-next v6 00/12] XDP unaligned chunk placemen... Daniel Borkmann