On Tue, 23 Jun 2020 23:39:30 +0200
Lorenzo Bianconi <lore...@kernel.org> wrote:

> Introduce the capability to attach an eBPF program to cpumap entries.
> The idea behind this feature is to add the possibility to define on
> which CPU run the eBPF program if the underlying hw does not support
> RSS. Current supported verdicts are XDP_DROP and XDP_PASS.
> 
> This patch has been tested on Marvell ESPRESSObin using xdp_redirect_cpu
> sample available in the kernel tree to identify possible performance
> regressions. Results show there are no observable differences in
> packet-per-second:
> 
> $./xdp_redirect_cpu --progname xdp_cpu_map0 --dev eth0 --cpu 1
> rx: 354.8 Kpps
> rx: 356.0 Kpps
> rx: 356.8 Kpps
> rx: 356.3 Kpps
> rx: 356.6 Kpps
> rx: 356.6 Kpps
> rx: 356.7 Kpps
> rx: 355.8 Kpps
> rx: 356.8 Kpps
> rx: 356.8 Kpps
> 
> Co-developed-by: Jesper Dangaard Brouer <bro...@redhat.com>
> Signed-off-by: Jesper Dangaard Brouer <bro...@redhat.com>
> Signed-off-by: Lorenzo Bianconi <lore...@kernel.org>

Acked-by: Jesper Dangaard Brouer <bro...@redhat.com>

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

Reply via email to