摘要 |
Disclosed are a packet reception method and apparatus for a processor network interface inside a device. The apparatus comprises: a packet reception hardware module configured to deliver a received data packet message to a corresponding VCPU queue according to a pre-configuration; a packet reception threading module configured to receive the data packet message in the bound VCPU queue, determine the priority of the data packet message according to the Ethernet type of the received data packet message, and deliver the received data packet message to a corresponding common queue according to a pre-configured correspondence between the priority of the data packet message and the priority of the common queue; and a service module configured to read the data packet message in the common queue according to the priority order of each common queue. |