diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-06-10 23:31:48 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-06-10 23:31:49 -0700 |
commit | ab1b3a957de3fa92e75b3ba7bd842263ecebf495 (patch) | |
tree | 839d4fe910c772d234fffa6bdda215017a5b90bb /samples | |
parent | 4ecabd55c90469629460f035f4bf4c8ae3d2743b (diff) | |
parent | 10a13bb40e541d8cb1d5f36403aae3a0f1a2ee58 (diff) |
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 <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions