Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_offload_find_netdev

Proto:static struct bpf_offload_netdev *bpf_offload_find_netdev(struct net_device *netdev)

Type:struct bpf_offload_netdev

Parameter:

TypeParameterName
struct net_device *netdev
73  lockdep_assert_held( & Protects offdevs, members of bpf_offload_netdev and offload members* of all progs.* RTNL lock cannot be taken when holding this lock.)
75  If Not offdevs_inited Then Return NULL
77  Return hashtable_lookup_fast - search hash table, without RCU read lock*@ht: hash table*@key: the pointer to the key*@params: hash table parameters* Computes the hash value for the key and traverses the bucket chain looking* for a entry with an identical key
Caller
NameDescribe
bpf_prog_offload_init
bpf_map_offload_map_alloc
__bpf_offload_dev_match