The invention belongs to the technical field of
Ethernet high-speed
interconnection, and provides a high-speed low-
delay 10-
gigabit switching method and
system based on an FPGA, and the method comprises the steps: receiving
Ethernet data frames, storing effective data frames in a data caching module, and generating a caching write-in address and a
control signal; reading a destination address, a
source address and a type field of the analyzed data frame from the data caching module, and updating a forwarding address table through a
dynamic learning mode or a preset mode; based on the updated forwarding address table, a three-level
assembly line framework is adopted to complete address searching; reading the data frame from the cache according to the forwarding decision,
repackaging the
Ethernet header information and the check code, and controlling the sending standard rate; and meanwhile, the sending rate is dynamically adjusted, and VLAN division, port rate and
queue scheduling parameters are optimized in combination with an external configuration command. According to the invention, the onboard processor is utilized to cooperate with the FGPA to realize the fast search of the forwarding table, the
residence time of the data packet in the switching unit is reduced, and the operation efficiency of the side application is improved.