netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <brouer@redhat.com>
To: Quentin Monnet <quentin.monnet@netronome.com>
Cc: brouer@redhat.com, daniel@iogearbox.net, ast@kernel.org,
	netdev@vger.kernel.org, oss-drivers@netronome.com,
	linux-doc@vger.kernel.org, linux-man@vger.kernel.org,
	John Fastabend <john.fastabend@gmail.com>
Subject: Re: [RFC bpf-next v2 8/8] bpf: add documentation for eBPF helpers (58-64)
Date: Wed, 11 Apr 2018 12:17:59 +0200	[thread overview]
Message-ID: <20180411121759.4191e267@redhat.com> (raw)
In-Reply-To: <20180410144157.4831-9-quentin.monnet@netronome.com>

On Tue, 10 Apr 2018 15:41:57 +0100
Quentin Monnet <quentin.monnet@netronome.com> wrote:

> diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
> index 7343af4196c8..db090ad03626 100644
> --- a/include/uapi/linux/bpf.h
> +++ b/include/uapi/linux/bpf.h
> @@ -1250,6 +1250,51 @@ union bpf_attr {
>   * 	Return
>   * 		0 on success, or a negative error in case of failure.
>   *
> + * int bpf_redirect_map(struct bpf_map *map, u32 key, u64 flags)
> + * 	Description
> + * 		Redirect the packet to the endpoint referenced by *map* at
> + * 		index *key*. Depending on its type, his *map* can contain
> + * 		references to net devices (for forwarding packets through other
> + * 		ports), or to CPUs (for redirecting XDP frames to another CPU;
> + * 		but this is not fully implemented as of this writing).

Stating that CPUMAP redirect "is not fully implemented" is confusing.
The issue is that CPUMAP only works for "native" XDP.

What about saying:

"[...] or to CPUs (for redirecting XDP frames to another CPU;
 but this is only implemented for native XDP as of this writing)"

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

  reply	other threads:[~2018-04-11 10:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10 14:41 [RFC bpf-next v2 0/8] bpf: document eBPF helpers and add a script to generate man page Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 1/8] bpf: add script and prepare bpf.h for new helpers documentation Quentin Monnet
2018-04-10 18:16   ` Alexei Starovoitov
2018-04-11 15:41     ` Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 2/8] bpf: add documentation for eBPF helpers (01-11) Quentin Monnet
2018-04-10 17:56   ` Alexei Starovoitov
2018-04-11 15:42     ` Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 3/8] bpf: add documentation for eBPF helpers (12-22) Quentin Monnet
2018-04-10 22:43   ` Alexei Starovoitov
2018-04-11 15:43     ` Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 4/8] bpf: add documentation for eBPF helpers (23-32) Quentin Monnet
2018-04-13  0:28   ` Alexei Starovoitov
2018-04-13 18:18     ` Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 5/8] bpf: add documentation for eBPF helpers (33-41) Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 6/8] bpf: add documentation for eBPF helpers (42-50) Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 7/8] bpf: add documentation for eBPF helpers (51-57) Quentin Monnet
2018-04-10 16:58   ` Yonghong Song
2018-04-11 15:44     ` Quentin Monnet
2018-04-11 18:01       ` Quentin Monnet
2018-04-10 17:50   ` Andrey Ignatov
2018-04-11 15:45     ` Quentin Monnet
2018-04-10 14:41 ` [RFC bpf-next v2 8/8] bpf: add documentation for eBPF helpers (58-64) Quentin Monnet
2018-04-11 10:17   ` Jesper Dangaard Brouer [this message]
2018-04-11 15:45     ` Quentin Monnet

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=20180411121759.4191e267@redhat.com \
    --to=brouer@redhat.com \
    --cc=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=john.fastabend@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@netronome.com \
    --cc=quentin.monnet@netronome.com \
    /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).