| Currently,Fibre Channel is widely used in data centers and avionics environments.Fibre Channel switche is an important device in Fibre Channel switched topologies.FC switches typically only support data center environments or avionics environments.This thesis combines the functions of FC switches in data centers and avionics environments to design an FC/FCo E switch software that,when configured accordingly,supports both avionics and data centers.This reduces the development cost of the software and improves the maintainability of the software.The main work of this thesis is as follows:1.The main protocols involved in FC/FCo E switch software,including FC protocol,Fiber Channel over Ethernet(FCo E)protocol,Fabric Shortest Path First(FSPF)protocol and Fast Fabric Initialization(FFI)protocol,are analyzed.Analyze and compare the characteristics of the data center and the avionics environment,and propose the functions that the switch software needs to implement in different environments.2.Design the switch software architecture,use the hardware abstraction layer in the switch software,abstract the hardware,and improve the portability of the software.3.Design the switch software processing flow,discuss the protocol processing thread design scheme,for the characteristics of the switch software processing protocol type and need serial processing,a thread is used to process all protocols.4.Design and implement the FFI function in the avionics environment of the switch software,and improve and implement other functional modules and management modules based on the previous work of the teaching and research section.5.The functions and management modules of the switch were tested and the results were verified as expected. |