Re: [PATCH bpf-next v2] xsk: include XDP meta data in AF_XDP frames

2018-08-30 Thread Daniel Borkmann
On 08/30/2018 03:12 PM, Björn Töpel wrote: > From: Björn Töpel > > Previously, the AF_XDP (XDP_DRV/XDP_SKB copy-mode) ingress logic did > not include XDP meta data in the data buffers copied out to the user > application. > > In this commit, we check if meta data is available, and if so, it is >

[PATCH bpf-next v2] xsk: include XDP meta data in AF_XDP frames

2018-08-30 Thread Björn Töpel
From: Björn Töpel Previously, the AF_XDP (XDP_DRV/XDP_SKB copy-mode) ingress logic did not include XDP meta data in the data buffers copied out to the user application. In this commit, we check if meta data is available, and if so, it is prepended to the frame. Signed-off-by: Björn Töpel ---