A method for network communication between cores of multi-core processor chips

A multi-core processor and network communication technology, applied in the field of network communication between multi-core processor chips and network communication, can solve the problems of complex and insufficient interfaces, and achieve the effect of simple and easy-to-use interfaces.

Active Publication Date: 2020-08-07
CSIC WUHAN LINCOM ELECTRONICS
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are restrictions on network routing rules, that is, network data packets sent from a network card will not be forwarded back to this network card. Therefore, according to the normal network communication method, the internal cores of the multi-core processor cannot communicate through the network. communication
[0003] The existing inter-core communication methods of multi-core processors include inter-core interrupts, shared memory, etc., but the interface is more complicated, and it is far less convenient to use than the standard network communication interface. The method of inter-kernel network communication

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 method for network communication between cores of multi-core processor chips
  • A method for network communication between cores of multi-core processor chips
  • A method for network communication between cores of multi-core processor chips

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0041] This embodiment is an example of implementing the present invention on an embedded multi-core processor TMS320C6678 (C6678 for short). The C6678 processor involved in this embodiment has 8 processing cores, and only one network hardware is integrated on the chip.

[0042] The concrete realization of this embodiment is described in detail below:

[0043](1) Set the MAC address

[0044] The MAC address only requires that the MAC addresses of the eight cores be different from each other, and there are no other special requirements. In this example, the MAC addresses set for the eight cores are: 12-34-56-10-01-00, 12-34-56-10-01-01, 12-34-56-10-01-02, 12-34-56-10-01-03, 12-34-56-10-01-04, 12-34-56-10-01-05, 12-34-56-10-01-06, 12- 34-56-10-01-07.

[0045] Each core adds corresponding filtering rules in the network driver according to their respective MAC addresses to ensure that when the network hardware receiving module receives a data packet whose destination address i...

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 invention discloses a method for network communication among multi-core processor chip cores, comprising: 1) setting different MAC addresses for each core, and adding corresponding filtering rules in the network driver; 2) using a set of Specific rules set different IP addresses for each core, so that a certain core can determine whether the destination address of the data packet is another core in the chip or an address outside the chip when sending a data packet; 3) in the network driver Add judgment, analyze the destination address of the data packet before sending each data packet, and perform different operations according to whether the destination address belongs to the on-chip or off-chip address. The invention realizes the network communication between the cores of the multi-core processor, so that the network communication of the multi-core processor is no longer limited by the network barrier between the cores of the chips, and the network standard interface can be used for communication. Users do not need to add additional processing when writing application programs to realize network communication between chip cores, which is transparent to users.

Description

technical field [0001] The invention relates to a method for network communication, in particular to a method for network communication between cores of a multi-core processor, and belongs to the technical field of network applications. Background technique [0002] The network uses physical links to connect isolated computer nodes together to form data links, so as to achieve the purpose of resource sharing and communication. Network communication is to connect various isolated devices through the network, and realize the communication between various computers through information exchange. At present, most embedded systems adopt the AMP mode (asymmetric multiprocessing, Asymmetric multiprocessing). Each processor core runs an independent operating system, and each core also needs to independently use network resources to communicate with the outside world. However, due to hardware limitations, multiple cores in the same processor cannot communicate through the network. T...

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): H04L12/02H04L29/12G06F15/173
CPCH04L12/02G06F15/17306H04L61/5007H04L2101/622
Inventor 涂楚成舒红霞侯旋
Owner CSIC WUHAN LINCOM ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products