Method and system for orderly storing CPLD data packets

A technology of data packet and data length, applied in the direction of electrical digital data processing, instruments, etc., can solve the problem that the maximum data transmission volume cannot be exceeded, and achieve the effect of improving the data throughput rate

Active Publication Date: 2016-01-20
BEIJING SANSEC TECH DEV
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is a limitation in the PCIExpress specification. The maximum data transfer volume allowed by a DMA read request cannot exceed MaxRequestSize, and MaxRequestSize is generally 512 in PCIExpress endpoint devices, and the maximum cannot exceed 4096 bytes.

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
  • Method and system for orderly storing CPLD data packets
  • Method and system for orderly storing CPLD data packets
  • Method and system for orderly storing CPLD data packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0041] Aiming at the out-of-order problem of the completed data packet (CPLD) returned by the DMA read initiated by the PCIExpress endpoint device, the present invention proposes a Tag-based addressing scheme, thereby realizing orderly storage of the completed data packet CPLD. In order to realize the DMA read operation with a large amount of data, it is necessary to divide the entire DMA read operation into multiple continuous small DMA read operations to complete the combination. The length of each DMA read data transfer is MaxRequestSize, and the continuous small DMA read operation, They are distinguished by consecutive Tags.

[0042] Basically, most of the data CPLD returned by each DMA read request is returned ...

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 relates to a method and system for orderly storing CPLD (Completion Data) data packets. The method comprises the following steps of segmenting DMA (Direct Memory Access) reading requests sent by PCI (Peripheral Component Interconnect) Express endpoint equipment to a host memory into a plurality of sub DMA reading requests with continuous labels by using a label order issuing system, and sending the plurality of sub DMA reading requests to a host; receiving CPLD data packets returned by the host, and determining storage base addresses of the CPLD data packets in the PCI Express endpoint equipment according to labels of the CPLD data packets; performing offset address calculation on the CPLD data packets with same labels, and determining offset addresses of the CPLD data packets; and storing the corresponding CPLD data packets according to the determined offset addresses and the base addresses of the CPLD data packets in the PCI Express endpoint equipment. The method and the system have the advantages that the label order issuing system is built; the large-data-volume DMA reading operation is realized; a base address and offset address calculation system is built; the high-speed reading scheme of the PCI Express endpoint equipment and the efficient high-speed and undelayed storage scheme of CPLD data in an RAM (Random Access Memory) are realized; and the data throughput rate is greatly improved.

Description

technical field [0001] The invention relates to the field of data storage based on the PCIExpress high-speed bus, in particular to a method and system for orderly storing CPLD (CompletionData) data packets returned by a PCIExpress endpoint device initiating a DMA read request to a host memory. Background technique [0002] The first-generation I / O buses include ISA, EISA, VESA, and MicroChannel (MicroChannel) buses, while the second-generation I / O buses include PCI, AGP, and PCI-X. PCIExpress is a third-generation high-performance I / O bus used to interconnect peripheral devices such as computing and communication platform applications. [0003] The I / O bus of the first two generations was a parallel bus, and multiple devices shared a bus. The third-generation bus PCIExpress inherits the most useful features of the second-generation bus architecture, and adopts new research results in computer architecture. It can realize serial and point-to-point communication between two d...

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 Applications(China)
IPC IPC(8): G06F13/28
CPCG06F13/28
Inventor 苗全刘晓东张岳公
Owner BEIJING SANSEC TECH DEV
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