On Tue, 8 Dec 2020 10:52:28 +0000 "Penigalapati, Sandeep" <sandeep.penigalap...@intel.com> wrote:
> On Tue, Dec 01, 2020 at 09:58:52AM +0100, Jesper Dangaard Brouer wrote: > > > On Tue, 1 Dec 2020 08:23:23 +0000 > > > "Penigalapati, Sandeep" <sandeep.penigalap...@intel.com> wrote: > > > > > > > Tested-by: Sandeep Penigalapati <sandeep.penigalap...@intel.com> > > > > > > Very happy that you are testing this. > > > > > > Have you also tested that samples/bpf/ xdp_redirect_cpu program works? > > > > Hi Jesper, > > > > I have tested the xdp routing example but it would be good if someone can > > double check this. > > > Hi Jesper, Sven > > I have tested xdp_redirect_cpu and it is working. Thanks this is great to hear. You have tested with large frames right? As cpumap just creates SKBs based on xdp_frame, and send them to the normal network stack (on remote CPU), you can just to a standard TCP-stream throughput test with iperf or netperf. That should hopefully blowup if we screwed up the boundaries of the two packets sharing the same page. (In principle we should verify the content of the TCP transfer, so maybe a scp + md5sum is a better test). -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer