netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Fastabend <john.fastabend@gmail.com>
To: Andy Gospodarek <andy@greyhouse.net>, netdev@vger.kernel.org
Cc: Daniel Borkmann <daniel@iogearbox.net>,
	Jesper Dangaard Brouer <brouer@redhat.com>
Subject: Re: [PATCH net-next] samples/bpf: add option for native and skb mode for redirect apps
Date: Mon, 17 Jul 2017 13:19:40 -0700	[thread overview]
Message-ID: <596D1BDC.3020004@gmail.com> (raw)
In-Reply-To: <1500322459-3743-1-git-send-email-andy@greyhouse.net>

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@greyhouse.net>
> ---


Looks good, thanks.

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

  reply	other threads:[~2017-07-17 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17 20:14 [PATCH net-next] samples/bpf: add option for native and skb mode for redirect apps Andy Gospodarek
2017-07-17 20:19 ` John Fastabend [this message]
2017-07-17 20:43 ` Daniel Borkmann
2017-07-17 20:46 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=596D1BDC.3020004@gmail.com \
    --to=john.fastabend@gmail.com \
    --cc=andy@greyhouse.net \
    --cc=brouer@redhat.com \
    --cc=daniel@iogearbox.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).