摘要: 收集整理质料如下: 1:网卡硬件-->2 内核缓存队列-->3协议层 >4用户recv使用的buff 转载:https://zhuanlan.zhihu.com/p/52397230 net.core.optmem_max = 20480 net.core.rmem_default = 229376 阅读全文
posted @ 2021-01-18 16:49 codestacklinuxer 阅读(173) 评论(0) 推荐(0)
摘要: alloc_skb:分配一个数据长度为size的network buffer {skb+data_buffer} 1 /** 2 * __alloc_skb - allocate a network buffer 3 * @size: size to allocate 4 * @gfp_mask: 阅读全文
posted @ 2021-01-18 12:04 codestacklinuxer 阅读(2203) 评论(0) 推荐(0)