Function report |
Source Code:kernel\bpf\cpumap.c |
Create Date:2022-07-28 13:24:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpu_map_enqueue
Proto:int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp, struct net_device *dev_rx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_cpu_map_entry * | rcpu | |
struct xdp_buff * | xdp | |
struct net_device * | dev_rx |
674 | If Value for the false possibility is greater at compile time(!xdpf) Then Return -EOVERFLOW |
678 | used by cpumap = dev_rx |
680 | Runs under RCU-read-side, plus in softirq under NAPI protection.* Thus, safe percpu variable access. |
681 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |