Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-28 13:25:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_offload_prog_map_match

Proto:bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map)

Type:bool

Parameter:

TypeParameterName
struct bpf_prog *prog
struct bpf_map *map
584  If Not bpf_map_is_dev_bound(map) Then Return bpf_map_offload_neutral(map)
586  offmap = map_to_offmap(map)
588  lock for reading
589  ret = __bpf_offload_dev_match(prog, netdev)
590  lease a read lock
592  Return ret
Caller
NameDescribe
check_map_prog_compatibility