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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ANAND Prashant, MEHRA Ashwani Kumar
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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.