aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2021-08-21 05:50:09 +0530
committerAlexei Starovoitov <[email protected]>2021-08-24 14:48:42 -0700
commita29b3ca17ee69e3e5182f1ed29be6b6ec306c149 (patch)
tree9734e87e37aa762df01337b46065b44f44e4a8d7 /lib/test_overflow.c
parentbbe65865aa05fdbd20e37bbd3b2c95a0e9e24416 (diff)
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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions