Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • bpf
  • devmap.c
Find file BlameHistoryPermalink
  • Sebastian Andrzej Siewior's avatar
    net: Move per-CPU flush-lists to bpf_net_context on PREEMPT_RT. · 3f9fe37d
    Sebastian Andrzej Siewior authored Jun 20, 2024
    
    
    The per-CPU flush lists, which are accessed from within the NAPI callback
    (xdp_do_flush() for instance), are per-CPU. There are subject to the
    same problem as struct bpf_redirect_info.
    
    Add the per-CPU lists cpu_map_flush_list, dev_map_flush_list and
    xskmap_map_flush_list to struct bpf_net_context. Add wrappers for the
    access. The lists initialized on first usage (similar to
    bpf_net_ctx_get_ri()).
    
    Cc: "Björn Töpel" <bjorn@kernel.org>
    Cc: Alexei Starovoitov <ast@kernel.org>
    Cc: Andrii Nakryiko <andrii@kernel.org>
    Cc: Eduard Zingerman <eddyz87@gmail.com>
    Cc: Hao Luo <haoluo@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: John Fastabend <john.fastabend@gmail.com>
    Cc: Jonathan Lemon <jonathan.lemon@gmail.com>
    Cc: KP Singh <kpsingh@kernel.org>
    Cc: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
    Cc: Magnus Karlsson <magnus.karlsson@intel.com>
    Cc: Martin KaFai Lau <martin.lau@linux.dev>
    Cc: Song Liu <song@kernel.org>
    Cc: Stanislav Fomichev <sdf@google.com>
    Cc: Yonghong Song <yonghong.song@linux.dev>
    Acked-by: default avatarJesper Dangaard Brouer <hawk@kernel.org>
    Reviewed-by: default avatarToke Høiland-Jørgensen <toke@redhat.com>
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Link: https://patch.msgid.link/20240620132727.660738-16-bigeasy@linutronix.de
    
    
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    3f9fe37d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7