summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/devmap.c
Commit message (Expand)AuthorAgeFilesLines
* bpf, xdp: Remove no longer required rcu_read_{un}lock()John Fastabend2020-01-271-2/+3
* bpf, xdp: Update devmap comments to reflect napi/rcu usageJohn Fastabend2020-01-271-10/+11
* bpf, devmap: Pass lockdep expression to RCU listsAmol Grover2020-01-231-1/+2
* devmap: Adjust tracepoint for map-less queue flushJesper Dangaard Brouer2020-01-161-1/+1
* xdp: Use bulking for non-map XDP_REDIRECT and consolidate code pathsToke Høiland-Jørgensen2020-01-161-10/+22
* xdp: Move devmap bulk queue into struct net_deviceToke Høiland-Jørgensen2020-01-161-36/+27
* xdp: Make devmap flush_list common for all map instancesBjörn Töpel2019-12-191-22/+13
* xdp: Simplify devmap cleanupBjörn Töpel2019-12-191-38/+5
* xdp: Fix cleanup on map free for devmap_hash map typeToke Høiland-Jørgensen2019-11-241-28/+46
* xdp: Handle device unregister for devmap_hash map typeToke Høiland-Jørgensen2019-10-211-0/+31
* xdp: Prevent overflow in devmap_hash cost calculation for 32-bit buildsToke Høiland-Jørgensen2019-10-181-1/+1
* xdp: Fix race in dev_map_hash_update_elem() when replacing elementToke Høiland-Jørgensen2019-09-161-5/+12
* xdp: Add devmap_hash map type for looking up devices by hashed indexToke Høiland-Jørgensen2019-07-291-0/+200
* xdp: Refactor devmap allocation code for reuseToke Høiland-Jørgensen2019-07-291-53/+83
* devmap: Allow map lookups from eBPFToke Høiland-Jørgensen2019-06-291-0/+5
* devmap/cpumap: Use flush list instead of bitmapToke Høiland-Jørgensen2019-06-291-60/+47
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2019-06-201-1/+1
|\
| * bpf: remove redundant assignment to errColin Ian King2019-06-041-1/+1
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2019-06-171-11/+8
|\ \ | |/ |/|
| * Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds2019-06-171-2/+7
| |\
| | * bpf, devmap: Add missing RCU read lock on flushToshiaki Makita2019-06-151-0/+4
| | * bpf, devmap: Add missing bulk queue freeToshiaki Makita2019-06-151-0/+1
| | * bpf, devmap: Fix premature entry free on destroying mapToshiaki Makita2019-06-151-2/+2
| * | treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 295Thomas Gleixner2019-06-051-9/+1
| |/
* | bpf: move memory size checks to bpf_map_charge_init()Roman Gushchin2019-05-311-4/+1
* | bpf: rework memlock-based memory accounting for mapsRoman Gushchin2019-05-311-6/+7
* | bpf: group memory related fields in struct bpf_map_memoryRoman Gushchin2019-05-311-2/+2
|/
* bpf: devmap: fix use-after-free Read in __dev_map_entry_freeEric Dumazet2019-05-141-0/+3
* bpf: devmap: fix wrong interface selection in notifier_callTaehee Yoo2018-10-261-2/+1
* bpf: fix redirect to map under tail callsDaniel Borkmann2018-08-171-0/+1
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2018-08-131-0/+1
|\
| * bpf: decouple btf from seq bpf fs dump and enable more mapsDaniel Borkmann2018-08-131-0/+1
* | xdp: fix bug in devmap teardown code pathJesper Dangaard Brouer2018-08-091-5/+9
|/
* xdp: XDP_REDIRECT should check IFF_UP and MTUToshiaki Makita2018-07-071-1/+6
* xdp: Fix handling of devmap in generic XDPToshiaki Makita2018-06-151-0/+14
* bpf/xdp: devmap can avoid calling ndo_xdp_flushJesper Dangaard Brouer2018-06-031-13/+6
* xdp: add flags argument to ndo_xdp_xmit APIJesper Dangaard Brouer2018-06-031-1/+1
* bpf: devmap: remove redundant assignment of dev = devColin Ian King2018-05-301-1/+1
* xdp/trace: extend tracepoint in devmap with an errJesper Dangaard Brouer2018-05-241-2/+3
* xdp: change ndo_xdp_xmit API to support bulkingJesper Dangaard Brouer2018-05-241-11/+18
* xdp: introduce xdp_return_frame_rx_napiJesper Dangaard Brouer2018-05-241-1/+1
* xdp: add tracepoint for devmap like cpumap haveJesper Dangaard Brouer2018-05-241-4/+23
* bpf: devmap prepare xdp frames for bulkingJesper Dangaard Brouer2018-05-241-4/+70
* bpf: devmap introduce dev_map_enqueueJesper Dangaard Brouer2018-05-241-6/+28
* bpf: add helper for copying attrs to struct bpf_mapJakub Kicinski2018-01-141-7/+1
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2017-10-221-3/+7
|\
| * bpf: devmap fix arithmetic overflow in bitmap_size calculationJohn Fastabend2017-10-221-1/+1
| * bpf: require CAP_NET_ADMIN when using devmapJohn Fastabend2017-10-201-0/+3
| * bpf: fix splat for illegal devmap percpu allocationDaniel Borkmann2017-10-191-2/+3
* | bpf: Add file mode configuration into bpf mapsChenbo Feng2017-10-201-1/+4
|/