函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__netdev_alloc_skb_ip_align

函数原型:static inline struct sk_buff *__netdev_alloc_skb_ip_align(struct net_device *dev, unsigned int length, gfp_t gfp)

返回类型:struct sk_buff

参数:

类型参数名称
struct net_device *dev
unsigned intlength
gfp_tgfp
2801  skb等于__netdev_alloc_skb(dev, length + We handle most unaligned accesses in hardware. On the other hand* unaligned DMA can be quite expensive on some Nehalem processors.* Based on this we disable the IP header alignment in network drivers., gfp)
2803  如果We handle most unaligned accesses in hardware. On the other hand* unaligned DMA can be quite expensive on some Nehalem processors.* Based on this we disable the IP header alignment in network drivers.skb调整余量
2805  返回:skb
调用者
名称描述
netdev_alloc_skb_ip_align