JPH08195759A - Multi-port bridge - Google Patents

Multi-port bridge

Info

Publication number
JPH08195759A
JPH08195759A JP7005447A JP544795A JPH08195759A JP H08195759 A JPH08195759 A JP H08195759A JP 7005447 A JP7005447 A JP 7005447A JP 544795 A JP544795 A JP 544795A JP H08195759 A JPH08195759 A JP H08195759A
Authority
JP
Japan
Prior art keywords
cpu
port
processing
reception
frame
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.)
Pending
Application number
JP7005447A
Other languages
Japanese (ja)
Inventor
Hiroyuki Hayama
宏幸 葉山
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable Ltd
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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP7005447A priority Critical patent/JPH08195759A/en
Publication of JPH08195759A publication Critical patent/JPH08195759A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE: To allow a multi-port bridge to attain high speed transmission/ reception processing. CONSTITUTION: A CPU 1 and interface sections 3-1 -3- N are connected via a common bus 2 and a CPU 8 controls the interface sections 3-1 3- N to conduct frame transmission and reception in the multi-port bridge, in which a register 10 connecting to the CPU 8 and a CPU 9 being a 2nd CPU writing interrupt information relating to normal transmission reception end to the register 10 and executing processing relating to occurrence of an error and the CPU 8 is used exclusively for transmission reception processing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、任意のポート間の通信
を複数組で同時に行うことのできるマルチポートブリッ
ジに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-port bridge capable of simultaneously performing a plurality of sets of communication between arbitrary ports.

【0002】[0002]

【従来の技術】近年、多数の通信ポートを有し、任意の
ポート間の通信を複数組で同時に行うことが可能なマル
チポートブリッジ(スイッチングハブ)が注目を集めて
いる。図4はマルチポートブリッジの構成例を示すブロ
ック図である。CPU1には、バス2を介してインター
フェース部(通信用LSI)3-1〜3 -N、及び送受信フ
レームが格納されるバッファメモリ4が接続されてい
る。インターフェース部3-1〜3-Nは、夫々ポートを備
えている。CPU1とインターフェース部3-1〜3-N
各々には、割込信号線5-1〜5-Nが接続されている。
2. Description of the Related Art In recent years, many communication ports have been
It is possible to communicate in multiple groups at the same time between ports.
Chiport Bridge (Switching Hub) attracts attention
There is. Figure 4 shows a block diagram of a multi-port bridge configuration example.
FIG. The CPU 1 is connected to the CPU 1 via the bus 2.
Face part (communication LSI) 3-1~ 3 -N, And send / receive frames
The buffer memory 4 for storing frames is connected
It Interface part 3-1~ 3-NEach equipped with a port
I am. CPU 1 and interface unit 3-1~ 3-Nof
Each has an interrupt signal line 5-1~ 5-NAre connected.

【0003】図4の構成にあって、或るポートでフレー
ムが受信された場合、フレームはバッファメモリ4に転
送される。そして、受信が完了すると、その通知が割込
信号線5-1〜5-Nを介してCPU1へ報知される。受信
完了通知を受けたCPU1は、バッファメモリ4からフ
レーム内の宛て先アドレスの内容を読み取り、そのフレ
ームをどのポートへ転送するか、或いは転送しないかを
決定する。また、フレーム受信において、エラーが発生
した場合、その通知も割込信号によってCPU1に伝え
られ、これに対応する処理がCPU1によって実行され
る。
In the configuration of FIG. 4, when a frame is received at a certain port, the frame is transferred to the buffer memory 4. Then, when the reception is completed, the notification is sent to the CPU 1 via the interrupt signal lines 5 -1 to 5- N . Upon receiving the reception completion notification, the CPU 1 reads the contents of the destination address in the frame from the buffer memory 4, and determines to which port the frame is transferred or not. When an error occurs in frame reception, the notification is also transmitted to the CPU 1 by an interrupt signal, and the CPU 1 executes the corresponding process.

【0004】図5は図4のシステムにおけるCPUのソ
フトウェアの動作を示す説明図である。アイドル(Id
le)状態にあるとき、割り込みの通知があると、割り
込み要因の判定が行われた後、送受信処理やエラー処理
へシフトする。これらの処理が終了すると、再びアイド
ル状態になり、割り込みの発生を待つことになる。
FIG. 5 is an explanatory diagram showing the operation of the software of the CPU in the system of FIG. Idol (Id
In the le) state, if there is an interrupt notification, after determining the interrupt factor, the process shifts to transmission / reception processing and error processing. When these processes are completed, the process goes into the idle state again and waits for an interrupt to occur.

【0005】ところで、ワークステーション、パーソナ
ルコンピュータ等の処理速度の高速化に伴い、より高速
なLANの開発が要求されている。LANの高速化を図
る手段の1つにイーサネット(Ethernet)の転
送レートを現在の10Mbpsから100Mbpsに上
げた100Mイーサネットがあり、IEEE(米国電気
電子技術者協会)において標準化が行われている。
Incidentally, with the increase in processing speed of workstations, personal computers, etc., the development of higher speed LAN is required. One of the means for increasing the speed of a LAN is 100M Ethernet, which has increased the transfer rate of Ethernet from the current 10 Mbps to 100 Mbps, and is standardized by the IEEE (Institute of Electrical and Electronics Engineers).

【0006】この場合、全ての端末が一気に100Mイ
ーサネットになることは考え難く、従来の10Mイーサ
ネットと100Mイーサネットを接続する装置が必要に
なるものと思われる。この接続装置として、複数の10
Mイーサネットポートと1つ以上の100Mイーサネッ
トポートを有するマルチポートブリッジ(スイッチング
ハブ)を用いることが考えられる。
In this case, it is unlikely that all the terminals will suddenly become 100M Ethernet, and a device for connecting the conventional 10M Ethernet and 100M Ethernet is considered necessary. As this connection device, a plurality of 10
It is conceivable to use a multi-port bridge (switching hub) with M Ethernet ports and one or more 100M Ethernet ports.

【0007】図6は伝送速度の異なるポートが混在して
いるマルチポートブリッジの構成例を示している。バス
2には、夫々が転送レートが10Mbpsのポートを有
する複数のインターフェース部3-1〜3-4が接続される
と共に、転送レートが100Mbpsのポートを有する
インターフェース部6が接続されている。また、CPU
1には、アドレス登録用メモリ7が接続されている。こ
のアドレス登録用メモリ7には、各ポートに接続されて
いる端末のアドレスが格納されている。
FIG. 6 shows a configuration example of a multi-port bridge in which ports having different transmission rates are mixed. The bus 2 is connected to a plurality of interface units 3 -1 to 3 -4 each having a port having a transfer rate of 10 Mbps, and an interface unit 6 having a port having a transfer rate of 100 Mbps. Also, CPU
An address registration memory 7 is connected to 1. The address registration memory 7 stores the address of the terminal connected to each port.

【0008】図7はイーサネットのフレーム構成を示し
ている。フレーム100は、先頭から順次、宛先アドレ
ス(DA)101、送信元アドレス(SA)102、デ
ータ長(LEN)103、データ(DATA)104及
びフレームチエックシーケンス(FCS)105が割当
てられている。マルチポートブリッジは、或るポートか
らフレームが受信されると、宛先アドレス(DA)10
1が読み取られ、その値とアドレス登録用メモリ7の格
納内容との比較が行われ、そのフレームを破棄(フィル
タリング)するか、或るポートに転送(フォワーディン
グ)するかが決定される。
FIG. 7 shows a frame structure of Ethernet. In the frame 100, a destination address (DA) 101, a source address (SA) 102, a data length (LEN) 103, data (DATA) 104, and a frame check sequence (FCS) 105 are sequentially assigned from the beginning. The multi-port bridge receives a destination address (DA) 10 when a frame is received from a certain port.
1 is read, the value is compared with the content stored in the address registration memory 7, and it is determined whether the frame is discarded (filtered) or transferred to a certain port (forwarding).

【0009】図6に示すように、アドレス登録用メモリ
7が全体で1つしかない場合、複数のポートから同時に
フレームが受信されたとき、転送判定処理を同時に行う
ことはできず、順番に行うことになり、判定待ちのフレ
ームが生じる。図8は複数のポートから同時にフレーム
が受信された場合の宛先ポート判定の処理の順番を示し
ている。ここでは、4つの10Mポートから同時にフレ
ームが受信され、その少し後に100Mポートからのフ
レーム受信が開始されたとする。通常は到着順の処理に
なるため、宛先ポート判定処理は、最初に10Mポート
からの受信に対する処理が4回行われ、続いて100M
ポートからの受信フレームに対する処理が行われる。
As shown in FIG. 6, when there is only one memory 7 for address registration as a whole, when frames are simultaneously received from a plurality of ports, the transfer determination processing cannot be performed at the same time and is performed sequentially. As a result, a frame awaiting determination occurs. FIG. 8 shows the order of processing for destination port determination when frames are simultaneously received from a plurality of ports. Here, it is assumed that frames are simultaneously received from the four 10M ports, and shortly thereafter, frame reception from the 100M ports is started. Normally, the processing is in the order of arrival, so in the destination port determination processing, the processing for the reception from the 10M port is performed four times first, and then the 100M
The processing for the frame received from the port is performed.

【0010】[0010]

【発明が解決しようとする課題】しかし、図4に示した
マルチポートブリッジにあっては、レジスタ退避等の操
作を行う必要があるため、割り込みを認識してから、そ
れに対応する処理を行うまでに多大の時間を要するとい
う問題がある。この結果、1回の送受信処理に要する時
間を極端に短縮することは難しい。特に、1つのCPU
で複数のインターフェース部を扱う場合、複数ポートの
送受信処理を並行して処理せねばならず、各ポートにお
ける最小受信間隔をt、ポート数をnとした場合、受信
処理の時間をt/n以下にしないと全フレームの処理が
行えない。このため、処理の時間が大きいと受信フレー
ムの取りこぼしを生じる場合がでてくる。全フレーム受
信を保証しようとすると、ポート数をあまり大きくする
ことはできない。以上の問題は送信処理においても同様
に生じる。また、CPUではエラー処理も行っているた
め、正常な送受信処理を行う時間が更に少なくなるとい
う問題もある。
However, in the multi-port bridge shown in FIG. 4, since it is necessary to perform operations such as register saving, it is necessary to perform processing from the recognition of an interrupt to the corresponding processing. There is a problem that it takes a lot of time. As a result, it is difficult to extremely reduce the time required for one transmission / reception process. Especially one CPU
When handling a plurality of interface units in, the transmission / reception processing of a plurality of ports must be processed in parallel. When the minimum reception interval at each port is t and the number of ports is n, the reception processing time is t / n or less. If not set, all frames cannot be processed. Therefore, if the processing time is long, the received frames may be missed. To guarantee reception of all frames, the number of ports cannot be too large. The above problem similarly occurs in the transmission process. Further, since the CPU also performs error processing, there is a problem that the time required for normal transmission / reception processing is further reduced.

【0011】また、図6の構成においては、先に到着し
た10Mポートからの受信フレームに対する宛先判定処
理を行っている間に、100Mポートから連続してフレ
ームが受信された場合、宛先判定待ちの複数の100M
フレームが生じる。この結果、処理遅れが生じ、待ちフ
レーム数が増えてバッファが満杯になり、オーバーラン
の発生や受信フレームの取りこぼしを生じさせる。
Further, in the configuration of FIG. 6, when the frames are continuously received from the 100M port while the destination judgment process is performed on the received frame from the 10M port that arrived first, the waiting for the destination judgment is made. Multiple 100M
A frame is created. As a result, processing delay occurs, the number of waiting frames increases, the buffer becomes full, and overrun occurs and received frames are dropped.

【0012】この場合、オーバーランを生じないように
予めバッファサイズを大きく取ろうとすると、それに見
合う容量のメモリを用意せねばならず、装置コストの増
大を招くことになる。また、フレームの転送(フォワー
ディング)を行う場合、フレーム受信が完了しても、宛
先ポート判定が行われておらず、転送処理を開始するこ
とができないため、ポート受信〜ポート送信までの遅延
時間が大きくなるという問題が生じる。
In this case, if it is attempted to increase the buffer size in advance so as not to cause an overrun, it is necessary to prepare a memory having a capacity corresponding to the buffer size, resulting in an increase in device cost. Also, when performing frame forwarding (forwarding), even if frame reception is completed, the destination port determination has not been performed and the forwarding process cannot be started, so the delay time from port reception to port transmission The problem of becoming large arises.

【0013】そこで、本発明は、送受信処理の高速化を
図ることのできるマルチポートブリッジを提供すること
を目的としている。また、本発明の他の目的は、宛先判
定待ちの高速転送レートのインターフェース部のフレー
ム数を低減することが可能なマルチポートブリッジを提
供することにある。
Therefore, an object of the present invention is to provide a multi-port bridge capable of speeding up transmission / reception processing. Another object of the present invention is to provide a multi-port bridge capable of reducing the number of frames in an interface section having a high transfer rate waiting for destination determination.

【0014】[0014]

【課題を解決するための手段】上記の目的を達成するた
めに、この発明は、CPUと複数のインターフェース部
が共通のバスを介して接続され、前記CPUにより前記
複数のインターフェース部を制御してフレームの送受信
を行うマルチポートブリッジにおいて、前記CPUに接
続されるレジスタと、正常な送受信完了に関する割り込
み情報を前記レジスタに書き込むと共にエラー発生に関
する処理を実行する第2のCPUとを設ける構成にして
いる。
In order to achieve the above object, according to the present invention, a CPU and a plurality of interface units are connected via a common bus, and the CPU controls the plurality of interface units. In a multi-port bridge that transmits and receives frames, a register connected to the CPU and a second CPU that writes interrupt information regarding normal transmission / reception completion to the register and executes processing regarding error occurrence are configured. .

【0015】また、上記の他の目的を達成するために、
この発明は、少なくとも2種類の転送レートに分けられ
る複数のインターフェース部と、これらに共通のバスを
介して接続されるCPUと、前記インターフェース部の
ポートにどのアドレスを持つ端末が接続されているかを
示すアドレス登録用メモリとを備え、前記CPUの制御
のもとにフレームの転送を任意のインターフェース部間
で行うマルチポートブリッジにおいて、フレームが複数
のポートから同時に受信されたとき、転送レートの大き
いインターフェース部からの受信フレームに対する処理
を優先して処理する制御手段を設けるようにしている。
In order to achieve the above-mentioned other objects,
According to the present invention, a plurality of interface units divided into at least two types of transfer rates, a CPU connected to these via a common bus, and an address having a terminal connected to a port of the interface unit are identified. In a multi-port bridge, which has a memory for address registration as shown and which transfers frames between arbitrary interface units under the control of the CPU, an interface having a large transfer rate when frames are simultaneously received from a plurality of ports. A control means for preferentially processing the received frame from the unit is provided.

【0016】[0016]

【作用】上記した手段によれば、インターフェース部側
からのフレーム受信や送信終了等の通知は、第2のCP
Uによってレジスタに書き込まれるので、このレジスタ
の内容をフレーム送受信用のCPUで監視していれば、
該フレーム送受信用CPUに対する割り込み処理が不要
になり、プログラムによる処理が可能になる。また、第
2のCPUがエラー処理を担当するので、フレーム送受
信用CPUは正常な送受信処理のみを実行すればよい。
したがって、送受信の為の処理時間を短縮することがで
きる。また、より多くのポートを制御することが可能に
なる。
According to the above-mentioned means, the second CP sends the notification such as the reception of the frame or the end of the transmission from the interface side.
Since it is written to the register by U, if the CPU for frame transmission / reception monitors the contents of this register,
Interrupt processing for the frame transmitting / receiving CPU is not required, and processing by a program becomes possible. Further, since the second CPU takes charge of error processing, the frame transmitting / receiving CPU only needs to execute normal transmission / reception processing.
Therefore, the processing time for transmission / reception can be shortened. Also, it becomes possible to control more ports.

【0017】上記した他の手段によれば、転送レートの
大きいインターフェース部からの受信フレームに対する
処理が優先して処理され、転送レートの大きいインター
フェース部から連続してフレームが受信されてもアドレ
ス登録用メモリに対するアクセスが待たされることはな
い。この結果100Mポートの如き転送レートの大きい
インターフェース部のポートの待ちフレーム数を少なく
することができ、フレームのとりこぼしを無くし、バッ
ファサイズを少なくできることによるメモリの節約、ポ
ート受信〜送信までの遅延時間の低減等が可能になる。
According to the above-mentioned other means, the processing for the frame received from the interface section having a high transfer rate is preferentially processed, and even if the frames are continuously received from the interface section having a high transfer rate, the address registration is performed. There is no need to wait for access to the memory. As a result, it is possible to reduce the number of waiting frames in a port of an interface unit having a high transfer rate such as 100M port, eliminate missing frames, save memory by reducing buffer size, and delay time from port reception to transmission. Can be reduced.

【0018】[0018]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。 〔実施例1〕図1は本発明によるマルチポートブリッジ
の第1の実施例を示すブロックである。なお、図1にお
いては、図4に示したと同一であるものには、同一引用
数字を用いたので、ここでは重複する説明を省略する。
Embodiments of the present invention will be described below with reference to the drawings. [Embodiment 1] FIG. 1 is a block diagram showing a first embodiment of a multiport bridge according to the present invention. Note that, in FIG. 1, the same reference numerals are used for the same components as those shown in FIG.

【0019】本実施例においては、CPUを2つ(CP
U8,9)にし、CPU8をバス2に接続すると共にC
PU9をインターフェース部3-1〜3-Nの割り込み受付
用に用いている。そして、CPU8とCPU9の間にレ
ジスタ10を設け、送受信に必要な情報についてのみ、
レジスタ10を介してCPU8に伝送する構成にしてい
る。
In this embodiment, two CPUs (CP
U8,9), connect the CPU8 to the bus 2 and C
The PU 9 is used to accept interrupts from the interface units 3 -1 to 3 -N . A register 10 is provided between the CPU 8 and the CPU 9 so that only the information necessary for transmission / reception is
The data is transmitted to the CPU 8 via the register 10.

【0020】図2は図1のシステムにおける各CPUの
ソフトウェアの動作を示す説明図である。或るポートで
フレームが受信された場合、フレームはバッファメモリ
4に転送され、受信が完了すると、その通知が割込信号
線5-1〜5-Nを介してCPU9に伝達される。割り込み
信号を受けたCPU9は、フレーム受信や送信終了等の
インターフェース部3-1〜3-Nからの通知をレジスタ1
0を監視することにより認識し、割り込み処理ではなく
プログラムによるフラグセンス処理を実行する。このた
め、従来方法に比べ、CPU8は正常な送受信処理に専
念することができ、より多くのポートを制御することが
できる。
FIG. 2 is an explanatory diagram showing the operation of the software of each CPU in the system of FIG. When a frame is received at a certain port, the frame is transferred to the buffer memory 4, and when the reception is completed, the notification is transmitted to the CPU 9 via the interrupt signal lines 5 -1 to 5- N . Upon receiving the interrupt signal, the CPU 9 registers the notification from the interface units 3 -1 to 3 -N such as the end of frame reception and the end of transmission in the register 1
It is recognized by monitoring 0, and the flag sense process by the program is executed instead of the interrupt process. Therefore, compared to the conventional method, the CPU 8 can concentrate on normal transmission / reception processing and can control more ports.

【0021】図2は図1のシステムにおけるCPUのソ
フトウェアの動作を示す説明図である。アイドル(Id
le)状態にあるとき、割り込みの通知があると、CP
U9は割り込み要因の判定を行い、それがエラー通知で
あれば、CPU9自身がエラーカウンタアップ等のエラ
ー処理を実行する。割り込み要因が正常な送受信に関す
るものの場合、CPU9は、その旨を認識できるように
レジスタ10に書き込みを行う。一方、CPU8では、
アイドル状態のときにソフトウェアによりレジスタ10
の内容を監視する。そして、レジスタ10にCPU9か
ら送受信に関する通知が書き込まれると、それを読み取
り、対応する送受信処理を行う。CPU9による送受信
処理はソフトウェアの判定のみであり、割り込みに伴う
処理がなくなるため、直ちに送受信処理へ移行すること
ができる。
FIG. 2 is an explanatory diagram showing the operation of the software of the CPU in the system of FIG. Idol (Id
le) state, if there is an interrupt notification, the CP
U9 determines an interrupt factor, and if it is an error notification, the CPU 9 itself executes error processing such as error counter up. When the interrupt factor is related to normal transmission / reception, the CPU 9 writes to the register 10 so that the fact can be recognized. On the other hand, in the CPU 8,
Register 10 by software when idle
Monitor the contents of. When the CPU 9 writes a notification regarding transmission / reception into the register 10, the notification is read and corresponding transmission / reception processing is performed. The transmission / reception processing by the CPU 9 is only software determination, and the processing associated with the interrupt is eliminated, so that the transmission / reception processing can be immediately started.

【0022】このように、上記実施例によれば、送受信
処理を速くすることができ、かつ、全体として送受信処
理を行う時間の割合を増やすことができる。この結果、
処理が間に合わずに受信フレームをとりこぼすといった
事態の発生を低減することができる。また、より多くの
ポートを制御することが可能になる。 〔実施例2〕図3は本発明のマルチポートブリッジの第
2の実施例の宛先ポート判定の処理の順番を示す説明図
である。なお、その構成は、図6に示した通りである。
また、以下においては、4つの10Mポートから同時に
フレームが受信され、その少し後に10Mポートから連
続してフレームが受信された場合を例に説明する。
As described above, according to the above embodiment, the transmission / reception processing can be speeded up, and the ratio of the time for performing the transmission / reception processing can be increased as a whole. As a result,
It is possible to reduce the occurrence of a situation where a received frame is dropped because the processing is not in time. Also, it becomes possible to control more ports. [Embodiment 2] FIG. 3 is an explanatory diagram showing the order of processing of destination port determination in the second embodiment of the multi-port bridge of the present invention. The configuration is as shown in FIG.
Also, in the following, a case will be described as an example in which frames are simultaneously received from four 10M ports, and shortly thereafter, frames are continuously received from 10M ports.

【0023】アドレス検索メモリに対してアクセスを行
い、宛先ポートの判定を行う場合、まず、最初に受信さ
れた10Mポートに対して行うが、その処理が終了し
たとき、前に受信した10Mポート〜(インターフ
ェース部3-2〜3-4)に対する処理ではなく、後から受
信された100Mポート(インターフェース部6)に対
する処理を実行する。
When the address search memory is accessed and the destination port is determined, first, the first received 10M port is processed. When the processing is completed, the previously received 10M port ... The process for the 100M port (interface unit 6) received later is executed instead of the process for (interface units 3 -2 to 3 -4 ).

【0024】そして、10Mポート〜に対する処理
は、インターフェース部6のポートからのフレーム受信
が無くなった後、10Mポート→10Mポート→1
0Mポートの順で行われる。100Mポートからの受
信フレームは、優先して宛先ポート判定処理が行われる
ため、判定待ちのフレームが増えることはない。また、
10Mポート〜に対する宛先ポート判定処理は遅れ
るが、10Mは100Mに比べて受信にかかる時間が長
いため、図1の例では、10Mのフレームの受信が完了
する前には、判定処理が完了しているため、次に行う転
送(フォワーディング)処理が遅れることはない。
The processing for the 10M port and so on is performed after the frame reception from the port of the interface unit 6 is stopped, 10M port → 10M port → 1
The order is 0M port. The received frame from the 100M port is preferentially subjected to the destination port determination processing, so that the number of frames waiting for determination does not increase. Also,
Although the destination port determination processing for 10M ports is delayed, 10M takes a longer time to receive than 100M, so in the example of FIG. 1, the determination processing is completed before the reception of the 10M frame is completed. Therefore, the next transfer (forwarding) process is not delayed.

【0025】即ち、10Mポートに対する単位時間当た
りの受信フレーム数は、フレーム長等の条件が等しいと
仮定すれば、100Mポートの1/10であり、或る1
0Mポートにおける処理待ちフレーム数は、従来方法に
おける100Mポートの処理待ちフレーム数よりも大幅
に少なくすることができる。このように、図3に示した
処理によれば、100Mポートのフレーム数を少なくで
きるため、バッファが満杯になることがなく、フレーム
のとりこぼしが無くなる。また、バッファサイズを少な
く設定することが可能になり、メモリの節約が可能にな
る。更に、ポート受信〜ポート送信までの遅延時間を少
なくすることができる。
That is, the number of received frames per unit time for the 10M port is 1/10 of 100M port, assuming that the conditions such as the frame length are equal.
The number of processing-waiting frames at the 0M port can be made significantly smaller than the number of processing-waiting frames at the 100M port in the conventional method. As described above, according to the processing shown in FIG. 3, the number of frames of the 100M port can be reduced, so that the buffer does not become full and the frames are not dropped. In addition, it is possible to set the buffer size to a small value and save the memory. Furthermore, the delay time from port reception to port transmission can be reduced.

【0026】[0026]

【発明の効果】以上説明した通り、この発明は、第1の
CPUに接続されるレジスタ、及び、正常な送受信完了
に関する割り込み情報を前記レジスタに書き込むと共に
エラー発生に関する処理を実行する第2のCPUを設け
るようにした結果、送受信の為の処理時間を短縮するこ
とができる。また、より多くのポートを制御することが
可能になる。
As described above, according to the present invention, the register connected to the first CPU and the second CPU for writing the interrupt information regarding the normal transmission / reception completion into the register and executing the process regarding the error occurrence. As a result, the processing time for transmission and reception can be shortened. Also, it becomes possible to control more ports.

【0027】また、フレームが複数のポートから同時に
受信されたとき、転送レートの大きいインターフェース
部からの受信フレームに対する処理を優先して処理する
制御手段を設けることにより、転送レートの大きいイン
ターフェース部のポートの待ちフレーム数を少なくする
ことができ、フレームのとりこぼしを無くし、バッファ
サイズを少なくできることによるメモリの節約、ポート
受信〜ポート送信までの遅延時間の低減等が可能にな
る。
Further, when a frame is received from a plurality of ports at the same time, by providing control means for preferentially processing the received frame from the interface section having a high transfer rate, the port of the interface section having a high transfer rate is provided. It is possible to reduce the number of waiting frames, eliminate frames, and reduce the buffer size, thereby saving memory and reducing the delay time from port reception to port transmission.

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

【図1】本発明によるマルチポートブリッジの第1の実
施例を示すブロックである。
FIG. 1 is a block diagram showing a first embodiment of a multiport bridge according to the present invention.

【図2】図1のシステムにおける各CPUの動作を示す
説明図である。
FIG. 2 is an explanatory diagram showing an operation of each CPU in the system of FIG.

【図3】本発明のマルチポートブリッジの第2の実施例
の宛先ポート判定の処理の順番を示す説明図である。
FIG. 3 is an explanatory diagram showing the order of processing for destination port determination according to the second embodiment of the multi-port bridge of the present invention.

【図4】マルチポートブリッジの構成例を示すブロック
図である。
FIG. 4 is a block diagram showing a configuration example of a multiport bridge.

【図5】図4のシステムにおけるCPUのソフトウェア
の動作を示す説明図である。
5 is an explanatory diagram showing an operation of software of a CPU in the system of FIG.

【図6】伝送速度の異なるポートが混在しているマルチ
ポートブリッジの構成例を示すブロック図である。
FIG. 6 is a block diagram showing a configuration example of a multi-port bridge in which ports having different transmission rates are mixed.

【図7】イーサネットのフレーム構成を示す説明図であ
る。
FIG. 7 is an explanatory diagram showing a frame structure of Ethernet.

【図8】複数のポートから同時にフレームが受信された
場合の宛先ポート判定の処理を示す説明図である。
FIG. 8 is an explanatory diagram showing processing of destination port determination when frames are simultaneously received from a plurality of ports.

【符号の説明】[Explanation of symbols]

-1〜3-N,6 インターフェース部 4 バッファメモリ 5-1〜5-N 割込信号線 7 アドレス登録用メモリ 8,9 CPU 10 レジスタ3 -1 to 3 -N , 6 interface section 4 buffer memory 5 -1 to 5 -N interrupt signal line 7 address registration memory 8, 9 CPU 10 register

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPUと複数のインターフェース部が共
通のバスを介して接続され、前記CPUにより前記複数
のインターフェース部を制御してフレームの送受信を行
うマルチポートブリッジにおいて、 前記CPUに接続されるレジスタと、正常な送受信完了
に関する割り込み情報を前記レジスタに書き込むと共に
エラー発生に関する処理を実行する第2のCPUとを具
備することを特徴とするマルチポートブリッジ。
1. A register connected to the CPU in a multi-port bridge in which a CPU and a plurality of interface units are connected via a common bus, and the CPU controls the plurality of interface units to transmit and receive frames. And a second CPU that writes interrupt information regarding normal transmission / reception completion to the register and executes processing regarding error occurrence.
【請求項2】 少なくとも2種類の転送レートに分けら
れる複数のインターフェース部と、これらに共通のバス
を介して接続されるCPUと、前記インターフェース部
のポートにどのアドレスを持つ端末が接続されているか
を示すアドレス登録用メモリとを備え、前記CPUの制
御のもとにフレームの転送を任意のインターフェース部
間で行うマルチポートブリッジにおいて、 フレームが複数のポートから同時に受信されたとき、転
送レートの大きいインターフェース部からの受信フレー
ムに対する処理を優先して処理する制御手段を設けたこ
とを特徴とするマルチポートブリッジ。
2. A plurality of interface units which are divided into at least two types of transfer rates, a CPU which is connected to these through a common bus, and which address has a terminal connected to a port of the interface unit. In a multi-port bridge that transfers a frame between arbitrary interface units under the control of the CPU, and has a high transfer rate when frames are simultaneously received from a plurality of ports. A multi-port bridge characterized by comprising control means for preferentially processing a received frame from an interface section.
JP7005447A 1995-01-18 1995-01-18 Multi-port bridge Pending JPH08195759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7005447A JPH08195759A (en) 1995-01-18 1995-01-18 Multi-port bridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7005447A JPH08195759A (en) 1995-01-18 1995-01-18 Multi-port bridge

Publications (1)

Publication Number Publication Date
JPH08195759A true JPH08195759A (en) 1996-07-30

Family

ID=11611474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7005447A Pending JPH08195759A (en) 1995-01-18 1995-01-18 Multi-port bridge

Country Status (1)

Country Link
JP (1) JPH08195759A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009098861A1 (en) * 2008-02-08 2009-08-13 Koyama, Yuu Power supply stop type computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009098861A1 (en) * 2008-02-08 2009-08-13 Koyama, Yuu Power supply stop type computer system

Similar Documents

Publication Publication Date Title
US5020020A (en) Computer interconnect system with transmit-abort function
US5187780A (en) Dual-path computer interconnect system with zone manager for packet memory
JPH0824320B2 (en) Method and device for buffer chaining in communication control device
JPH07262152A (en) Computer system
JPS63200649A (en) Communication control equipment
JPH03273352A (en) On-line information processor
US7315913B2 (en) CPU system, bus bridge, control method therefor, and computer system
JP2003500979A (en) Method and system for multi-initiator support for streaming devices in fiber channel networks
JPH08195759A (en) Multi-port bridge
US6064647A (en) Method and system for sending frames around a head of line blocked frame in a connection fabric environment
US7286526B2 (en) Uniform management of mixed network systems
JPH0458646A (en) Buffer management system
JP2762506B2 (en) Line controller
US20210406093A1 (en) Computing machine, method and non-transitory computer-readable medium
WO2021035798A1 (en) Uart main control system for automatically switching outgoing data in multi-core scene
JP2001325212A (en) Method and device for transmitting data block from source processor to destination processor in multiprocessor system
JPH1155304A (en) Switching hub
JPH0693685B2 (en) Frame selective reception method
JPH086882A (en) Communication device
JP2003289315A (en) Packet transfer apparatus and packet transfer method
JP2713204B2 (en) Information processing system
JP2581002B2 (en) LAN connection device
JPH0621925A (en) Communication control system for multiplex transmission line
EP1347597A2 (en) Embedded system having multiple data receiving channels
JPH0378066A (en) Data processor