Re: [PATCH 03/11] xdp: add offset param to zero_copy_allocator

2019-06-25 Thread Laatz, Kevin
On 24/06/2019 20:23, Jakub Kicinski wrote: On Thu, 20 Jun 2019 09:09:50 +, Kevin Laatz wrote: diff --git a/include/net/xdp.h b/include/net/xdp.h index 0f25b3675c5c..ea801fd2bf98 100644 --- a/include/net/xdp.h +++ b/include/net/xdp.h @@ -53,7 +53,8 @@ struct xdp_mem_info {  struct page_pool

Re: [PATCH 03/11] xdp: add offset param to zero_copy_allocator

2019-06-24 Thread Jakub Kicinski
On Thu, 20 Jun 2019 09:09:50 +, Kevin Laatz wrote: > diff --git a/include/net/xdp.h b/include/net/xdp.h > index 0f25b3675c5c..ea801fd2bf98 100644 > --- a/include/net/xdp.h > +++ b/include/net/xdp.h > @@ -53,7 +53,8 @@ struct xdp_mem_info { > struct page_pool; > > struct zero_copy_allocator

Re: [PATCH 03/11] xdp: add offset param to zero_copy_allocator

2019-06-24 Thread Björn Töpel
On Thu, 20 Jun 2019 at 19:25, Kevin Laatz wrote: > > This patch adds an offset parameter for zero_copy_allocator. > > This change is required for the unaligned chunk mode which will come later > in this patch set. The offset parameter is required for calculating the > original handle in unaligned

[PATCH 03/11] xdp: add offset param to zero_copy_allocator

2019-06-20 Thread Kevin Laatz
This patch adds an offset parameter for zero_copy_allocator. This change is required for the unaligned chunk mode which will come later in this patch set. The offset parameter is required for calculating the original handle in unaligned mode since we can't easily mask back to it like in the aligne

[PATCH 03/11] xdp: add offset param to zero_copy_allocator

2019-06-20 Thread Kevin Laatz
This patch adds an offset parameter for zero_copy_allocator. This change is required for the unaligned chunk mode which will come later in this patch set. The offset parameter is required for calculating the original handle in unaligned mode since we can't easily mask back to it like in the aligne