TW453080B

Method and apparatus for selectively discarding packet for blocked output queues in the network switch

Abstract

A device and method for controlling the transmission of a copy frame via a multi-port device, for example For example, a multi-port network switching device determines which ports are Change the multi-copy frame received by the device. The switching device then determines the designated port Which ones can't be used to transmit the copy frame message, and the copy frame message can be used to transmit The frame is transmitted by the designated port. The copy of the discarded frame is not available for transmission The designated port of this multi-copy frame.

TW453080B, drawing sheet 1
Sheet 1 of 2

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Granted
  4. Today

13 claims: 13 independent, 0 dependent

  1. 1
    A method for controlling the transmission of copied data frames through multiple ports, including the following steps:specify which ports will transmit the copied frame;determine which of the specified ports cannot be used to transmit one of the copied frames ;And provide the copied frame to the designated port that can be used to transmit one of the copied frames, and discard the copied frame in the designated port that cannot be used to transmit the copied frame. 1.一種控制複製的資料訊框經由複數個埠傳輸的方法,包括以下的步驟:指定將由哪些埠傳輸複製的訊框;確定指定的埠中有哪些埠不可用來傳輸其一複製的框訊;以及提供複製訊框到可用來傳輸其一複製訊框的指定埠中,並在不可用來傳輸複製訊框的指定埠中將複製之訊框放棄。
  2. 2
    For the method of item 1 of the scope of patent application, the step of specifying which ports will transmit the copied frame includes generating a port vector based on the destination address of the frame, and the port vector will identify these designated ports. 2.如申請專利範圍第1項的方法,其中指定將由哪些埠傳輸複製的訊框的步驟包括根據訊框中的目的位址產生一個埠向量,而埠向量將會識別這些指定埠。
  3. 3
    For the method in item 2 of the scope of patent application, each port has a related output queue. The output queue is planned to arrange the frame index so that the frame index points to the memory address where the frame is stored. The method further includes loading the frame indicator of the frame to be transmitted into the output queue of the relevant port, and these ports are the places from which the frame will be transmitted. 3.如申請專利範圍第2項的方法,其中每一個埠有一個相關的輸出佇列,該輸出佇列被規劃排列訊框指標,使訊框指標指到儲存訊框的記憶體位址,該方法更進一步包括,將要傳送的訊框的訊框指標載入相關埠的輸出佇列,該些埠即為訊框將由此傳輸出去的地方。
  4. 4
    Such as the method of item 3 of the scope of patent application, the method further includes recovering the port of the frame from the memory when the frame indicator of the frame leaves the output queue of the relevant port. 4.如申請專利範圍第3項的方法,該方法更進一步包括當訊框的訊框指標由相關埠的輸出佇列離開的時候,從記憶體回收訊框的埠。
  5. 5
    For the method of item 4 of the scope of patent application, the step of determining which of the designated ports cannot be used to transmit one of the copied frames includes checking the available capacity of the output queue, which is the relevant output of a port When the queue has no available capacity, the port will be determined not to be used to transmit one of the copied frames. 5.如申請專利範圍第4項的方法,其中確定指定的埠中有哪些埠不可用來傳輸其一複製的訊框之步驟包括檢查輸出佇列的可利用容量,其中當一個埠的相關輸出佇列已沒有可利用容量時,該埠將被確定不用來傳輸其一複製的訊框。
  6. 6
    For the method of item 5 of the scope of patent application, the step of discarding the copied frame to be transmitted includes the step of discarding the frame index of the relevant output queue to be loaded into the designated port with no available capacity. 6.如申請專利範圍第5項之方法,其中丟棄將要傳輸的複製訊框的步驟包括丟棄將要載入無可利用容量的指定埠的相關輸出佇列的訊框指標之步驟。
  7. 7
    For example, the method described in item 6 of the scope of patent application further includes determining the number of discarded frame indicators. 7.如申請專利範圍第6項的方法,更進一步包括確定被丟棄的訊框指標數目。
  8. 8
    A multi-port network switching device that transmits multiple copies of a single data frame, the network switching device includes:a plurality of ports, the data frame to be transmitted is transmitted there;A port vector generator is used to generate a port vector. This port vector specifies which ports the frame to be transmitted will be transmitted through;a transmission plan is used to determine the use of the port that the port vector specifies to transmit a single copy of the frame Transfer multiple copy frames from the port that can be used to transmit the copy frame in the designated port. If multiple copy frames are lost, the port designated to transmit the copy frame cannot be used to transmit the copy frame Do it in the port. 8.一種多埠網路交換裝置,該多埠網路交換裝置傳輸單一個資料訊框之複數個副本,該網路交換裝置包括:複數個埠,將要傳輸的資料訊框由該處傳輸;一個埠向量產生器,用以產生埠向量,此埠向量會指定將要傳輸的訊框將由哪些埠傳輸;一個傳輸的規劃,用以決定這些被埠向量指定傳輸單一個複製訊框之埠的利用率,及由指定埠中可用傳輸複製訊框之埠的傳輸複數個複製訊框,丟掉複數個複製訊框的動作,則由被指定傳輸複製訊框的埠中不能用來於傳輸複製訊框的埠來做。
  9. 9
    For example, the network switching device in the scope of patent application, the transmission plan includes a plurality of output queues, among which a special output queue is connected to a special port. 9.如申請專利範圍第8項的網路交換裝置,其中的傳輸規劃包括複數個輸出佇列,其中有一個特殊的輸出佇列相關連於一個特殊的埠。
  10. 10
    For example, the network switching device in the scope of patent application, the transmission plan includes a port vector and a FIFO are planned as a receiving port vector generator, and the available capacity of each output queue related to the designated port is determined . 10.如申請專利範圍第9項的網路交換裝置,其中的傳輸規劃包括一個埠向量個FIFO被規劃為接收埠向量產生器,及確定跟指定埠有關的每一個輸出佇列的可利用容量。
  11. 11
    For example, in the network switching device of item 10 of the scope of patent application, the port vector FIFO is further planned to be that when a certain output queue has available capacity, load the signal for each copy frame to be transmitted. The frame pointer is to the output queue related to the designated port, the frame pointer refers to the address where the frame is stored in the memory, and the output queue is arranged in the frame pointer. Each port is planned to access the framed pointer. According to the frame indicator leaving the output queue related to the port, the frame at that address is transmitted. 11.如申請專利範圍第10項的網路交換裝置,其中埠向量FIFO更進一步被規劃為,當某一輸出佇列有可利用容量時,對每一將要傳輸的複製訊框,載入訊框指標到跟指定埠有關的輸出佇列,訊框指標指到記憶體中儲存訊框的位址,輸出佇列排列訊框指標,其中每一個埠被規劃為存取該被訊框指標指到的記憶體位址,並根據離開跟該埠有關的輸出佇列的訊框指標,傳輸在該位址的訊框。
  12. 12
    For example, in the network switching device of the 11th patent application, the port vector FIFO is further planned to discard the frame indicator in the output queue related to the designated port if the output queue has no available capacity. 12.如申請專利範圍第11項的網路交換裝置,其中埠向量FIFO更進一步被規劃為如果輸出佇列沒有可利用容量時,丟棄跟指定埠有關的輸出佇列中的訊框指標。
  13. 13
    For example, the network switching device of the 12th patent application, the port vector FIFO is further planned to determine a specific frame, the number of frame indicators loaded into the output queue, and a specific Frame, the number of abandoned frame indicators. 13.如申請專利範圍第12項的網路交換裝置,其中埠向量FIFO被進一步規劃為可確定一個特定的訊框中,被載入輸出佇列中訊框指標的數目,及確定一個特定的訊框中,所放棄的訊框指標的數目。