diff options
author | Maciej Fijalkowski <[email protected]> | 2019-11-01 12:03:45 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-11-02 00:38:49 +0100 |
commit | e65650f291ee72fc578d6346080fc4699204ef2c (patch) | |
tree | 05a94d62e9e8c40672737ad5f16998d0f8164e4c /kernel/bpf/syscall.c | |
parent | 64fe8c061de7d7ffdfdc104a57d48d645ae0ac4f (diff) |
bpf: Implement map_gen_lookup() callback for XSKMAP
Inline the xsk_map_lookup_elem() via implementing the map_gen_lookup()
callback. This results in emitting the bpf instructions in place of
bpf_map_lookup_elem() helper call and better performance of bpf
programs.
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jonathan Lemon <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions