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

2019-08-27 Thread Maxim Mikityanskiy
On 2019-08-22 04:44, 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. eve

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

2019-08-23 Thread Laatz, Kevin
On 22/08/2019 19:43, Jonathan Lemon wrote: On 21 Aug 2019, at 18:44, 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 p

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

2019-08-22 Thread Jonathan Lemon
On 21 Aug 2019, at 18:44, 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

[PATCH bpf-next v5 03/11] xsk: add support to allow unaligned chunk placement

2019-08-22 Thread Kevin Laatz
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 t