Unlock instant, AI-driven research and patent intelligence for your innovation.

A message receiving method, network card and electronic equipment

A message receiving and message technology, applied in the field of communication, to achieve the effect of preventing packet stringing

Active Publication Date: 2022-03-11
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF20 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present application is to provide a message receiving method, network card and electronic equipment to solve the problem that in the prior art, when using the E1000 network card driver to drive a network card without a bridge chip, multiple physical network ports cannot be used for data processing. sending and receiving problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A message receiving method, network card and electronic equipment
  • A message receiving method, network card and electronic equipment
  • A message receiving method, network card and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The technical solution in the present application embodiment will be described below in conjunction with the drawings in the present application embodiment.

[0054] image 3 A network card structure provided by the embodiment of the present application, such as image 3 As shown, the network card includes four physical grids, and there is no bridging inside the network card. Therefore, from the hardware, a PCI interface can only have a PCI slot, in order to enable these four physical network ports to send and receive data, the present application embodiment maps a PCI slot mirror image to 4 PCI slot, each slot corresponds to a physical network port. It will be appreciated that in the four PCI slots, one is a physical slot, and there are three virtual slots corresponding to the physical slot. Since there is only one DMA memory and a transceiver queue in a physical PCI slot, a set of transceivers include eight closing queues and eight issues. It should be explained that image...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The application provides a message receiving method, a network card and electronic equipment. The method includes: receiving the first message transmitted through the physical network port; loading the network port ID of the physical network port and the first message into the DMA memory, and identifying the state in the DMA descriptor corresponding to the first message Set; extract the first message from the set DMA descriptor, and add the virtual interface identifier corresponding to the network port ID to the first message to obtain the second message; save the second message to the receiving queue In: taking out the second packet from the receiving queue according to the virtual interface identifier, and storing the second packet in a buffer corresponding to the virtual interface identifier. In the embodiment of the present application, the first message and the corresponding network port ID are stored in the DMA descriptor, and then the corresponding second message is fetched from the receiving queue according to the virtual port ID corresponding to the physical network port, thereby realizing multiple The physical network port shares the DMA memory and the receiving queue, and effectively prevents packet stringing.

Description

Technical field [0001] The present application relates to the field of communication technologies, and in particular, a packet receiving method, a network card and an electronic device. Background technique [0002] Intel network card costs, hardware core components and software programs are abroad. figure 1 Intel network card structure provided for prior art, such as figure 1 As shown, there is a bridge inside the Intel network card. From the hardware, a PCI interface can be divided into four PCI slots, respectively correspond to the four physical grid ports, and each network port of the network card has independent DMA. Descriptor base register, send and receive a descriptor queue. [0003] figure 2 Schematic structural diagram of the Intel NIC operation of the prior art, such as figure 2 As shown, each PCI interface corresponds to a PCI slot, the Intel network card access device launches the Linux system, and then loads the E1000 NIC driver, you can register a network device ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L49/111H04L49/90H04L49/901G06F13/28
CPCH04L49/30H04L49/9036H04L49/901G06F13/28
Inventor 李文举
Owner BEIJING TOPSEC NETWORK SECURITY TECH