Re: [Intel-wired-lan] [RFC PATCH bpf-next 00/12] AF_XDP, zero-copy support

2018-05-16 Thread Jeff Kirsher
On Wed, 2018-05-16 at 10:04 -0700, Alexei Starovoitov wrote: > On Tue, May 15, 2018 at 09:06:03PM +0200, Björn Töpel wrote: > > > > Alexei had two concerns in conjunction with adding ZC support to > > AF_XDP: show that the user interface holds and can deliver good > > performance for ZC and that t

Re: [RFC PATCH bpf-next 00/12] AF_XDP, zero-copy support

2018-05-16 Thread Björn Töpel
2018-05-16 19:04 GMT+02:00 Alexei Starovoitov : > On Tue, May 15, 2018 at 09:06:03PM +0200, Björn Töpel wrote: >> >> Alexei had two concerns in conjunction with adding ZC support to >> AF_XDP: show that the user interface holds and can deliver good >> performance for ZC and that the driver interfac

Re: [RFC PATCH bpf-next 00/12] AF_XDP, zero-copy support

2018-05-16 Thread Alexei Starovoitov
On Tue, May 15, 2018 at 09:06:03PM +0200, Björn Töpel wrote: > > Alexei had two concerns in conjunction with adding ZC support to > AF_XDP: show that the user interface holds and can deliver good > performance for ZC and that the driver interfaces for ZC are good. We > think that this patch set sh

Re: [RFC PATCH bpf-next 00/12] AF_XDP, zero-copy support

2018-05-16 Thread Jesper Dangaard Brouer
On Tue, 15 May 2018 21:06:03 +0200 Björn Töpel wrote: > e have run some benchmarks on a dual socket system with two Broadwell > E5 2660 @ 2.0 GHz with hyperthreading turned off. Each socket has 14 > cores which gives a total of 28, but only two cores are used in these > experiments. One for TR/RX

[RFC PATCH bpf-next 00/12] AF_XDP, zero-copy support

2018-05-15 Thread Björn Töpel
From: Björn Töpel This RFC introduces zerocopy (ZC) support for AF_XDP. Programs using AF_XDP sockets will now receive RX packets without any copies and can also transmit packets without incurring any copies. No modifications to the application are needed, but the NIC driver needs to be modified