Packet reception between driver and kernel
来源:互联网 发布:mac装win10无线 编辑:程序博客网 时间:2024/06/04 18:43
1. in function net_device->open, request_irq is used to allocate
an interrupt line and register the interrupt handler
2. netif_rx or netif_rx_schedule is called in the interrupt handler
which is used to inform the kernel for a coming frame.
These two function behave differently. The first one will enqueue the
packet into softnet_data->input_pkt_queue, while the second one will enqueue
the device into softnet_data->pool_list.
3. netif_rx_shedule and netif_rx_complete are used to inqueue and dequeue
one net_device on poll_list
4. net_rx_action is the bottom half of interrupt routine,
it will check the poll_list for those device and call the
net_device->poll to dequeue the ingress packets
5. net_device->poll use netif_receive_skb to determine which function
handler to execute to process the packet at L3
- Packet reception between driver and kernel
- Packet transmission between driver and kernel
- 5.4. Interaction Between Devices and Kernel
- netlink - Communication between kernel and userspace (PF_NETLINK)
- differences between Linux kernel 2.6 and Linux kernel 3.0
- Kinect sensor and Linux kernel driver
- linux kernel and driver-编译安装内核
- Linux Kernel and Driver Development Training
- Android Bluetooth Data Reception and Sending
- Android Bluetooth Data Reception and Sending
- Avoid memory copying between user space and kernel space
- what is the difference between zImage (kernel) and boot.img
- Execution Differences Between Kernel Modules and User Programs
- the difference between kernel stack and user stack
- What are the difference between PCL Driver and PS(PostScript) Driver?
- Kernel Packet Traveling Diagram
- Kernel Packet Traveling Diagram
- Writing Solaris Device Driver: Kernel and Device Tree
- [VB.NET]读写INI文件
- java压缩与解压文件
- Vdsp(bf561)中的浮点运算(4):FLT_MAX
- 天气预报代码
- 实例讲解:aiCache如何通过header-driven设置缓存失效
- Packet reception between driver and kernel
- (转)MCI编程
- asp.net里AjaxPro简单入门教程
- 嵌入式开发的道路(转贴)
- 解决安装IE8后,VS2005无法调试的问题
- gcc头文件指定及动态链接的使用
- 朱清时院士警告:创新力别被文化垃圾淹没
- Packet transmission between driver and kernel
- Protocol Handlers