summaryrefslogtreecommitdiff
path: root/kernel/bpf/devmap.c
AgeCommit message (Expand)AuthorFilesLines
2021-03-18bpf, devmap: Move drop error path to devmap for XDP_REDIRECTLorenzo Bianconi1-18/+12
2021-03-10bpf, xdp: Restructure redirect actionsBjörn Töpel1-1/+0
2021-03-10bpf, xdp: Make bpf_redirect_map() a map operationBjörn Töpel1-2/+14
2021-02-13bpf, devmap: Use GFP_KERNEL for xdp bulk queue allocationJun'ichi Nomura1-3/+1
2020-12-03bpf: Eliminate rlimit-based memory accounting for devmap mapsRoman Gushchin1-16/+2
2020-12-03bpf: Refine memcg-based memory accounting for devmap mapsRoman Gushchin1-3/+4
2020-09-01bpf: {cpu,dev}map: Change various functions return type from int to voidBjörn Töpel1-8/+7
2020-08-28bpf: Add map_meta_equal map opsMartin KaFai Lau1-0/+2
2020-07-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+6
2020-06-22bpf: Set map_btf_{name, id} for all map typesAndrey Ignatov1-0/+6
2020-06-17devmap: Use bpf_map_area_alloc() for allocating hash bucketsToke Høiland-Jørgensen1-4/+6
2020-06-09bpf: Devmap adjust uapi for attach bpf programJesper Dangaard Brouer1-13/+4
2020-06-09bpf: Reset data_meta before running programs attached to devmap entryDavid Ahern1-0/+1
2020-06-02xdp: Rename convert_to_xdp_frame in xdp_convert_buff_to_frameLorenzo Bianconi1-1/+1
2020-06-02xdp: Add xdp_txq_info to xdp_buffDavid Ahern1-0/+3
2020-06-02bpf: Add support to attach bpf program to a devmap entryDavid Ahern1-4/+84
2020-06-02devmap: Formalize map value as a named structDavid Ahern1-17/+28
2020-04-23xdp: export the DEV_MAP_BULK_SIZE macroIoana Ciornei1-1/+0
2020-01-27bpf, xdp: Remove no longer required rcu_read_{un}lock()John Fastabend1-2/+3
2020-01-27bpf, xdp: Update devmap comments to reflect napi/rcu usageJohn Fastabend1-10/+11
2020-01-24bpf, devmap: Pass lockdep expression to RCU listsAmol Grover1-1/+2
2020-01-17devmap: Adjust tracepoint for map-less queue flushJesper Dangaard Brouer1-1/+1
2020-01-17xdp: Use bulking for non-map XDP_REDIRECT and consolidate code pathsToke Høiland-Jørgensen1-10/+22
2020-01-17xdp: Move devmap bulk queue into struct net_deviceToke Høiland-Jørgensen1-36/+27
2019-12-20xdp: Make devmap flush_list common for all map instancesBjörn Töpel1-22/+13
2019-12-20xdp: Simplify devmap cleanupBjörn Töpel1-38/+5
2019-11-25xdp: Fix cleanup on map free for devmap_hash map typeToke Høiland-Jørgensen1-28/+46
2019-10-22xdp: Handle device unregister for devmap_hash map typeToke Høiland-Jørgensen1-0/+31
2019-10-19xdp: Prevent overflow in devmap_hash cost calculation for 32-bit buildsToke Høiland-Jørgensen1-1/+1
2019-09-16xdp: Fix race in dev_map_hash_update_elem() when replacing elementToke Høiland-Jørgensen1-5/+12
2019-07-29xdp: Add devmap_hash map type for looking up devices by hashed indexToke Høiland-Jørgensen1-0/+200
2019-07-29xdp: Refactor devmap allocation code for reuseToke Høiland-Jørgensen1-53/+83
2019-06-29devmap: Allow map lookups from eBPFToke Høiland-Jørgensen1-0/+5
2019-06-29devmap/cpumap: Use flush list instead of bitmapToke Høiland-Jørgensen1-60/+47
2019-06-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+1
2019-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+8
2019-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-2/+7
2019-06-15bpf, devmap: Add missing RCU read lock on flushToshiaki Makita1-0/+4
2019-06-15bpf, devmap: Add missing bulk queue freeToshiaki Makita1-0/+1
2019-06-15bpf, devmap: Fix premature entry free on destroying mapToshiaki Makita1-2/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 295Thomas Gleixner1-9/+1
2019-06-04bpf: remove redundant assignment to errColin Ian King1-1/+1
2019-06-01bpf: move memory size checks to bpf_map_charge_init()Roman Gushchin1-4/+1
2019-06-01bpf: rework memlock-based memory accounting for mapsRoman Gushchin1-6/+7
2019-06-01bpf: group memory related fields in struct bpf_map_memoryRoman Gushchin1-2/+2
2019-05-14bpf: devmap: fix use-after-free Read in __dev_map_entry_freeEric Dumazet1-0/+3
2018-10-26bpf: devmap: fix wrong interface selection in notifier_callTaehee Yoo1-2/+1
2018-08-18bpf: fix redirect to map under tail callsDaniel Borkmann1-0/+1
2018-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2018-08-13bpf: decouple btf from seq bpf fs dump and enable more mapsDaniel Borkmann1-0/+1