Function report |
Source Code:include\net\xdp.h |
Create Date:2022-07-28 06:01:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Convert xdp_buff to xdp_frame
Proto:static inline struct xdp_frame *convert_to_xdp_frame(struct xdp_buff *xdp)
Type:struct xdp_frame
Parameter:
Type | Parameter | Name |
---|---|---|
struct xdp_buff * | xdp |
104 | If enum xdp_mem_type, but known size type == MEM_TYPE_ZERO_COPY Then Return xdp_convert_zc_to_xdp_frame(xdp) |
108 | headroom = data - data_hard_start |
111 | If Value for the false possibility is greater at compile time((headroom - metasize) < size of xdp_frame ) Then Return NULL |
115 | xdp_frame = data_hard_start |
123 | Lifetime of xdp_rxq_info is limited to NAPI/enqueue time, * while mem info is valid on remote CPU. = mem |
125 | Return xdp_frame |
Name | Describe |
---|---|
dev_map_enqueue | |
cpu_map_enqueue |
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 |