diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2019-12-19 07:10:03 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-19 21:09:43 -0800 |
commit | 96360004b8628541f5d05a845ea213267db0b1a2 (patch) | |
tree | 1a47c444945d3344e95374bc598bc02f6ff2f088 /kernel/bpf/cpumap.c | |
parent | e312b9e706ed6d94f6cc9088fcd9fbd81de4525c (diff) | |
download | lwn-96360004b8628541f5d05a845ea213267db0b1a2.tar.gz lwn-96360004b8628541f5d05a845ea213267db0b1a2.zip |
xdp: Make devmap flush_list common for all map instances
The devmap flush list is used to track entries that need to flushed
from via the xdp_do_flush_map() function. This list used to be
per-map, but there is really no reason for that. Instead make the
flush list global for all devmaps, which simplifies __dev_map_flush()
and dev_map_init_map().
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20191219061006.21980-6-bjorn.topel@gmail.com
Diffstat (limited to 'kernel/bpf/cpumap.c')
0 files changed, 0 insertions, 0 deletions