Function report |
Source Code:kernel\bpf\cpumap.c |
Create Date:2022-07-28 13:24:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bq_flush_to_queue
Proto:static int bq_flush_to_queue(struct xdp_bulk_queue *bq, bool in_napi_ctx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct xdp_bulk_queue * | bq | |
bool | in_napi_ctx |
610 | If Value for the false possibility is greater at compile time(!count) Then Return 0 |
614 | spin_lock( & producer_lock) |
621 | If err Then |
622 | drops++ |
625 | Else xdp_return_frame(xdpf) |
628 | processed++ |
630 | count = 0 |
631 | spin_unlock( & producer_lock) |
637 | Return 0 |
Name | Describe |
---|---|
__cpu_map_entry_free | |
bq_enqueue | Runs under RCU-read-side, plus in softirq under NAPI protection.* Thus, safe percpu variable access. |
__cpu_map_flush |
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 |