发明名称 |
METHOD AND SYSTEM FOR BURST BASED PACKET PROCESSING |
摘要 |
In one embodiment, a method includes storing received packets at an electronic device in a plurality of packet buffers based on hashing the packets, where each of the plurality of packet buffers is implemented as a hash bucket of a hash table. The method includes identifying a packet buffer that has stored packets, selecting a first processing thread from a plurality of processing threads based on a load balancing mechanism, forwarding a plurality of packets from the identified packet buffer to the first processing thread, and setting an indication that the identified packet buffer is mapped to the first processing thread. The method includes determining that the first processing thread has completed processing the plurality of packets, selecting either the first processing thread or a second processing thread for processing subsequent packets from the identified packet buffer, and maintaining or updating the indication based on the selection. |
申请公布号 |
US2016301632(A1) |
申请公布日期 |
2016.10.13 |
申请号 |
US201514681876 |
申请日期 |
2015.04.08 |
申请人 |
Telefonaktiebolaget L M Ericsson (publ) |
发明人 |
ANAND Prashant;MEHRA Ashwani Kumar |
分类号 |
H04L12/861;H04L12/803 |
主分类号 |
H04L12/861 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method of packet processing implemented in an electronic device, the method comprising:
storing received packets in a plurality of packet buffers based on hashing the packets, wherein each of the plurality of packet buffers is implemented as a hash bucket of a hash table; identifying, from the plurality of packet buffers, a packet buffer that has stored packets; selecting a first processing thread from a plurality of processing threads of the electronic device based on a load balancing mechanism; forwarding a plurality of packets from the identified packet buffer to the first processing thread; setting an indication that the identified packet buffer is mapped to the first processing thread; determining that the first processing thread has completed processing the plurality of packets; selecting either the first processing thread or a second processing thread from the plurality of processing threads for processing subsequent packets from the identified packet buffer based on the load balancing mechanism in response to determining that the first processing thread has completed processing the plurality of packets and that the identified packet buffer has stored the subsequent packets; and maintaining or updating the indication based on the selection of either the first processing thread or the second processing thread. |
地址 |
Stockholm SE |