函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\xdp.h Create Date:2022-07-27 07:00:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:xdp_release_frame

函数原型:static inline void xdp_release_frame(struct xdp_frame *xdpf)

返回类型:void

参数:

类型参数名称
struct xdp_frame *xdpf
140  mem等于 Lifetime of xdp_rxq_info is limited to NAPI/enqueue time, * while mem info is valid on remote CPU.
143  如果 enum xdp_mem_type, but known size type 恒等于MEM_TYPE_PAGE_POOLWhen sending xdp_frame into the network stack, then there is no* return point callback, which is needed to release e.g. DMA-mapping* resources with page_pool. Thus, have explicit function to release* frame resources.
调用者
名称描述
cpu_map_build_skb