Home
last modified time | relevance | path

Searched hist:"594 a116b2aa1985dbb5318c2be39b64b74ebff84" (Results 1 – 3 of 3) sorted by relevance

/linux/samples/bpf/
H A Dxdp_sample_user.hdiff 594a116b2aa1985dbb5318c2be39b64b74ebff84 Sat Aug 21 02:20:10 CEST 2021 Kumar Kartikeya Dwivedi <memxor@gmail.com> 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
H A Dxdp_sample_user.cdiff 594a116b2aa1985dbb5318c2be39b64b74ebff84 Sat Aug 21 02:20:10 CEST 2021 Kumar Kartikeya Dwivedi <memxor@gmail.com> 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
H A DMakefilediff 594a116b2aa1985dbb5318c2be39b64b74ebff84 Sat Aug 21 02:20:10 CEST 2021 Kumar Kartikeya Dwivedi <memxor@gmail.com> 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