[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170628060835.2142549-1-kafai@fb.com>
Date:   Tue, 27 Jun 2017 23:08:33 -0700
From:   Martin KaFai Lau <kafai@...com>
To:     <netdev@...r.kernel.org>
CC:     Daniel Borkmann <daniel@...earbox.net>,
        Alexei Starovoitov <ast@...com>, <kernel-team@...com>
Subject: [PATCH net-next 0/2] bpf: Add syscall lookup support for fd array and htab
This patchset adds BPF_MAP_LOOKUP_ELEM syscall support for
BPF_MAP_TYPE_PROG_ARRAY,
BPF_MAP_TYPE_ARRAY_OF_MAPS and
BPF_MAP_TYPE_HASH_OF_MAPS
Martin KaFai Lau (2):
  bpf: Add syscall lookup support for fd array and htab
  bpf: Add test for syscall on fd array/htab lookup
 include/linux/bpf.h                |  3 +++
 kernel/bpf/arraymap.c              | 27 +++++++++++++++++++++++++++
 kernel/bpf/hashtab.c               | 21 +++++++++++++++++++++
 kernel/bpf/map_in_map.c            |  5 +++++
 kernel/bpf/map_in_map.h            |  1 +
 kernel/bpf/syscall.c               | 16 +++++++++++++---
 samples/bpf/sockex3_user.c         | 15 ++++++++++++++-
 samples/bpf/test_map_in_map_user.c | 17 +++++++++++++++++
 8 files changed, 101 insertions(+), 4 deletions(-)
-- 
2.9.3
Powered by blists - more mailing lists
 
