我试图理解在数据包到达NIC之间发生的一切,直到目标应用程序接收到该数据包为止。
假设:缓冲区足够大,足以容纳整个数据包。我知道情况并不总是这样,但我不想介绍太多的技术细节
一种选择是:
1. Packet reaches the NIC.
2. Interrupt is raised.
2. Packet is transferred from the NIC buffer to OS's memory by means of DMA.
3. Interrupt is raised and the OS copies the packet from it's buff