diff options
| author | Jonathan Lemon <jonathan.lemon@gmail.com> | 2019-06-06 23:59:40 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2019-06-11 09:31:26 +0300 |
| commit | fada7fdc83c0bf8755956bff707c42b609223301 (patch) | |
| tree | 905e559b4c1aa750e8a08b2c357e8a358d35e9fb /scripts | |
| parent | 4ecabd55c90469629460f035f4bf4c8ae3d2743b (diff) | |
| download | linux-fada7fdc83c0bf8755956bff707c42b609223301.tar.xz | |
bpf: Allow bpf_map_lookup_elem() on an xskmap
Currently, the AF_XDP code uses a separate map in order to
determine if an xsk is bound to a queue. Instead of doing this,
have bpf_map_lookup_elem() return a xdp_sock.
Rearrange some xdp_sock members to eliminate structure holes.
Remove selftest - will be added back in later patch.
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
