Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Rapid table refreshing method based on hardware DMA

A fast and hardware technology, applied in the field of network switching, can solve the problems of long time consumption, heavy CPU load, complicated operation, etc., to achieve the effect of reducing the number of operations, reducing the delay of meter allocation, and the following table method is flexible and simple.

Pending Publication Date: 2022-06-28
芯河半导体科技(无锡)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional table allocation method configures the table item RAM in each module sequentially through CPU direct register or indirect register access. This method has a heavy CPU load, complex operations, and takes a long time.

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
  • Rapid table refreshing method based on hardware DMA
  • Rapid table refreshing method based on hardware DMA
  • Rapid table refreshing method based on hardware DMA

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] like Figure 1-3 As shown in the figure, the present invention discloses a fast table refresh method based on hardware DMA. During the DMA table refresh operation, two kinds of table entries are required, one is a data table entry, and the other is a descriptor table entry. The format of the data table entry is It is agreed by software and hardware and finally maintained by software, and the descriptor table entry is agreed and maintained jointly by software and hardware.

[0026] Data table entry:

[0027] First, agree with the software on the content format of the entry. Because the configuration of the entry is delivered in the form of a message, a certain frame header is required to delimit the auxiliary message, and a 4-byte synchronization can be used. The header is matched and synchronized, or the size of the header can be defined by communication with the software;

[0028] Secondly, the relevant information of the table entry is required. Since the synchroniz...

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 the related technical field of network exchange, in particular to a rapid table refreshing method based on hardware DMA (direct memory access), which comprises the following steps: firstly, constructing a descriptor space and a data space in a memory, filling descriptor table items in the descriptor space, filling data table items in the data space in a message manner, and storing information of the data table items in the descriptor table items; then informing the DMA of the index address of the descriptor table item, initiating a read operation by the DAM through the index address to obtain the descriptor table item, and extracting a corresponding data table item message according to information in the descriptor table item; and finally, analyzing the data table item message to obtain configuration information, recombining the configuration information, and writing the recombined configuration information into a corresponding table item RAM (Random Access Memory) through a configuration interface to complete table item configuration. According to the method and the device, the burden of a CPU (Central Processing Unit) can be reduced, table entries with any bit width of 64-512 bits can be flexibly configured through setting, and the table refreshing time is greatly saved due to the adoption of a pure hardware mode.

Description

technical field [0001] The invention relates to the technical field of network switching, in particular to a method for fast table flushing based on hardware DMA, which is suitable for the scene of fast table flushing between a host and a switch, and accelerates the initialization of network equipment to achieve fast startup. Background technique [0002] With the rapid development of the network, the importance of the bearer network is self-evident. With the commercialization of 5G communication technology, it is very important whether the bearer network can meet the requirements of the 5G network. It will affect the commercial process of 5G, and the bearer network needs to support different scenarios, to provide users with fast, secure, and low-latency services; Ethernet switching chips are designed to meet the needs of Ethernet packet transmission access / aggregation networks, and need to support a variety of scenarios and services. As support, the device needs to configur...

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): H04L41/0806H04L41/083H04L45/00H04L45/745H04L69/22
CPCH04L41/083H04L41/0806H04L69/22H04L45/54H04L45/745Y02D10/00
Inventor 李超
Owner 芯河半导体科技(无锡)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products