diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2021-08-21 02:20:10 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-08-24 23:48:42 +0200 |
commit | 594a116b2aa1985dbb5318c2be39b64b74ebff84 (patch) | |
tree | 1c2a0c5a39e6f0e4cdc3685e3f98027f580ca48a /block | |
parent | samples: bpf: Convert xdp_redirect_map_multi_kern.o to XDP samples helper (diff) | |
download | linux-594a116b2aa1985dbb5318c2be39b64b74ebff84.tar.xz linux-594a116b2aa1985dbb5318c2be39b64b74ebff84.zip |
samples: bpf: Convert xdp_redirect_map_multi to XDP samples helper
Use the libbpf skeleton facility and other utilities provided by XDP
samples helper. Also adapt to change of type of mac address map, so that
no resizing is required.
Add a new flag for sample mask that skips priting the
from_device->to_device heading for each line, as xdp_redirect_map_multi
may have two devices but the flow of data may be bidirectional, so the
output would be confusing.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210821002010.845777-23-memxor@gmail.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions