CN105553865B - A kind of FC exchanger chips credit management test method - Google Patents

A kind of FC exchanger chips credit management test method Download PDF

Info

Publication number
CN105553865B
CN105553865B CN201510926361.3A CN201510926361A CN105553865B CN 105553865 B CN105553865 B CN 105553865B CN 201510926361 A CN201510926361 A CN 201510926361A CN 105553865 B CN105553865 B CN 105553865B
Authority
CN
China
Prior art keywords
interchangers
sending
frame
credit
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510926361.3A
Other languages
Chinese (zh)
Other versions
CN105553865A (en
Inventor
刘娟
田泽
黎小玉
李攀
杨海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Xiangteng Microelectronics Technology Co Ltd
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201510926361.3A priority Critical patent/CN105553865B/en
Publication of CN105553865A publication Critical patent/CN105553865A/en
Application granted granted Critical
Publication of CN105553865B publication Critical patent/CN105553865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/39Credit based

Abstract

The present invention provides a kind of FC exchanger chips credit management test method.The topological structure of the test method environmental structure is as shown in the figure, credit management controls the link flow of FC frames transmission, it controls the credit of sending port based on the R_RDY primitive that sending port sends the number of frame and receives, this test method controls and receives whether Node station replys R_RDY primitive by software, to control the credit value of sending port.Of the invention to provide test method and solution for FC exchanger chip credit managements test, the test method is easy to use, wide adaptability.

Description

A kind of FC exchanger chips credit management test method
Technical field
The invention belongs to computer application technologies, are related to a kind of FC exchanger chips credit management test method.
Background technology
In applying based on the bus network of FC agreements, often need to control link flow, and credit management is then The effective means of the link flow of FC frames transmission is controlled, but not finding yet at present can validity test FC exchanger chip credit management Method.
Invention content
The present invention provides a kind of FC exchanger chips credit management test method, be FC exchanger chips credit management, Link flow control provides reliable basis.
Technical solution of the invention is:The present invention is a kind of FC exchanger chips credit management test method, special Different place is:This approach includes the following steps:
1) FC exchanger chip credit management test platforms are built, which includes sending node machine, receiving node machine, FC The optical fiber of sending node machine A is connected by interchanger with the receiving port of FC interchangers, and the optical fiber of receiving node machine B is exchanged with FC The sending port of machine is connected;
2) FC interchangers are configured and closes the reply R_RDY primitive functions of receiving node machine B;
3) whether the sending port credit value of test FC interchangers successively decreases with transmission frame number;
4) when the sending port credit value of FC interchangers is kept to 0, the sending port of FC interchangers is forced offline.
Above-mentioned steps 2) it is as follows:
2.1) credit value of configuration FC interchangers is n (n=0x1-0x8), and FC interchangers is forbidden to power on automatic transmission ELS broadcast capabilities;
2.2) the back pressure control register of configuration receiving node machine B, closes and replys R_RDY primitive functions, when Node station B is examined It measures when FC interchangers send the frame of processing and does not reply R_RDY primitive;
2.3) content frame of configuration sending node machine A, it is ensured that frame can be normally sent to the receiving port 20 of FC interchangers.
Above-mentioned steps 3) it is as follows:
3.1) sending node machine sends 1 frame FC-ASM frames, and the FC MAC of the receiving port of FC interchangers, which can be read, to be connect Receipts frame count is 0x1, and FC interchangers forward frame to sending port, and last receiving node machine receives 1 frame;
3.2) check whether the credit value of the sending port of current FC interchangers subtracts one, if so, enter step 4), if it is not, Then test crash.
Above-mentioned steps 4) it is as follows:
4.1) after sending node machine continuously transmits n-1 frame FC-ASM frames, the sending port of FC interchangers receives n-1 frames, when Preceding credit becomes 0x0, and receiving node machine receives n-1 frames;
4.2) Node station A retransmits a frame, and the sending port faithlessness time of FC interchangers is more than the setting time (1- 65535ms), FC interchangers are forced sending port offline, are at off-line state.
Above-mentioned steps 4) after further include step 5) restore FC interchangers sending port credit value, make its port again on Line.
Above-mentioned steps 5) it is as follows:
5.1) it reaches the standard grade again enabled register after the link reset of configuration FC interchangers, its port is made to reach the standard grade again;
5.2) it is n that configuration credit, which restores register, and it is n to make current credit again, it is ensured that can normal receiving frame.
FC exchanger chips credit management test method provided by the invention is returned by closing the automatic of receiving node machine Multiple R_RDY primitive, sending node machine do not receive the R_RDY primitive of receiving node machine reply when sending frame, and credit disappears every time It consumes 1 and cannot compensate, after credit consumed is complete, port down.Ensure that the credit management of FC exchanger chips can be controlled effectively Link flow processed.
Description of the drawings
Fig. 1 is the specific implementation schematic diagram of the present invention
Specific implementation mode
Referring to Fig. 1, the present invention uses FC-ASM Node station A, FC-ASM Node station B, FC interchangers witness plate, PC machine RISCWatch emulators, cable, serial ports, optical fiber cable connect;Relevant configuration is carried out to FC-ASM Node stations, FC interchangers; The variation of credit value is monitored by RISCWatch emulators while sending frame.
The step of specific embodiment of the invention, is as follows:
1) FC exchanger chip credit management test platforms are built, which includes sending node machine, receiving node machine, FC The optical fiber of sending node machine A is connected by interchanger with the receiving port 20 of FC interchangers, and optical fiber and the FC of receiving node machine B are handed over The sending port 10 changed planes is connected;
2) FC interchangers are configured and closes the reply R_RDY primitive functions of receiving node machine B;
2.1) the credit value 0x6 of FC interchangers is configured, and FC interchangers is forbidden to power on automatic transmission ELS broadcast capabilities;
2.2) the back pressure control register of configuration receiving node machine B, closes and replys R_RDY primitive functions, work as receiving node Machine B is detected does not reply R_RDY primitive when FC interchangers send the frame of processing;
2.3) content frame of configuration sending node machine A, it is ensured that frame can be normally sent to the receiving port 20 of FC interchangers.
3) whether 10 credit value of sending port of test FC interchangers successively decreases with transmission frame number;
3.1) sending node machine A sends 1 frame FC-ASM frames, and the FC MAC of the receiving port 20 of FC interchangers can be read Receiving frame is counted as 0x1, and FC interchangers forward frame to sending port 10, and last receiving node machine B receives 1 frame;
3.2) check whether the credit value of the sending port 10 of current FC interchangers subtracts one, if so, enter step 4), if It is no, then test crash.
4) when 10 credit value of sending port of FC interchangers is kept to 0, the sending port 10 of FC interchangers is forced offline;
4.1) after sending node machine A continuously transmits 5 frame FC-ASM frames, the sending port 10 of FC interchangers receives 5 frames, currently Credit becomes 0x0, and receiving node machine B receives 5 frames;
4.2) sending node machine A retransmits a frame, and the 10 faithlessness time of sending port of FC interchangers is more than the setting time (the present embodiment 10ms), FC interchangers force sending port 10 offline, are at off-line state.
5) the sending port credit value for restoring FC interchangers, makes its port reach the standard grade again.
5.1) it reaches the standard grade again enabled register after the link reset of configuration FC interchangers, its port is made to reach the standard grade again,
5.2) it is 0x6 that configuration credit, which restores register, and so that current credit is ensured again for 0x6 can normal receiving frame.

Claims (6)

1. a kind of FC exchanger chips credit management test method, it is characterised in that:This approach includes the following steps:
1) FC exchanger chip credit management test platforms are built, which includes sending node machine, receiving node machine, FC exchanges The optical fiber of sending node machine A is connected by machine with the receiving port of FC interchangers, optical fiber and the FC interchangers of receiving node machine B Sending port is connected;
2) FC interchangers are configured and closes the reply R_RDY primitive functions of receiving node machine B;
3) whether the sending port credit value of test FC interchangers successively decreases with transmission frame number;
4) when the sending port credit value of FC interchangers is kept to 0, the sending port of FC interchangers is forced offline.
2. FC exchanger chips credit management test method according to claim 1, it is characterised in that:The step 2) It is as follows:
2.1) credit value of configuration FC interchangers is n, wherein n=0x1-0x8, and FC interchangers is forbidden to power on automatic transmission ELS broadcast capabilities;
2.2) the back pressure control register of configuration receiving node machine B, closes and replys R_RDY primitive functions, when Node station B is detected FC interchangers do not reply R_RDY primitive when sending the frame of processing;
2.3) content frame of configuration sending node machine A, it is ensured that frame can be normally sent to the receiving port 20 of FC interchangers.
3. FC exchanger chips credit management test method according to claim 2, it is characterised in that:The step 3) It is as follows:
3.1) sending node machine sends 1 frame FC-ASM frames, and the FC MAC of the receiving port of FC interchangers can read receiving frame It is counted as 0x1, FC interchangers forward frame to sending port, and last receiving node machine receives 1 frame;
3.2) check whether the credit value of the sending port of current FC interchangers subtracts one, if so, entering step 4), if it is not, then surveying Examination failure.
4. FC exchanger chips credit management test method according to claim 3, it is characterised in that:The step 4) It is as follows:
4.1) after sending node machine continuously transmits n-1 frame FC-ASM frames, the sending port of FC interchangers receives n-1 frames, current to believe With 0x0 is become, receiving node machine receives n-1 frames;
4.2) Node station A retransmits a frame, is more than the setting time when the sending port faithlessness time of FC interchangers, wherein set It is 1ms -65535ms to set the time, and FC interchangers force sending port offline, are at off-line state.
5. FC exchanger chips credit management test method according to claim 1 or 2 or 3 or 4, it is characterised in that:Institute It further includes sending port credit value that step 5) restores FC interchangers to state after step 4), its port is made to reach the standard grade again.
6. FC exchanger chips credit management test method according to claim 5, it is characterised in that:The step 5) It is as follows:
5.1) it reaches the standard grade again enabled register after the link reset of configuration FC interchangers, its port is made to reach the standard grade again;
5.2) it is n that configuration credit, which restores register, and it is n to make current credit again, it is ensured that can normal receiving frame.
CN201510926361.3A 2015-12-11 2015-12-11 A kind of FC exchanger chips credit management test method Active CN105553865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510926361.3A CN105553865B (en) 2015-12-11 2015-12-11 A kind of FC exchanger chips credit management test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510926361.3A CN105553865B (en) 2015-12-11 2015-12-11 A kind of FC exchanger chips credit management test method

Publications (2)

Publication Number Publication Date
CN105553865A CN105553865A (en) 2016-05-04
CN105553865B true CN105553865B (en) 2018-09-21

Family

ID=55832803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510926361.3A Active CN105553865B (en) 2015-12-11 2015-12-11 A kind of FC exchanger chips credit management test method

Country Status (1)

Country Link
CN (1) CN105553865B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864099B (en) * 2017-10-23 2020-11-06 中国科学院空间应用工程与技术中心 Flow control method and system for heterogeneous FC network
CN110213118B (en) * 2018-02-28 2021-04-06 中航光电科技股份有限公司 FC network system and flow control method thereof
CN108880948B (en) * 2018-08-17 2023-12-26 成都成电光信科技股份有限公司 Equipment test verification system and method based on FC network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FC—AE—ASM协议网络层测试方法研究;郑小兵,翟正军;《计算机测量与控制》;20121230;全文 *
支持多种FC - 4 层协议的光纤通道接口卡实现;屠晓杰,熊华钢,徐鼎,周一伟;《电讯技术》;20130228;全文 *
航空电子系统FC 交换式网络的可靠性研究;徐亚军, 张晓林, 熊华钢;《航空学报》;20070331;全文 *

Also Published As

Publication number Publication date
CN105553865A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN102752150B (en) Distributed communication equipment capable of providing remote board card debugging and remote board card debugging method
CN105260337B (en) A kind of automatic addressing method and system of single-chip microcomputer
CN100424605C (en) Intelligent management apparatus and management method for distributed control network based on CAN bus
CN105553865B (en) A kind of FC exchanger chips credit management test method
CN103401726A (en) Network path detecting method, device and system
CN101610192A (en) A kind of communication slave, bus cascade method and system
CN110740072A (en) fault detection method, device and related equipment
CN105939291A (en) Message processing unit and network device
CN105391588A (en) Network fault diagnosis method and device
CN106790411B (en) The non-polymeric port cascade system and method for virtual switch and physical switches
CN107231314A (en) CAN channel adaptives method, device, system and automobile
CN106506265B (en) Detection fpga chip hangs dead method and device
CN107391374A (en) Middleware automatic checking method
CN1728609A (en) Method for detecting connection mode of devices with multiple frames
CN102624567A (en) Hardware type network safety control server thermal backup device
CN103765837B (en) The message processing method of multi-CPU and system, crosspoint, veneer
CN103595632B (en) Self-defined many transmitting systems of a kind of adj sp and its implementation
CN106993068A (en) A kind of blade server managing intranet IP auto-allocation method
CN106304241A (en) A kind of data transmission method, transponder and gateway
CN108833306B (en) VSM system message transmission device and method
CN203135908U (en) AFDX (Avionics Full Duplex Switched Ethernet) bus detection system
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof
CN106254266A (en) A kind of message processing method and the network equipment
CN111741383A (en) Automatic virtual system function verification platform and verification method
CN105703975A (en) Network card and server communication method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221013

Address after: Room S303, Innovation Building, No. 25, Gaoxin 1st Road, Xi'an, Shaanxi 710075

Patentee after: XI'AN XIANGTENG MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: No. 15, Jinye Second Road, Xi'an, Shaanxi 710065

Patentee before: AVIC XI''AN AERONAUTICS COMPUTING TECHNIQUE RESEARCH INSTITUTE

TR01 Transfer of patent right