Re: [PATCH bpf 0/4] Consistent sendmsg error reporting in AF_XDP

2018-07-13 Thread Daniel Borkmann
On 07/11/2018 10:12 AM, Magnus Karlsson wrote: > This patch set adjusts the AF_XDP TX error reporting so that it becomes > consistent between copy mode and zero-copy. First some background: > > Copy-mode for TX uses the SKB path in which the action of sending the > packet is performed from process

Re: [PATCH bpf 0/4] Consistent sendmsg error reporting in AF_XDP

2018-07-11 Thread Alexei Starovoitov
On Wed, Jul 11, 2018 at 10:12:48AM +0200, Magnus Karlsson wrote: > This patch set adjusts the AF_XDP TX error reporting so that it becomes > consistent between copy mode and zero-copy. First some background: > > Copy-mode for TX uses the SKB path in which the action of sending the > packet is perf

[PATCH bpf 0/4] Consistent sendmsg error reporting in AF_XDP

2018-07-11 Thread Magnus Karlsson
This patch set adjusts the AF_XDP TX error reporting so that it becomes consistent between copy mode and zero-copy. First some background: Copy-mode for TX uses the SKB path in which the action of sending the packet is performed from process context using the sendmsg syscall. Completions are usual