diff options
| author | Alexei Starovoitov <[email protected]> | 2019-06-11 06:31:48 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-06-11 06:31:49 +0000 |
| commit | ab1b3a957de3fa92e75b3ba7bd842263ecebf495 (patch) | |
| tree | 839d4fe910c772d234fffa6bdda215017a5b90bb /tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c | |
| parent | bpf: allow CGROUP_SKB programs to use bpf_skb_cgroup_id() helper (diff) | |
| parent | libbpf: remove qidconf and better support external bpf programs. (diff) | |
| download | kernel-ab1b3a957de3fa92e75b3ba7bd842263ecebf495.tar.gz kernel-ab1b3a957de3fa92e75b3ba7bd842263ecebf495.zip | |
Merge branch 'xskmap-lookup'
Jonathan Lemon says:
====================
Currently, the AF_XDP code uses a separate map in order to
determine if an xsk is bound to a queue. Have the xskmap
lookup return a XDP_SOCK pointer on the kernel side, which
the verifier uses to extract relevant values.
Patches:
1 - adds XSK_SOCK type
2 - sync bpf.h with tools
3 - add tools selftest
4 - update lib/bpf, removing qidconf
v4->v5:
- xskmap lookup now returns XDP_SOCK type instead of pointer to element.
- no changes lib/bpf/xsk.c
v3->v4:
- Clarify error handling path.
v2->v3:
- Use correct map type.
====================
Acked-by: Björn Töpel <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c')
0 files changed, 0 insertions, 0 deletions
