Patent ID: 11941449
Assignee: GUANGDONG INSTITUTE OF ARTIFICIAL INTELLIGENCE AND ADVANCED COMPUTING
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G  H

Claim 4:
5. The method of claim 4, wherein the continuously receiving packets acquired by each 10-gigabit network card in a driving manner of user-space polling in step 300 comprises:
step S310, transmitting, by each 10-gigabit network card, the acquired packets to system memory through a PCIE bus according to an address corresponding to a DMA description unit in a RX and moving the RDH forward until a STAT_DD flag bit of the DMA description unit at the current location of the RX is 1;
step S320, obtaining a virtual address of a packet corresponding to the DMA description unit, storing the virtual address in a pointer array; and
requesting a new packet receiving space from the hugepage memory pool for initialization and writing a newly buffered physical address to the DMA description unit; and
step S330, cyclically performing step S310 and step S320 until a preset maximum number of packets received at a time is reached, and performing step S340 when the maximum number of packets received at a time is reached; and step S340, moving forward the RDT, freeing a storage space of each 10-gigabit network card, and
processing a packet corresponding to the pointer array, copying processing results to the lock-free FIFO buffer, and freeing a space of the memory pool corresponding to the pointer array after the copying is completed;
wherein the processing includes integrity detection, and packet header filtering.