學(xué)習(xí)DPDK框架時襟衰,自然而然想去了解Linux內(nèi)核收發(fā)包原理边琉,于是發(fā)現(xiàn)了如下文章,其中《Monitoring and Tuning the Linux Networking Stack: Receiving Data》尤其不錯 :-)
NAPI原理相關(guān):
數(shù)據(jù)包接收系列 — NAPI的原理和實現(xiàn)
http://blog.csdn.net/zhangskd/article/details/21627963
NAPI 技術(shù)在 Linux 網(wǎng)絡(luò)驅(qū)動上的應(yīng)用和完善
https://www.ibm.com/developerworks/cn/linux/l-napi/
Linux內(nèi)核報文收發(fā)原理:
數(shù)據(jù)包接收系列 — 上半部實現(xiàn)(網(wǎng)卡驅(qū)動)
http://blog.csdn.net/zhangskd/article/details/22079509
數(shù)據(jù)包接收系列 — 上半部實現(xiàn)(內(nèi)核接口)
http://blog.csdn.net/zhangskd/article/details/22211295
數(shù)據(jù)包接收系列 — 下半部實現(xiàn)(軟中斷)
http://blog.csdn.net/zhangskd/article/details/21469399
詳解Linux中斷處理中的hardirq與softirq機制
http://blog.chinaunix.net/uid-23769728-id-3079164.html
Monitoring and Tuning the Linux Networking Stack: Receiving Data
http://blog.packagecloud.io/eng/2016/06/22/monitoring-tuning-linux-networking-stack-receiving-data/#detailed-look
Understanding TCP/IP Network Stack & Writing Network Apps
http://www.cubrid.org/blog/dev-platform/understanding-tcp-ip-network-stack/
其它:
Linux 上的基礎(chǔ)網(wǎng)絡(luò)設(shè)備詳解
https://www.ibm.com/developerworks/cn/linux/1310_xiawc_networkdevice/