summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_drr.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2021-08-21 02:20:09 +0200
committerAlexei Starovoitov <ast@kernel.org>2021-08-24 23:48:42 +0200
commita29b3ca17ee69e3e5182f1ed29be6b6ec306c149 (patch)
tree9734e87e37aa762df01337b46065b44f44e4a8d7 /net/sched/sch_drr.c
parentsamples: bpf: Convert xdp_redirect_map to XDP samples helper (diff)
downloadlinux-a29b3ca17ee69e3e5182f1ed29be6b6ec306c149.tar.xz
linux-a29b3ca17ee69e3e5182f1ed29be6b6ec306c149.zip
samples: bpf: Convert xdp_redirect_map_multi_kern.o to XDP samples helper
One of the notable changes is using a BPF_MAP_TYPE_HASH instead of array map to store mac addresses of devices, as the resizing behavior was based on max_ifindex, which unecessarily maximized the capacity of map beyond what was needed. 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-22-memxor@gmail.com
Diffstat (limited to 'net/sched/sch_drr.c')
0 files changed, 0 insertions, 0 deletions