![基于网卡的报文分流处理方法](/CN/2013/1/150/images/201310751648.jpg)
基本信息:
- 专利标题: 基于网卡的报文分流处理方法
- 申请号:CN201310751648.8 申请日:2013-12-31
- 公开(公告)号:CN104753814B 公开(公告)日:2018-04-06
- 发明人: 鲁松 , 周立 , 邹昕 , 于林涛 , 秦德楼 , 任晓瑶 , 杜建明 , 原万万 , 张家琦 , 彭义刚
- 申请人: 国家计算机网络与信息安全管理中心 , 杭州迪普科技股份有限公司
- 申请人地址: 北京市朝阳区裕民路甲3号
- 专利权人: 国家计算机网络与信息安全管理中心,杭州迪普科技股份有限公司
- 当前专利权人: 国家计算机网络与信息安全管理中心,杭州迪普科技股份有限公司
- 当前专利权人地址: 北京市朝阳区裕民路甲3号
- 代理机构: 北京博思佳知识产权代理有限公司
- 代理人: 林祥
- 主分类号: H04L12/861
- IPC分类号: H04L12/861
The invention provides a packet dispersion method based on a network adapter. The packet dispersion method based on the network adapter is applied to a network server; and the method comprises the following steps: dividing a share memory into a plurality of memory blocks by a server control core based on a memory division algorithm; and sending a share memory base address, memory block numbers and memory block sizes to the network adapter; after receiving a packet from outside by the network adapter, determining the number of a network adapter data core transmitting the packet and the number of a corresponding memory block storing the packet by a network adapter control core based on a scheduling algorithm, and sending the memory block number to the corresponding network adapter data core; after receiving the memory block number from the network adapter control core by the network adapter data core, calculating a memory block address storing the packet based on the share memory base address, the memory block numbers and the memory block sizes, and storing the packet into the memory block. By the packet dispersion method based on the network adapter, the utilization ratio of a network adapter multi-core CPU in the network server can be effectively increased, accordingly avoiding the resource waste of the network adapter multi-core CPU, and achieving a real parallel access to the share memory by the network adapter multi-core CPU.
公开/授权文献:
- CN104753814A 基于网卡的报文分流处理方法 公开/授权日:2015-07-01
IPC结构图谱:
H | 电学 |
--H04 | 电通信技术 |
----H04L | 数字信息的传输,例如电报通信 |
------H04L12/00 | 数据开关网络 |
--------H04L12/70 | .分组交换系统 |
----------H04L12/701 | ..路由或路径发现 |
------------H04L12/861 | ...数据包缓冲或排队装置;队列调度 |