Function report | 
Source Code:kernel\bpf\devmap.c | 
Create Date:2022-07-28 13:22:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bq_xmit_all
Proto:static int bq_xmit_all(struct xdp_bulk_queue *bq, u32 flags, bool in_napi_ctx)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct xdp_bulk_queue * | bq | |
| u32 | flags | |
| bool | in_napi_ctx | 
| 357 | If Value for the false possibility is greater at compile time(!count) Then Return 0 | 
| 367 | If sent < 0 Then | 
| 373 | out : | 
| 374 | count = 0 | 
| 376 | trace_xdp_devmap_xmit( & map, keep track of map index for tracepoint , sent, drops, dev_rx, dev, err) | 
| 378 | dev_rx = NULL | 
| 380 | Return 0 | 
| 381 | error : | 
| 391 | Else xdp_return_frame(xdpf) | 
| 393 | drops++ | 
| 395 | Go to out | 
| Name | Describe | 
|---|---|
| __dev_map_flush | __dev_map_flush is called from xdp_do_flush_map() which _must_ be signaled* from the driver before returning from its napi->poll() routine. The poll()* routine is called either from busy_poll context or net_rx_action signaled* from NET_RX_SOFTIRQ | 
| bq_enqueue | Runs under RCU-read-side, plus in softirq under NAPI protection.* Thus, safe percpu variable access. | 
| dev_map_flush_old | 
| 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  |