- 博客(2)
- 收藏
- 关注
转载 GCC 提供的原子操作
原文 http://www.cnblogs.com/FrankTan/archive/2010/12/11/1903377.htmlgcc从4.1.2提供了__sync_*系列的built-in函数,用于提供加减和逻辑运算的原子操作。其声明如下:type __sync_fetch_and_add (type *ptr, type value, ...)
2013-06-25 10:44:57 559
原创 Linux ixgbe 10G intel 网卡数据包处理流程
本文用ixgbe网卡驱动作为研究对象,linux版本是3.9.4基础知识:ixgbe_adapter/* board specific private data structure */struct ixgbe_adapter {//数据量太多,摘录部分看过比较有用的//发送的ringsstruct ixgbe_ring *tx_ring[MAX_TX_QU
2013-06-06 16:18:59 4188
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人