aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2019-12-19 07:10:02 +0100
committerAlexei Starovoitov <ast@kernel.org>2019-12-19 21:09:43 -0800
commite312b9e706ed6d94f6cc9088fcd9fbd81de4525c (patch)
tree9e7eeaba755c57e74ed2c8707ddedfad909e91af /samples
parentxdp: Fix graze->grace type-o in cpumap comments (diff)
downloadlinux-dev-e312b9e706ed6d94f6cc9088fcd9fbd81de4525c.tar.xz
linux-dev-e312b9e706ed6d94f6cc9088fcd9fbd81de4525c.zip
xsk: Make xskmap flush_list common for all map instances
The xskmap 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 xskmaps, which simplifies __xsk_map_flush() and xsk_map_alloc(). 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-5-bjorn.topel@gmail.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions