lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <596D1BDC.3020004@gmail.com>
Date:   Mon, 17 Jul 2017 13:19:40 -0700
From:   John Fastabend <john.fastabend@...il.com>
To:     Andy Gospodarek <andy@...yhouse.net>, netdev@...r.kernel.org
CC:     Daniel Borkmann <daniel@...earbox.net>,
        Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: [PATCH net-next] samples/bpf: add option for native and skb mode
 for redirect apps

On 07/17/2017 01:14 PM, Andy Gospodarek wrote:
> When testing with a driver that has both native and generic redirect support:
> 
> $ sudo ./samples/bpf/xdp_redirect -N 5 6
> input: 5 output: 6
> ifindex 6:    4961879 pkt/s
> ifindex 6:    6391319 pkt/s
> ifindex 6:    6419468 pkt/s
> 
> $ sudo ./samples/bpf/xdp_redirect -S 5 6
> input: 5 output: 6
> ifindex 6:    1845435 pkt/s
> ifindex 6:    3882850 pkt/s
> ifindex 6:    3893974 pkt/s
> 
> $ sudo ./samples/bpf/xdp_redirect_map -N 5 6
> input: 5 output: 6
> map[0] (vports) = 4, map[1] (map) = 5, map[2] (count) = 0
> ifindex 6:    2207374 pkt/s
> ifindex 6:    6212869 pkt/s
> ifindex 6:    6286515 pkt/s
> 
> $ sudo ./samples/bpf/xdp_redirect_map -S 5 6
> input: 5 output: 6
> map[0] (vports) = 4, map[1] (map) = 5, map[2] (count) = 0
> ifindex 6:    5052528 pkt/s
> ifindex 6:    5736631 pkt/s
> ifindex 6:    5739962 pkt/s
> 
> Signed-off-by: Andy Gospodarek <andy@...yhouse.net>
> ---


Looks good, thanks.

Acked-by: John Fastabend <john.fastabend@...il.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ