A method and system for implementing Gigabit Ethernet data traffic shaping through FPGA
Through the combination of FPGA module and DDR3 storage module, Gigabit Ethernet data traffic shaping is realized, which solves the problems of network bandwidth congestion and insufficient TSN protocol support, achieves the relief of bandwidth pressure such as video transmission and the balance of data transmission, and reduces cost.
Patent Information
- Application Number
- CN202111586591.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-23
AI Technical Summary
Existing technologies cannot effectively allocate more bandwidth to services when network bandwidth is congested, and are prone to packet loss especially when business traffic bursts. Moreover, the implementation cost of time-sensitive networks (TSN) is high and there are few chip solutions, making it unable to support existing technologies. The TSN protocol of the device.
Gigabit Ethernet data traffic shaping is implemented through the FPGA module, and DDR3 storage modules and GEPHY access modules are used for data format conversion and traffic processing. Combined with CPU configuration management, the output port network bandwidth is dynamically adjusted to ensure balanced data transmission.
It realizes traffic shaping control of multi-channel Gigabit Ethernet input interfaces, relieves bandwidth pressure such as video transmission, ensures the balance and stability of data transmission, avoids packet loss, and reduces implementation costs.
Smart Images

Figure CN114500385B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Ethernet access and control service management, and in particular to a method and system for implementing Gigabit Ethernet data flow shaping through FPGA. Background Art
[0002] Network traffic control is a method of controlling network traffic using computer software or special equipment. In the process of data transmission and reception, it is very likely that the receiver or the transmission network will not have time to receive all the data from the sender. In this case, it is necessary to control both the sender and the sender to avoid data loss.
[0003] Existing solution 1: Use network equipment to limit the transmission bandwidth of ports or services, so that when the service is transmitted, the bandwidth that does not exceed the upper limit is used for transmission on the transmission network;
[0004] Disadvantages of the existing solution 1: When network bandwidth is congested, it is a common solution to limit the bandwidth of the service. After the limit, the service can only communicate with a bandwidth less than the set bandwidth. Even if the total transmission bandwidth is idle, more bandwidth cannot be allocated to the service. Especially when the service traffic is bursty, it is very likely to cause packet loss.
[0005] Existing Solution 2: Time-Sensitive Network (TSN) uses standard Ethernet to provide distributed time synchronization and deterministic communication. TSN eliminates the non-determinism caused by traffic congestion in standard Ethernet and enables business.
[0006] Disadvantages of the existing solution 2: As a relatively popular new technical standard, the time-sensitive network (TSN) currently faces the important problem that there are few chip solutions that can be implemented and the price of implementation is high. When accessing the network, both the sender and the receiver need to support the TSN protocol. When the existing business equipment is connected, since the original equipment does not support the TSN protocol, the functions of the TSN network cannot be realized, and thus the advantages brought by TSN cannot be experienced.
[0007] Therefore, it is necessary to carry out a new design to overcome the above-mentioned shortcomings. Summary of the invention
[0008] The purpose of the present invention is to address the defects of the prior art and provide a method and system for implementing Gigabit Ethernet data flow shaping through FPGA. When a Gigabit Ethernet receiving end receives data and then forwards it, the data sent to the output end needs to be flow controlled, and a method for shaping the instant bandwidth flow of the data at the time of output according to the requirements of the output side.
[0009] In order to achieve the above purpose, the present invention adopts the following technical solutions:
[0010] A system for implementing Gigabit Ethernet data traffic shaping through FPGA, comprising an FPGA module, a DDR3 storage module, a user-side Gigabit Ethernet GEPHY access module, and a system-side Gigabit Ethernet GEPHY access module; the FPGA module is connected to the DDR3 storage module, the user-side Gigabit Ethernet GEPHY access module, and the system-side Gigabit Ethernet GEPHY access module respectively;
[0011] The user-side Gigabit Ethernet GEPHY access module is used to receive Ethernet data input from the user port and convert the received Ethernet data into RGMII format data recognized by the FPGA module;
[0012] The FPGA module is used to obtain data in RGMII format, perform traffic shaping on the obtained data, and cache the processed data in the DDR3 storage module;
[0013] DDR3 storage module, used to receive and store data processed by the FPGA module;
[0014] The system-side Gigabit Ethernet GEPHY access module is used to read the data in the DDR3 storage module through the FPGA module and output the read data.
[0015] Furthermore, the system-side Gigabit Ethernet GEPHY access module is also used to receive data input from the system port and convert the received data into RGMII format data recognized by the FPGA module;
[0016] The user-side Gigabit Ethernet GEPHY access module is also used to read data in the DDR3 storage module through the FPGA module and output the read data.
[0017] Further, the FPGA module includes an RGMII module, an Ethernet data processing module, and a memory gating module; the Ethernet data processing module is connected to the RGMII module and the memory gating module respectively;
[0018] The RGMII module is used to parse Ethernet data according to the standard Ethernet protocol to obtain Ethernet data packets and determine whether the obtained Ethernet data packets are correct packets;
[0019] The Ethernet data processing module uses the FIFO memory to synchronize the data to the local processing clock if it is a correct message. After receiving a complete Ethernet data message, the Ethernet data in the FIFO memory is read;
[0020] The memory selection module is used to store the read Ethernet data.
[0021] Furthermore, the Ethernet data processing module is also used to record the length of the data frame and the address of the DDR3 storage module cache.
[0022] Furthermore, the FPGA module also includes a DDR control interface module, and the DDR control interface module is connected to the memory gating module and the DDR3 storage module respectively;
[0023] DDR control interface module, used to read or write data.
[0024] Furthermore, it also includes a management control CPU module connected to the FPGA module, and the management control CPU module is used to perform configuration management on the FPGA module.
[0025] Furthermore, the user-side Gigabit Ethernet GEPHY access module and the system-side Gigabit Ethernet GEPHY access module in the system are both 4-channel.
[0026] Furthermore, the FPGA module uses a chip of model GW2A-18; the DDR3 storage module uses a chip of model H5TQ2G63.
[0027] Accordingly, a method for implementing Gigabit Ethernet data traffic shaping through FPGA is also provided, including:
[0028] S1. After the user-side Gigabit Ethernet GEPHY access module receives the Ethernet data input from the user port, it converts the received Ethernet data into data in RGMII format recognized by the FPGA module;
[0029] S2. The FPGA module obtains data in RGMII format, performs traffic shaping on the obtained data, and caches the processed data into the DDR3 storage module;
[0030] S3. DDR3 storage module receives and stores the data processed by FPGA module;
[0031] S4. The system-side Gigabit Ethernet GEPHY access module reads the data in the DDR3 storage module through the FPGA module and outputs the read data.
[0032] Furthermore, it also includes:
[0033] The Gigabit Ethernet GEPHY access module on the system side receives the data input from the system port and converts the received data into RGMII format data recognized by the FPGA module;
[0034] The user-side Gigabit Ethernet GEPHY access module reads data from the DDR3 storage module through the FPGA module and outputs the read data.
[0035] Compared with the prior art, the present invention can realize traffic shaping control of multiple Gigabit Ethernet input interfaces, balance short-term burst data, reduce instantaneous bandwidth pressure, and make Ethernet data, especially, it can alleviate the bandwidth pressure of Ethernet data interface used for video transmission and solve its instantaneous data pressure. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a system structure diagram for implementing Gigabit Ethernet data traffic shaping through FPGA provided in Example 1;
[0037] Figure 2 This is a structural diagram of the FPGA module provided in Example 1. DETAILED DESCRIPTION
[0038] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0039] The purpose of the present invention is to address the defects of the prior art and provide a method and system for implementing Gigabit Ethernet data traffic shaping through FPGA, so as to realize the bandwidth usage of input port network access data and dynamically adjust the output port network bandwidth occupancy in combination with CPU configuration management, so as to ensure that the output data is relatively balanced without discarding data.
[0040] Embodiment 1
[0041] This embodiment provides a system for implementing Gigabit Ethernet data traffic shaping through FPGA, such as Figure 1 As shown, it includes an FPGA module 11, a DDR3 storage module 12, several user-side Gigabit Ethernet GEPHY access modules 13, several system-side Gigabit Ethernet GEPHY access modules 14, and a management control CPU module 15; the FPGA module 11 is respectively connected to the DDR3 storage module 12, several user-side Gigabit Ethernet GEPHY access modules 13, several system-side Gigabit Ethernet GEPHY access modules 14, and the management control CPU module 15.
[0042] In this embodiment, a system for implementing Gigabit Ethernet data traffic shaping through FPGA can receive data input from a user end and output it from a system end; or it can receive data input from a system end and output it from a user end.
[0043] This embodiment is described in detail by taking the example of receiving data inputted by the user end and outputting it from the system end.
[0044] The user-side Gigabit Ethernet GEPHY access module 13 is used to receive Ethernet data input from the user port and convert the received Ethernet data into data in the RGMII format recognized by the FPGA module.
[0045] The user-side Gigabit Ethernet GEPHY access module 13 of this embodiment is an identical 4-way user-side Gigabit Ethernet interface, and each way has the same transmission mode and processing mode, providing an independent 4-way Gigabit Ethernet access function; this embodiment takes one way as an example for specific description.
[0046] like Figure 1 The user access port #1 in receives Ethernet data. After receiving the Ethernet data, it is converted into interface data in RGMII format that can be recognized by the FPGA module 11 through the user-side Gigabit Ethernet GEPHY access module 13.
[0047] The FPGA module 11 is used to obtain data in the RGMII format, perform traffic shaping on the obtained data, and cache the processed data in the DDR3 storage module.
[0048] like Figure 2 As shown, the FPGA module 11 includes several RGMII modules, several Ethernet data processing modules, and a memory gating module; the Ethernet data processing module is connected to the RGMII module and the memory gating module respectively.
[0049] In this embodiment, the number of RGMII modules is twice that of Ethernet data processing modules, and the number of Ethernet data processing modules is the same as the number of user-side Gigabit Ethernet GEPHY access modules and system-side Gigabit Ethernet GEPHY access modules; each user-side Gigabit Ethernet GEPHY access module will be connected to an RGMII module, and each system-side Gigabit Ethernet GEPHY access module will also be connected to an RGMII module.
[0050] The RGMII module is used to parse Ethernet data according to the standard Ethernet protocol to obtain Ethernet data packets and determine whether the obtained Ethernet data packets are correct packets;
[0051] The received data is processed by the RGMII module connected to the user-side Gigabit Ethernet GEPHY access module. Specifically, the Ethernet data message corresponding to the received data is parsed according to the standard Ethernet protocol; and it is determined whether the parsed Ethernet message is a correct message. If not, it means that an error occurred during the transmission process, and the message is discarded; if so, it means that the message is correct, then the message is transmitted to the Ethernet data processing module for further processing.
[0052] The Ethernet data processing module uses the FIFO memory to synchronize the data to the local processing clock if it is a correct message. After receiving a complete Ethernet data message, the Ethernet data in the FIFO memory is read;
[0053] After the Ethernet data processing module receives the message input from the RGMII module, it first uses the on-chip FIFO memory to synchronize the data to the local processing clock. After receiving a complete data message, it reads the data from the FIFO memory and outputs it to the memory selection module, thereby realizing the cache of the DDR3 memory module on the board. At the same time, the Ethernet data processing module records the length of the data frame, which is used as a reference for the amount of data when reading data from the DDR3 memory module. It also records the address of the DDR3 memory module cache to prepare for data output bandwidth control and traffic shaping when sending.
[0054] The memory selection module is used to store the read Ethernet data.
[0055] In this embodiment, the FPGA module further includes a DDR control interface module, and the DDR control interface module is connected to the memory gating module and the DDR3 storage module respectively;
[0056] DDR control interface module, used to read or write data.
[0057] In order to reduce the timing pressure of the FPGA design, the internal data width of the DDR control interface module is 128 bits, that is, 1 clock is used to read and write 16 bytes of data. The memory gating module completes the selection and switching function of the 4-way Ethernet processing module when reading and writing the DDR3 memory module. By gating, the operation authority of the DDR control interface module is granted to a certain one of the 4-way Ethernet processing modules at a certain moment.
[0058] For a write operation, the write instruction, write address, and write data of the data are transmitted to the DDR3 control interface module in the same direction at the same time. After receiving the operation instruction, the DDR3 control interface module writes the data into the DDR3 storage module.
[0059] For a read operation, a read instruction and a read address are output first, and then data is given from the DDR3 memory module.
[0060] After testing, the maximum clock delay from the read instruction to the data received is 90 clocks. During the read operation, if 512 bytes of data are read, the effective clocks for data operation are 32, but the total clocks for the operation will be at least 112. In this case, the bandwidth utilization of the DDR3 memory module is less than 28%. In this case, the data operation bandwidth in the DDR3 memory module will not reach the minimum bandwidth utilization of 75% mentioned earlier. Therefore, when designing, we cannot consider switching channels after the data is read and written. Instead, we use the method of separating the switching operation of the read instruction channel and the switching operation of the data read output.
[0061] The specific implementation method is as follows: the memory gating module uses a state machine to cycle the read and write instructions of the 4-way Ethernet processing module. When the state machine detects a read and write request on a certain channel, the state machine is locked and the operation authority of the DDR3 control interface module is granted to the channel. After the read and write instructions are sent, the Ethernet processing module immediately releases the read and write operation authority, and the state machine enters the operation of the next channel. If it is a write operation, the operation ends. If the operation is a read operation, the actual read data is not returned to the module from the DDR3 control interface module. Therefore, the processing mechanism of read return data is enabled at this time. When there is no read operation instruction within 128 clocks and the DDR3 control interface module does not return valid read valid data, the data return state machine enters the idle state, and all counters are cleared. Even if an abnormality occurs in the operation, it can return to normal through this method. Next, if the memory gating module receives a read instruction, it records which module the read instruction is issued by, and records the data that needs to be read for multiple clocks; continuously, the memory gating module will continue to receive read instructions, continue to record which module the read instruction is issued by, and the data that needs to be read for multiple clocks, etc. At the same time, the memory selection module will store the read instruction requests and the requested data quantity of multiple channels. At this time, the DDR3 control interface module finally reads the data from the DDR3 storage module and transmits it to the DDR3 control interface module. The DDR3 control interface module will return the read data to the specified channel in turn according to the recorded channel number and the requested data quantity. In this way, the actual data bandwidth of DDR3 can be effectively improved.
[0062] In the above manner, traffic shaping control of 4-way Gigabit Ethernet interfaces can be implemented through FPGA.
[0063] The FPGA module of this embodiment uses a chip model GW2A-18. The FPGA chip is the core component of this solution, which completes the access of 4 Gigabit Ethernet on the user side, the access of 4 Ethernet on the system side, the control and management of the DDR3 interface, and the processing of all services.
[0064] The DDR3 storage module 12 is used to receive and store data processed by the FPGA module.
[0065] The DDR3 storage module uses a chip of model H5TQ2G63 to implement on-chip caching of received Ethernet service data.
[0066] The DDR3 memory module used has a capacity of 2Gbit, or 256Mbyte. The capacity is divided into 16 equal parts, each with a space of 16Mbyte. One cache space block is used to cache data frames in one direction. Each cache space block is then further subdivided into small spaces with a capacity of 2Kbyte, each of which is used to cache one frame of data. In this way, 8192 data frames can be cached in each direction.
[0067] Since the length of Ethernet frames ranges from 64 to 1518 bytes, in order to improve the space utilization and bandwidth utilization of the DDR3 storage module, multiple packets of smaller lengths are spliced into a packet of larger length for centralized storage and forwarding. The length of the spliced data packet cannot exceed the capacity of one small storage space, so the spliced length is limited.
[0068] The specific implementation method is that when the length of the complete data frame received by the current FPGA module is less than 512 bytes (maximum 530 bytes), the next data frame is spliced to the end of the previous frame to form a data frame of a new length. The frame interval is used between the two frames. When sending, it is decomposed into the original multiple data frames according to the frame interval. If the length of multiple data frames after splicing is still less than 512 bytes, the next new data frame will continue to be spliced until the length is greater than 512 bytes. When the spliced data frame is stored and forwarded inside the FPGA, it is regarded as a whole, and the frame length is the length of the whole. The DDR3 storage module uses this length as a reference when performing write and read operations. In addition, if the data cached in the cache space is less than 512 bytes, but no new Ethernet frame is received within the next 1 microsecond, the data frame splicing operation is interrupted, and the received data content is processed as a complete data frame to avoid a large delay in the last received data frame.
[0069] The Ethernet processing module in the FPGA module continuously receives Ethernet data frames and also continuously sends data frames. According to the address of the write operation DDR3 storage module and the address of the read operation DDR3 storage module, it can calculate how many data frames are cached in DDR3. According to the number of cached data frames, the sending speed is dynamically controlled. At present, the following method is used for control. When the number of data frames in the DDR3 storage module is less than 32 frames, the read logic sends data at a time interval of reading 1 frame every 1 millisecond. When each exponential level increases, the data frame sent every 1 millisecond increases by 1, and each packet is sent evenly according to the time. As shown in Table 1 below:
[0070] Table 1
[0071] Serial number Cache Frames 1ms sent frames / frame Send data bandwidth / Mbit 1 0-31 1 ≤12 2 32-63 2 ≤24 3 64-127 3 ≤36 4 128-255 4 ≤48 5 256-511 5 ≤60 6 512-1023 6 ≤72 7 1024-2047 7 ≤84 8 2048-4090 8 ≤96 9 ≥4091 9 1000
[0072] The system-side Gigabit Ethernet GEPHY access module 14 is used to read the data in the DDR3 storage module through the FPGA module and output the read data.
[0073] The system-side Gigabit Ethernet GEPHY access module is the same 4-way system-side Gigabit Ethernet interface, providing an independent 4-way Gigabit Ethernet output function, corresponding one-to-one with the 4-way Gigabit Ethernet interface on the user side, to achieve transparent data transmission function; this embodiment takes one of them as an example for specific description.
[0074] When the Ethernet data processing module detects that there is data cached in the DDR3 storage module, it starts the data sending mechanism, reads the data from the DDR3 storage module according to a certain bandwidth control mechanism, and then transmits the data to the RGMII module connected to the Gigabit Ethernet GEPHY access module on the system side to recompose the Ethernet frame and send it out through the Gigabit Ethernet GEPHY access module on the system side.
[0075] The management control CPU module 15 is used to perform configuration management on the FPGA module.
[0076] The data received by the user-side Gigabit Ethernet GEPHY access module of this embodiment is processed by the FPGA cache for traffic shaping and then output to the system-side Gigabit Ethernet GEPHY access module port at a specified time according to the output bandwidth requirement.
[0077] Correspondingly, the data inputted by the receiving system in this embodiment is specifically outputted from the user end as follows:
[0078] The system-side Gigabit Ethernet GEPHY access module 14 is used to receive data input from the system port and convert the received data into RGMII format data recognized by the FPGA module;
[0079] FPGA module 11, used for acquiring data in RGMII format, performing traffic shaping processing on the acquired data, and caching the processed data into a DDR3 storage module;
[0080] DDR3 storage module 12, used to receive and store data processed by the FPGA module;
[0081] The user-side Gigabit Ethernet GEPHY access module 13 is used to read the data in the DDR3 storage module through the FPGA module and output the read data.
[0082] The processing flow of forwarding data received from the system access port to the service side is the same as the processing flow of forwarding data received from the service access port to the system side, and is not described in detail in this embodiment.
[0083] In this embodiment, data received by the system-side Gigabit Ethernet GEPHY access module port is processed by the FPGA cache and then output to the user-side Gigabit Ethernet GEPHY access module port at a specified time according to the output bandwidth requirement.
[0084] The processing methods of the other three ports in this embodiment are the same and will not be described in detail.
[0085] In this embodiment, there are 4 service ports and 4 system ports for data storage and forwarding, so there are 8 directions for data storage. After the receiving port receives the data, the stored data is written into the DDR3 chip, and then read out and output to the sending port. In order to achieve timely writing and reading of data from the cache, the effective data read and write bandwidth of DDR3 should be greater than 16Gbit. When designing, the working clock frequency of DDR3 is selected as 1333Mhz, and the bandwidth utilization of DDR3 should be no less than 75%.
[0086] Embodiment 2
[0087] This embodiment provides a method for implementing Gigabit Ethernet data traffic shaping through FPGA, including:
[0088] S1. After the user-side Gigabit Ethernet GEPHY access module receives the Ethernet data input from the user port, it converts the received Ethernet data into data in RGMII format recognized by the FPGA module;
[0089] S2. The FPGA module obtains data in RGMII format, performs traffic shaping on the obtained data, and caches the processed data into the DDR3 storage module;
[0090] S3. DDR3 storage module receives and stores the data processed by FPGA module;
[0091] S4. The system-side Gigabit Ethernet GEPHY access module reads the data in the DDR3 storage module through the FPGA module and outputs the read data.
[0092] Furthermore, it also includes:
[0093] The Gigabit Ethernet GEPHY access module on the system side receives the data input from the system port and converts the received data into RGMII format data recognized by the FPGA module;
[0094] The user-side Gigabit Ethernet GEPHY access module reads data from the DDR3 storage module through the FPGA module and outputs the read data.
[0095] It should be noted that the method for implementing Gigabit Ethernet data traffic shaping through FPGA in this embodiment is similar to that in the first embodiment, and will not be described in detail here.
[0096] Compared with the prior art, this embodiment can realize traffic shaping control of multiple Gigabit Ethernet input interfaces, balance short-term burst data, reduce instantaneous bandwidth pressure, and make Ethernet data, especially, it can alleviate the bandwidth pressure of Ethernet data interface used for video transmission and solve its instantaneous data pressure.
[0097] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.
Claims
1. A system for implementing Gigabit Ethernet data traffic shaping through FPGA, characterized in that: It includes an FPGA module, a DDR3 storage module, a user-side Gigabit Ethernet GEPHY access module, and a system-side Gigabit Ethernet GEPHY access module; the FPGA module is connected to the DDR3 storage module, the user-side Gigabit Ethernet GEPHY access module, and the system-side Gigabit Ethernet GEPHY access module respectively; The user-side Gigabit Ethernet GEPHY access module is used to receive Ethernet data input from the user port and convert the received Ethernet data into RGMII format data recognized by the FPGA module; The FPGA module is used to obtain data in RGMII format, perform traffic shaping on the obtained data, and cache the processed data in the DDR3 storage module; DDR3 storage module, used to receive and store data processed by the FPGA module; the DDR3 storage module uses a chip model H5TQ2G63; The system-side Gigabit Ethernet GEPHY access module is used to read the data in the DDR3 storage module through the FPGA module and output the read data; The system-side Gigabit Ethernet GEPHY access module is also used to receive data input from the system port and convert the received data into RGMII format data recognized by the FPGA module; The user-side Gigabit Ethernet GEPHY access module is also used to read data in the DDR3 storage module through the FPGA module and output the read data.
2. The system for implementing Gigabit Ethernet data traffic shaping through FPGA according to claim 1, characterized in that: The FPGA module includes an RGMII module, an Ethernet data processing module, and a memory gating module; the Ethernet data processing module is connected to the RGMII module and the memory gating module respectively; The RGMII module is used to parse Ethernet data according to the standard Ethernet protocol to obtain Ethernet data packets and determine whether the obtained Ethernet data packets are correct packets; The Ethernet data processing module uses the FIFO memory to synchronize the data to the local processing clock if it is a correct message. After receiving a complete Ethernet data message, the Ethernet data in the FIFO memory is read; The memory selection module is used to store the read Ethernet data.
3. The system for implementing Gigabit Ethernet data traffic shaping through FPGA according to claim 2, characterized in that: The Ethernet data processing module is also used to record the length of the data frame and the address of the DDR3 storage module cache.
4. The system for implementing Gigabit Ethernet data traffic shaping through FPGA according to claim 3, characterized in that: The FPGA module also includes a DDR control interface module, and the DDR control interface module is connected to the memory gating module and the DDR3 storage module respectively; DDR control interface module, used to read or write data.
5. The system for implementing Gigabit Ethernet data traffic shaping through FPGA according to claim 1, characterized in that: It also includes a management control CPU module connected to the FPGA module, and the management control CPU module is used to perform configuration management on the FPGA module.
6. The system for implementing Gigabit Ethernet data traffic shaping through FPGA according to claim 2, characterized in that: The user-side Gigabit Ethernet GEPHY access module and the system-side Gigabit Ethernet GEPHY access module in the system are both 4-channel.
7. The system for implementing Gigabit Ethernet data traffic shaping through FPGA according to claim 1, characterized in that: The FPGA module uses a chip of model GW2A-18.
8. A method for implementing Gigabit Ethernet data traffic shaping through FPGA, characterized in that: include: S1. After the user-side Gigabit Ethernet GEPHY access module receives the Ethernet data input from the user port, it converts the received Ethernet data into data in RGMII format recognized by the FPGA module; S2. The FPGA module obtains data in RGMII format, performs traffic shaping on the obtained data, and caches the processed data into the DDR3 storage module; S3. The DDR3 storage module receives and stores the data processed by the FPGA module; the DDR3 storage module uses a chip model H5TQ2G63; S4. The system-side Gigabit Ethernet GEPHY access module reads the data in the DDR3 storage module through the FPGA module and outputs the read data; Also includes: The Gigabit Ethernet GEPHY access module on the system side receives the data input from the system port and converts the received data into RGMII format data recognized by the FPGA module; The user-side Gigabit Ethernet GEPHY access module reads data from the DDR3 storage module through the FPGA module and outputs the read data.
Citation Information
Patent Citations
Flow control method of switched network and device
CN102356609A
Flow control method and device and storage medium
CN110198272A
Flow control method and device, network equipment and storage medium
CN110290072A
Self-adaptive flow control method and device of leaky bucket algorithm, medium and electronic equipment
CN113132254A
Gigabit Ethernet flow control device
CN113630326A
