JPH03250832A - Packet transfer device - Google Patents

Packet transfer device

Info

Publication number
JPH03250832A
JPH03250832A JP2045553A JP4555390A JPH03250832A JP H03250832 A JPH03250832 A JP H03250832A JP 2045553 A JP2045553 A JP 2045553A JP 4555390 A JP4555390 A JP 4555390A JP H03250832 A JPH03250832 A JP H03250832A
Authority
JP
Japan
Prior art keywords
transfer device
packet transfer
bus
packet
return
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.)
Granted
Application number
JP2045553A
Other languages
Japanese (ja)
Other versions
JP2867553B2 (en
Inventor
Taiichi Murata
泰一 村田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2045553A priority Critical patent/JP2867553B2/en
Publication of JPH03250832A publication Critical patent/JPH03250832A/en
Application granted granted Critical
Publication of JP2867553B2 publication Critical patent/JP2867553B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To execute reply reception to an external loopback command independently of a bus traffic by transferring the external loopback reply while an external loopback request sender acquires the bus so as not to acquire a token for each packet transfer. CONSTITUTION:A packet transfer device 11 and a packet transfer device 12 are connected to a bus arbiter 13 with an arbiter bus 14. The bus arbiter 13 makes arbitration to a transmission request from the packet transfer device 11 and the packet transfer device 12 to give a token and the packet transfer device 11 or the packet transfer device 12 acquiring the token transfers a data to the packet transfer device 11 or the packet transfer device 12 being a transmission destination via a packet bus 15. Since a means storing a transmission request of an external loopback request sender acquires a bus, it is not required to acquire the token for each packet transfer to transfer the external loopback request and the external loopback reply. Thus, the reply reception to the external loopback command is implemented independently of the traffic of the bus.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、パケット転送装置に関し、特にパケットバス
の外部折返し試験の処理時間を短縮するようにしたパケ
ット転送装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a packet transfer device, and more particularly to a packet transfer device that reduces the processing time of an external loopback test of a packet bus.

[従来の技術] 従来のこの種のパケットバスの外部折返し試験は、まず
、外部折返し要求元パケット転送装置がバスアービタに
対してバス捕捉要求を行ってバスへの送信権を獲得する
。この後に、折返しデータの返送指示を外部折返し要求
先パケット転送装置に行い、バスを開放(バス使用権の
放棄)をする。
[Prior Art] In the conventional external loopback test of this type of packet bus, first, the external loopback request source packet transfer device issues a bus capture request to the bus arbiter to acquire the right to transmit to the bus. Thereafter, an instruction to return the return data is given to the external return request destination packet transfer device, and the bus is released (relinquishing the right to use the bus).

外部折返し指示パケットを受信した外部折返し要求先パ
ケット転送装置は、外部折返し要求に対して折返しデー
タをソフトアエウ処理またはハードウェア処理によって
設定し、バスアービタに対して送信要求を行いバス送信
権を獲得できた後に、折返しデータを外部折返し要求元
パケット転送装置へ送信する。
The external return request destination packet transfer device that received the external return instruction packet set return data in response to the external return request using software processing or hardware processing, made a transmission request to the bus arbiter, and was able to acquire the bus transmission right. Afterwards, the return data is transmitted to the external return request source packet transfer device.

外部折返し要求元パケット転送装置では、この折返しデ
ータを受信して、ソフトウェア処理により送信折返しデ
ータと比較する。
The external return request source packet transfer device receives this return data and compares it with the transmission return data through software processing.

従来のパケット転送装置では、このようにしてパケット
バスの外部折返し試験を行っていた。
In the conventional packet transfer device, the external loopback test of the packet bus was performed in this way.

[発明が解決しようとする課題] しかしながら、従来のパケット転送装置のパケットバス
の外部折返し試験では、外部折返し要求パケットと、外
部折返し指示に対する応答としての外部折返し応答パケ
ットとを送信するときに、各々のパケット転送装置がパ
ケットデータを転送する際に必ずバスアーとりに対して
バス捕捉要求を行うことで、送信権を獲得してからパケ
ットを送信するようにしているので、バスのトラヒック
状態により外部折返し要求から外部折返し応答受信まで
に要する時間が長くかつ一定しない。
[Problem to be Solved by the Invention] However, in an external loopback test of a packet bus of a conventional packet transfer device, when transmitting an external loopback request packet and an external loopback response packet as a response to an external loopback instruction, each When the packet transfer device transfers packet data, it always makes a bus capture request to the bus controller to obtain the transmission right before transmitting the packet, so external loopback may occur depending on the bus traffic condition. The time required from a request to receiving an external return response is long and inconsistent.

このために、バスに接続されているかくパケット転送装
置の試験およびパケットバスの試験を行う上で実時間性
が失われるという問題点がある。
For this reason, there is a problem in that real-time performance is lost when testing the packet transfer device connected to the bus and testing the packet bus.

また、受信折返しデータをリードしてデータを比較する
ので、ソフトウェア処理する場合には、外部折返し試験
の処理時間が長くなるという問題点がある。
Furthermore, since the received loopback data is read and compared, there is a problem that the processing time for the external loopback test becomes long when software processing is performed.

[課題を解決するための手段] 本発明は、上記の問題点に鑑みてなされたもので、パケ
ットバスの外部折返し試験の処理時間を短縮することを
目的とし、この目的を達成するために、他のパケット転
送装置に対して送信した試験データを返送させる折返し
指示手段と、送信先パケット転送装置から送信される折
返しデータを受信するまで、送信元パケット転送装置が
折返しデータを送信するためのバスアービタに対する送
信要求を保持する手段と、受信した折返し指示パケット
から送信元アドレスと折返しデータを抽出して、送信元
パケット転送装置へ折返しデータを送信する手段と、受
信した折返しデータと送信した折返しデータとを比較す
る比較手段とを設けるように構成される。
[Means for Solving the Problems] The present invention has been made in view of the above-mentioned problems, and aims to shorten the processing time of an external loopback test of a packet bus. A loopback instructing unit that causes another packet transfer device to return test data sent to it, and a bus arbiter that allows the source packet transfer device to transmit return data until it receives the return data sent from the destination packet transfer device. means for retaining a transmission request to a sender; means for extracting a source address and return data from a received return instruction packet and transmitting the return data to a source packet transfer device; and comparison means for comparing the results.

また、好ましくは、折返しデータを送信する手段は、バ
スアービタに対して送信要求を行わずに、送信元パケッ
ト転送装置へ折返しデータを送信するように構成される
Preferably, the means for transmitting the return data is configured to transmit the return data to the source packet transfer device without making a transmission request to the bus arbiter.

更に、好ましくは、比較手段の比較結果を格納する格納
手段を設けるように構成される。
Furthermore, it is preferably configured to provide storage means for storing the comparison results of the comparison means.

[作用] 上記構成のパケット転送装置においては、外部折返し要
求元の送信要求を保持する手段がバスを捕捉しているの
で、外部折返し要求および外部折返し応答を転送するの
にパケット転送毎に送信権を獲得する必要がない。
[Operation] In the packet transfer device configured as described above, since the means for holding the transmission request of the external return request source captures the bus, the transmission right is required for each packet transfer to transfer the external return request and the external return response. There is no need to acquire.

従って、バスのトラヒックに依存せずに外部折返し指示
に対する応答受信が行え、バスの正常性およびパケット
転送装置間の転送制御の正当性を確認するのに要する時
間は短縮され、かつほぼ−定となる。
Therefore, responses to external return instructions can be received without depending on bus traffic, the time required to confirm the normality of the bus and the validity of transfer control between packet transfer devices is shortened, and the time required is almost constant. Become.

[実施例] 以下、本発明の実施例を図面に基づいて説明する。[Example] Embodiments of the present invention will be described below based on the drawings.

第2図は、本発明によるパケット転送装置を用いてパケ
ットデータ転送を行う場合の構成を示すブロック図であ
る。第2図においては、説明を明確にするために、パケ
ット転送装置11とパケット転送装置12間でデータ転
送を行う最小規模の構成で説明する。
FIG. 2 is a block diagram showing a configuration when packet data is transferred using the packet transfer device according to the present invention. In FIG. 2, for clarity of explanation, a minimum scale configuration for transferring data between the packet transfer device 11 and the packet transfer device 12 will be described.

第2図において、パケット転送装置11とパケット転送
装置12はバスアービタ13にアービタバス14で接続
されている。バスアービタ13は、各パケット転送装置
11またはパケット転送装置12からの送信要求に対し
て調停を行い送信権を与える。送信権を得たパケット転
送装置11またはパケット転送装置12は、パケットバ
ス15を介して送信先であるパケット転送装置11また
はパケット転送装置12にデータ転送を行う。
In FIG. 2, the packet transfer device 11 and the packet transfer device 12 are connected to a bus arbiter 13 via an arbiter bus 14. The bus arbiter 13 arbitrates and grants transmission rights to transmission requests from each packet transfer device 11 or 12. The packet transfer device 11 or the packet transfer device 12 that has obtained the transmission right transfers data via the packet bus 15 to the packet transfer device 11 or the packet transfer device 12 that is the destination.

第3図は、第2図で示したパケット転送装置11からパ
ケット転送装置12への外部折返し試験のシーケンスで
ある。
FIG. 3 is a sequence of an external loopback test from the packet transfer device 11 to the packet transfer device 12 shown in FIG.

パケット転送装置11は、バスアービタ13に対して送
信要求を行い、送信権が与えられたパケット転送装置1
1は、外部折返し要求パケットをパケット転送装置12
へ送信する。パケット転送装置11は、パケット転送装
置12からの外部折返し指示応答パケットを受信するま
で送信権を開放しない。
The packet transfer device 11 makes a transmission request to the bus arbiter 13, and the packet transfer device 1 that has been given the transmission right
1 transfers the external return request packet to the packet transfer device 12.
Send to. The packet transfer device 11 does not release the transmission right until it receives an external return instruction response packet from the packet transfer device 12.

外部折返し要求パケットを受信したパケット転送装置1
2は、外部折返し要求パケットからハードウェア処理に
より送信元アドレスと折返しデータを抽出して外部折返
し指示応答パケットを組立てる。外部折返し指示応答パ
ケットを組立てた後は、バスアービタ13へ送信要求を
行わずに外部折返し要求元であるパケット転送装置11
へ返送する。
Packet transfer device 1 that received the external return request packet
Step 2 extracts the source address and return data from the external return request packet by hardware processing and assembles an external return instruction response packet. After assembling the external return instruction response packet, the packet transfer device 11 that is the source of the external return request does not send a transmission request to the bus arbiter 13.
Send it back to

外部折返し要求元であるパケット転送装置11は、外部
折返しデータを受信し、蓄積を行った後にバスアービタ
13への送信要求を中止してパケットバス15を開放す
る。なお、第3図に示した転送応答とは、1パケツト転
送が正常であることを通知するための制御信号である。
The packet transfer device 11, which is the source of the external return request, receives and stores the external return data, and then cancels the transmission request to the bus arbiter 13 and releases the packet bus 15. Note that the transfer response shown in FIG. 3 is a control signal for notifying that one packet transfer is normal.

この転送制御を行い、送信折返しデータと受信折返しデ
ータをハードウェアによって比較するようにしたパケッ
ト転送装置11およびパケット転送装置12の例を次に
説明する。
Next, an example of the packet transfer device 11 and the packet transfer device 12 that performs this transfer control and compares transmission return data and reception return data using hardware will be described.

第1図は、本発明によるパケット転送装置の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a packet transfer device according to the present invention.

第1図において、送受信制御回路303は、アービタバ
ス14を介してバスアービタ13からパケットバス15
の使用権を獲得した後に、指定したパケット転送装置1
1(またはパケット転送装置12)に外部折返し指示要
求パケットとして、送信折返しデータ格納レジスタ30
4へ設定されたデータを送信する。パケットバス15を
捕捉した状態で要求元パケット転送装置11(またはパ
ケット転送装置12)からの受信データを受信し、送受
信制御回路303によって折返しデータのみを抽出し、
受信折返しデータセット信号310で受信折返しデータ
格納レジスタ305に格納する。
In FIG. 1, the transmission/reception control circuit 303 connects the bus arbiter 13 to the packet bus 15 via the arbiter bus 14.
After acquiring the right to use the specified packet transfer device 1,
1 (or the packet transfer device 12) as an external return instruction request packet, the transmission return data storage register 30
Send the set data to 4. Receives received data from the requesting packet transfer device 11 (or packet transfer device 12) while capturing the packet bus 15, extracts only return data by the transmission/reception control circuit 303,
The reception return data set signal 310 is used to store the reception return data in the reception return data storage register 305.

このとき、送信折返しデータ格納レジスタ3゜4から送
信折返しデータ信号308として通知されたデータと、
受信折返しデータ格納レジスタ305から受信折返しデ
ータ309として通知されたデータとを比較回路306
で比較し、一致か不一致かの比較結果を送受信制御回路
303から比較結果セット信号311として比較結果格
納レジスタ307に格納する。
At this time, the data notified from the transmission return data storage register 3.4 as the transmission return data signal 308,
The comparison circuit 306 compares the data notified as the reception return data 309 from the reception return data storage register 305 with the data notified as the reception return data 309.
The comparison result of match or mismatch is stored in the comparison result storage register 307 from the transmission/reception control circuit 303 as a comparison result set signal 311.

従って、この比較結果格納レジスタ307をリードする
だけでパケットバス15が正常であることと、外部折返
し要求先のパケット転送装置12(またはパケット転送
装置11)との間の転送動作が正常であることの確認を
することができる。
Therefore, simply by reading this comparison result storage register 307, it can be confirmed that the packet bus 15 is normal and that the transfer operation between the packet transfer device 12 (or the packet transfer device 11) which is the destination of the external return request is normal. can be confirmed.

以上の実施例によれば、外部折返し転送制御時に、外部
折返し要求パケットおよび外部折返し応答パケットを送
信する場合、外部折返し要求元がバスを捕捉している状
況で外部折返し応答を転送するようにして、パケット転
送毎に送信権を獲得しないので、バスのトラヒックに依
存せずに外部折返し指示に対する応答受信が行える。こ
のために、バスめ正常性およびパケット転送装置間の転
送制御の正当性を確認するのに要する時間は短縮され、
かつほぼ一定となる。
According to the above embodiment, when transmitting an external return request packet and an external return response packet during external return transfer control, the external return response is transferred in a situation where the external return request source has captured the bus. Since the transmission right is not acquired for each packet transfer, a response to an external return instruction can be received without depending on bus traffic. Therefore, the time required to confirm the normality of the bus and the validity of transfer control between packet transfer devices is shortened.
and remains almost constant.

また、パケット転送毎にバス捕捉を行う場合は、外部折
返し応答が必ずしも要求順に受信される要求パケットと
は限らないので、ソフトウェア処理によって受信外部折
返し送信元のアドレスを確認しなければならないが、外
部折返し要求元のパケット転送装置がパケットバスを捕
捉している状態で、外部折返し応答パケットを受信でき
、更に、送信折返しデータと受信折返しデータをハード
ウェア処理によって比較できるので、ソフトウェア処理
の負担を軽減することができる。
In addition, when bus capture is performed for each packet transfer, the external return response is not necessarily a request packet that is received in the order of request, so the address of the received external return source must be confirmed by software processing, but the external External return response packets can be received while the packet transfer device that is the source of the return request is capturing the packet bus.Furthermore, sending return data and receiving return data can be compared through hardware processing, reducing the burden on software processing. can do.

[発明の効果コ 以上で説明したように、本発明は、他のパケット転送装
置に対して送信した試験データを返送させる折返し指示
手段と、送信先パケット転送装置から送信される折返し
データを受信するまで、送信元パケット転送装置が折返
しデータを送信するためのバスアービタに対する送信要
求を保持する手段と、受信した折返し指示パケットから
送信元アドレスと折返しデータを抽出して、送信元パケ
ット転送装置へ折返しデータを送信する手段と、受信し
た折返しデータと送信した折返しデータとを比較する比
較手段とを設けるように構成される。
[Effects of the Invention] As explained above, the present invention includes a return instruction means for causing another packet transfer device to return the transmitted test data, and a return instruction means for receiving the return data transmitted from the destination packet transfer device. A means for holding a transmission request to a bus arbiter for the source packet transfer device to send return data, and a means for extracting the source address and return data from the received return instruction packet and transmitting the return data to the source packet transfer device. and a comparison means for comparing the received return data and the transmitted return data.

このように構成したことにより、外部折返し要求元の送
信要求を保持する手段がバスを捕捉しているので、外部
折返し要求および外部折返し応答を転送するのにパケッ
ト転送毎に送信権を獲得する必要がない。
With this configuration, the means for holding the transmission request of the external return request source captures the bus, so it is not necessary to acquire the transmission right for each packet transfer to transfer the external return request and external return response. There is no.

従って、バスのトラヒックに依存せずに外部折返し指示
に対する応答受信が行え、バスの正常性およびパケット
転送装置間の転送制御の正当性を確認するのに要する時
間を短縮し、かつほぼ一定とすることが可能となる。
Therefore, responses to external return instructions can be received without depending on bus traffic, and the time required to confirm the normality of the bus and the validity of transfer control between packet transfer devices can be shortened and kept almost constant. becomes possible.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、本発明によるパケット転送装置の一実施例を
示すブロック図、 第2図は、本発明によるパケット転送装置を用いてパケ
ットデータ転送を行う場合の構成を示すブロック図、 第3図は、第2図で示したパケット転送装置間の外部折
返し試験のシーケンスである。 1 2 3 4 5 03 04 05 06 07 08 09 10 11 パケット転送装置 パケット転送装置 バスアービタ アービタバス パケットバス 送受信制御回路 送信折返しデータ格納レジスタ 受信折返しデータ格納レジスタ 比較回路 比較結果格納レジスタ 送信折返しデータ信号 受信折返しデータ 受信折返しデータセット信号 比較結果セット信号
FIG. 1 is a block diagram showing an embodiment of a packet transfer device according to the present invention, FIG. 2 is a block diagram showing a configuration when packet data is transferred using the packet transfer device according to the present invention, and FIG. is the sequence of the external loopback test between the packet transfer devices shown in FIG. 1 2 3 4 5 03 04 05 06 07 08 09 10 11 Packet transfer device Packet transfer device Bus arbiter bus Packet bus transmission/reception control circuit Transmission return data storage register Reception return data storage register Comparison circuit Comparison result storage register Transmission return data signal reception Return data reception Return data set signal Comparison result set signal

Claims (3)

【特許請求の範囲】[Claims] (1)他のパケット転送装置に対して送信した試験デー
タを返送させる折返し指示手段と、 送信先パケット転送装置から送信される折返しデータを
受信するまで、送信元パケット転送装置が折返しデータ
を送信するためのバスアービタに対する送信要求を保持
する手段と、 受信した折返し指示パケットから送信元アドレスと折返
しデータを抽出して、送信元パケット転送装置へ折返し
データを送信する手段と、 受信した折返しデータと送信をた折返しデータとを比較
する比較手段とを有するパケット転送装置。
(1) Return instruction means for returning test data sent to another packet transfer device; and a source packet transfer device transmitting return data until receiving return data sent from the destination packet transfer device. means for retaining a transmission request to a bus arbiter for sending a request to a bus arbiter; means for extracting a source address and return data from a received return instruction packet and transmitting the return data to a source packet transfer device; and a comparison means for comparing the received return data.
(2)前記折返しデータを送信する手段は、バスアービ
タに対して送信要求を行わずに、送信元パケット転送装
置へ折返しデータを送信することを特徴とする請求項1
記載のパケット転送装置。
(2) The means for transmitting the return data transmits the return data to the source packet transfer device without making a transmission request to the bus arbiter.
The described packet transfer device.
(3)前記比較手段の比較結果を格納する格納手段を有
することを特徴とする請求項1記載のパケット転送装置
(3) The packet transfer device according to claim 1, further comprising storage means for storing the comparison result of the comparison means.
JP2045553A 1990-02-28 1990-02-28 Packet transfer device Expired - Lifetime JP2867553B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2045553A JP2867553B2 (en) 1990-02-28 1990-02-28 Packet transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2045553A JP2867553B2 (en) 1990-02-28 1990-02-28 Packet transfer device

Publications (2)

Publication Number Publication Date
JPH03250832A true JPH03250832A (en) 1991-11-08
JP2867553B2 JP2867553B2 (en) 1999-03-08

Family

ID=12722554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2045553A Expired - Lifetime JP2867553B2 (en) 1990-02-28 1990-02-28 Packet transfer device

Country Status (1)

Country Link
JP (1) JP2867553B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007295482A (en) * 2006-04-27 2007-11-08 Toshiba Corp Data transmission system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007295482A (en) * 2006-04-27 2007-11-08 Toshiba Corp Data transmission system

Also Published As

Publication number Publication date
JP2867553B2 (en) 1999-03-08

Similar Documents

Publication Publication Date Title
JPS62189550A (en) Processor access controller for multiprocessor system
US5574865A (en) System for data transfer protection during module connection/disconnection onto live bus
JPH0337221B2 (en)
JPH03250832A (en) Packet transfer device
US6374282B1 (en) Method and apparatus for tracking multi-threaded system area network (SAN) traffic
JPH0716197B2 (en) Packet bus external loopback test method and packet transfer device
JP2917275B2 (en) Test system for device with CPU
JP2758752B2 (en) Common bus contention arbitration method
JP2538662B2 (en) Bus arbitration device
JPH11102341A (en) Data transfer system, data transmitter, data receiver, data transfer method, and bus arbitrating method
JP2586341B2 (en) Bus test method for communication between processors
JPS62204358A (en) Data communication processing system
JP2923992B2 (en) Access Channel Control Method for Demand Assignment Communication System
JP2763009B2 (en) Semiconductor integrated circuit device for data communication
JPH10116245A (en) Dma controller
JP4666369B2 (en) USB device
JPH08149148A (en) Loop shaped serial communication procedure and loop shaped serial communication network
JPS63180245A (en) Communication processor
EP0171940A1 (en) A direct memory access device and a method of using the device in a data transfer system
JPH03137754A (en) Access control system for shared memory
JPH04238566A (en) Inter-multi-processor bus communication system
JPH03136534A (en) Status transfer control system and packet transfer device
JPS63219248A (en) Packet relay and transfer equipment
JPH0575304B2 (en)
JPH043699B2 (en)