netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yonghong Song <yhs@fb.com>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>,
	"Daniel Borkmann" <daniel@iogearbox.net>
Cc: "Alexei Starovoitov" <ast@kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"David Miller" <davem@davemloft.net>,
	"Jesper Dangaard Brouer" <brouer@redhat.com>,
	"Jakub Kicinski" <jakub.kicinski@netronome.com>,
	"Björn Töpel" <bjorn.topel@gmail.com>
Subject: Re: [PATCH bpf-next v3 5/6] tools/libbpf_probes: Add new devmap_hash type
Date: Mon, 8 Jul 2019 16:48:16 +0000	[thread overview]
Message-ID: <3e448637-682e-825a-a8a2-108de7b8e4ed@fb.com> (raw)
In-Reply-To: <156258334745.1664.1686759894096070590.stgit@alrua-x1>



On 7/8/19 3:55 AM, Toke Høiland-Jørgensen wrote:
> From: Toke Høiland-Jørgensen <toke@redhat.com>
> 
> This adds the definition for BPF_MAP_TYPE_DEVMAP_HASH to libbpf_probes.c in
> tools/lib/bpf.
> 
> Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>

Acked-by: Yonghong Song <yhs@fb.com>

> ---
>   tools/lib/bpf/libbpf_probes.c |    1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/tools/lib/bpf/libbpf_probes.c b/tools/lib/bpf/libbpf_probes.c
> index ace1a0708d99..4b0b0364f5fc 100644
> --- a/tools/lib/bpf/libbpf_probes.c
> +++ b/tools/lib/bpf/libbpf_probes.c
> @@ -244,6 +244,7 @@ bool bpf_probe_map_type(enum bpf_map_type map_type, __u32 ifindex)
>   	case BPF_MAP_TYPE_ARRAY_OF_MAPS:
>   	case BPF_MAP_TYPE_HASH_OF_MAPS:
>   	case BPF_MAP_TYPE_DEVMAP:
> +	case BPF_MAP_TYPE_DEVMAP_HASH:
>   	case BPF_MAP_TYPE_SOCKMAP:
>   	case BPF_MAP_TYPE_CPUMAP:
>   	case BPF_MAP_TYPE_XSKMAP:
> 

  reply	other threads:[~2019-07-08 16:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-08 10:55 [PATCH bpf-next v3 0/6] xdp: Add devmap_hash map type Toke Høiland-Jørgensen
2019-07-08 10:55 ` [PATCH bpf-next v3 4/6] tools/include/uapi: Add devmap_hash BPF " Toke Høiland-Jørgensen
2019-07-08 16:47   ` Yonghong Song
2019-07-08 10:55 ` [PATCH bpf-next v3 1/6] include/bpf.h: Remove map_insert_ctx() stubs Toke Høiland-Jørgensen
2019-07-08 10:55 ` [PATCH bpf-next v3 2/6] xdp: Refactor devmap allocation code for reuse Toke Høiland-Jørgensen
2019-07-08 10:55 ` [PATCH bpf-next v3 6/6] tools: Add definitions for devmap_hash map type Toke Høiland-Jørgensen
2019-07-08 10:55 ` [PATCH bpf-next v3 5/6] tools/libbpf_probes: Add new devmap_hash type Toke Høiland-Jørgensen
2019-07-08 16:48   ` Yonghong Song [this message]
2019-07-08 10:55 ` [PATCH bpf-next v3 3/6] xdp: Add devmap_hash map type for looking up devices by hashed index Toke Høiland-Jørgensen
2019-07-08 16:47   ` Yonghong Song

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=3e448637-682e-825a-a8a2-108de7b8e4ed@fb.com \
    --to=yhs@fb.com \
    --cc=ast@kernel.org \
    --cc=bjorn.topel@gmail.com \
    --cc=brouer@redhat.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=jakub.kicinski@netronome.com \
    --cc=netdev@vger.kernel.org \
    --cc=toke@redhat.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).