Transmission control circuit

The transmission control circuit manages bandwidth allocation among multiple traffic classes by using counters to increment and decrement values, ensuring each class adheres to its allocated share, addressing the challenge of simple circuit configuration in data center bridges.

JP2024115216AInactive Publication Date: 2024-08-26KIOXIA CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023020799
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies face challenges in selecting the next traffic class to be transmitted while limiting bandwidth usage with a simple circuit configuration, particularly in data center bridges (DCB) that manage multiple traffic classes like LAN, storage I/O, and interprocess communication (IPC).

Method used

A transmission control circuit with counters associated with each traffic class, incrementing and decrementing counter values based on allocated bandwidth to manage bandwidth usage, selecting the traffic class with a zero counter value for transmission, and employing arbitration to ensure each class adheres to its allocated bandwidth.

Benefits of technology

The solution allows for efficient bandwidth management across multiple traffic classes, ensuring each class uses its allocated share effectively, even when total bandwidth is limited, without requiring complex frame analysis or feedback mechanisms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024115216000001
    Figure 2024115216000001
Patent Text Reader

Abstract

To provide a transmission control circuit configured to select a traffic class for the next transmission while limiting the bandwidth available for each traffic class, with a simple circuit configuration.SOLUTION: A transmission control circuit includes a plurality of counters associated one-to-one with multiple traffic classes. The transmission control circuit sets, based on the bandwidth allocated to each of the traffic classes, a counter increasing value larger than 0 and a counter decreasing value larger than 0, for each traffic class. The bandwidth allocated to each traffic class is represented by a ratio with respect to the entire available bandwidth of the network. The transmission control circuit increases / decreases counters, selects a traffic class having a counter value of 0 from among traffic classes that request transmission of frames, and transmits a frame belonging to the selected traffic class to an external device via the network.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a transmission control circuit that transmits a frame to an external device via a network. [Background technology]

[0002] In recent years, Data Center Bridge (DCB), which is an extension of Ethernet (registered trademark), has been standardized by the IEEE 802.1 committee and is being used in data centers.

[0003] One of the functions defined in the DCB standard is Enhanced Transmission Selection (ETS).

[0004] In Enhanced Transmission Selection (ETS), bandwidth is allocated to multiple traffic classes such as LAN, storage I / O, and inter-process communication (IPC), and transmission selection control is performed to select the next traffic class to be transmitted while limiting the bandwidth available to each traffic class based on the bandwidth allocated to each traffic class. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] U.S. Pat. No. 10,218,642 [Patent Document 2] US Patent Application Publication No. 2020 / 0412670 [Patent Document 3] Patent No. 4588558 [Patent Document 4] JP 2012-244524 A Summary of the Invention [Problem to be solved by the invention]

[0006] An object of the present invention is to provide a transmission control circuit that can select a traffic class to be transmitted next while limiting the bandwidth available to each traffic class, using a simple circuit configuration. [Means for solving the problem]

[0007] According to an embodiment, a transmission control circuit is configured to select one traffic class from a plurality of traffic classes, and transmit a frame belonging to the selected traffic class to an external device via a network. The transmission control circuit includes a plurality of counters each corresponding to the plurality of traffic classes in a one-to-one relationship. The transmission control circuit sets a counter increment value greater than 0 and a counter decrement value greater than 0 for each traffic class based on a bandwidth allocated to each traffic class. The bandwidth allocated to each traffic class is expressed by a percentage of the total available bandwidth of the network. The transmission control circuit increases a value of a first counter corresponding to the first traffic class by the first counter increment value corresponding to the first traffic class for each clock cycle while a frame belonging to a first traffic class selected from the plurality of traffic classes is being transmitted. The transmission control circuit sets the value of the first counter to 0 when the value of the first counter would be less than 0 if the value of the first counter were decremented by a first counter decrement value corresponding to the first traffic class while no frames belonging to the first traffic class are being transmitted, and decrements the value of the first counter by the first counter decrement value for each clock cycle when the value of the first counter would be equal to or greater than 0 if the value of the first counter were decremented by the first counter decrement value. The transmission control circuit selects a traffic class whose counter value is 0 from among traffic classes requesting transmission of frames, and transmits frames belonging to the selected traffic class to the external device via the network. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram showing an example of the configuration of a network storage system including a storage including a transmission control circuit according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of the configuration of a controller provided in a storage of the network storage system. [Diagram 3] 3 is a circuit diagram showing an example of the configuration of a transmission control circuit according to the first embodiment, which is provided in a controller. [Figure 4] 4 is a timing chart showing the operation of the transmission control circuit according to the first embodiment. [Diagram 5] FIG. 13 is a diagram showing an example of the relationship between the ratio between the counter increment coefficient and the counter decrement coefficient set for a traffic class and the bandwidth (transmission throughput) allocated to this traffic class. [Figure 6] FIG. 13 is a diagram showing another example of the relationship between the ratio between the counter increment coefficient and the counter decrement coefficient set for a traffic class and the bandwidth (transmission throughput) allocated to this traffic class. [Figure 7] 11A and 11B are diagrams for explaining an example of an operation for setting a ratio between a counter increment coefficient and a counter decrement coefficient; [Figure 8] FIG. 11 is a circuit diagram showing an example of the configuration of a transmission control circuit according to a second embodiment. [Figure 9] 10 is a timing chart showing the operation of a transmission control circuit according to a second embodiment. [Figure 10] 13 is a diagram showing a state in which the value of a counter included in a transmission control circuit according to the second embodiment becomes saturated. [Figure 11] FIG. 11 is a circuit diagram showing an example of the configuration of a transmission control circuit according to a third embodiment. [Figure 12] 10 is a timing chart showing the operation of a transmission control circuit according to a third embodiment. [Figure 13] FIG. 13 is a circuit diagram showing an example of the configuration of a transmission control circuit according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, an embodiment will be described with reference to the drawings.

[0010] In the following, it is assumed that the transmission control circuit according to each embodiment is included in a storage device equipped with a network interface.

[0011] (First embodiment) FIG. 1 is a block diagram showing an example of the configuration of a network storage system including a storage including a transmission control circuit according to the first embodiment.

[0012] The network storage system 1 includes a host 2, a storage (storage device) 3, and a network 4 to which the host 2 and the storage 3 are connected. In Fig. 1, a case where one host 2 is connected to the network 4 is shown, but a plurality of hosts may be connected to the network 4. In Fig. 1, a case where one storage 3 is connected to the network 4 is shown, but a plurality of storages may be connected to the network 4.

[0013] The network 4 is a network such as 100 Gigabit Ethernet. The network 4 includes network devices such as a network switch and a router. A network management server may also be connected to the network 4.

[0014] The storage 3 is a memory system including a non-volatile memory 32 and a controller 31 configured to control the non-volatile memory 32. The storage 3 has a network interface for connecting to a network 4. The storage 3 transmits information of a plurality of traffic classes to an external device (such as the host 2, a network device in the network 4, or a network management server) via the network 4. The plurality of traffic classes correspond to traffic types having different communication requirements to be transmitted via the network 4. In this embodiment, for example, traffic including information related to storage I / O, traffic including information related to communication control via the network 4, traffic including other information, and the like can be treated as separate traffic classes.

[0015] The nonvolatile memory 32 is, for example, a NAND type flash memory. The nonvolatile memory 32 is not limited to a NAND type flash memory, and may be realized, for example, by a PCM (Phase Change Memory). In the following, a case where the nonvolatile memory 32 is realized by a NAND type flash memory will be mainly described. For this reason, in the following, the nonvolatile memory 32 will be referred to as a NAND flash.

[0016] The storage 3 includes a controller 31 and a plurality of NAND flash chips 32a, 32b, .... The storage 3 may also include a dynamic RAM (DRAM) 33. The controller 31 controls the entire storage 3. Specifically, the controller 31 executes a write process of writing data to the NAND flash 32 (the NAND flash chips 32a, 32b, ...) and a read process of reading data from the NAND flash 32 (the NAND flash chips 32a, 32b, ...) based on a write command and a read command received from the host 2 via the network 4.

[0017] The host 2 performs arithmetic processing and the like, and issues a read command or a write command to the storage 3 via the network 4 as necessary. Each of the I / O commands, such as the read command and the write command, may specify the storage location where the data to be read is stored or the storage location where the data is to be written, using a logical block address (LBA). Alternatively, each I / O command may specify the storage location where the data to be read is stored or the storage location where the data is to be written, using an address other than the LBA. The other address may be, for example, an address that can specify the storage location where the data to be read is stored or the storage location where the data is to be written with finer granularity than the LBA. Such other address may be a physical address.

[0018] Upon receiving a read command from the host 2, the controller 31 of the storage 3 reads data from the NAND flash chips 32a, 32b, ... according to the address (physical address or LBA) specified by the received read command, and transmits the read data and a response indicating the completion of the read command to the host 2 via the network 4. On the other hand, upon receiving a write command from the host 2, the controller 31 writes the write data received from the host 2 to the NAND flash chips 32a, 32b, ... according to the address (physical address or LBA) specified by the received write command, and transmits a response indicating the completion of the write command to the host 2 via the network 4. At this time, the DRAM 33 may be used to temporarily store the I / O command received from the host 2, the read data which is the data read from the NAND flash chips 32a, 32b, ..., or the write data which is the data to be written to the NAND flash chips 32a, 32b, ....

[0019] Since the storage 3 is a component of the network storage system 1, the controller 31 may transmit information relating to communication control via the network 4 to the host 2 or a network device via the network 4.

[0020] The information relating to communication control via the network 4 includes, for example, information for connecting the storage 3 to the network 4, information for disconnecting the storage 3 from the network 4, information relating to topology, etc. Hereinafter, the information relating to communication control via the network 4 is also referred to as network control related information.

[0021] Furthermore, in response to a request received from the host 2 or spontaneously, the controller 31 may transmit information indicating the state of the storage 3 to the host 2 via the network 4. Furthermore, when constructing a network, the controller 31 may notify the host 2 or the network switches and routers that are components of the namespace 4 of information regarding the storage 3.

[0022] Thus, in the network storage system 1, the information that the storage 3 transmits to the host 2 via the network 4 includes multiple types of information, such as information relating to storage I / O (read data, responses to I / O commands, etc.), network control related information such as connection / disconnection information, storage status notification, etc. In this embodiment, these types of information can be treated as several different traffic classes.

[0023] Next, a description will be given of the configuration of the controller 31. FIG 2 is a block diagram showing an example of the configuration of the controller 31.

[0024] The controller 31 includes a media access control / physical layer (MAC / PHY) unit 311, a network processing unit 312, a flash translation layer / NAND (FTL / NAND) processing unit 313, and a DRAM interface (DRAM I / F) 314.

[0025] The MAC / PHY unit 311 is a circuit for connecting to the network 4. The MAC / PHY unit 311 executes processing of the physical layer (L1) included in the OSI reference model and processing of media access control in the data link layer (L2) included in the OSI reference model. In a case where the network 4 complies with the 100 Gigabit Ethernet standard, the MAC / PHY unit 311 is connected to a network switch in the network 4 via a link that complies with the 100 Gigabit Ethernet standard.

[0026] The network processor 312 transmits information relating to storage I / O, network control related information, storage status notifications, and the like to the host 2 via the network 4 .

[0027] The FTL / NAND processing unit 313 executes logical-physical address conversion processing, write processing, read processing, etc. The logical-physical address conversion processing is processing for converting a logical address (LBA) designated by an I / O command received from the host 2 via the network 4 into a physical address of the NAND flash 32. The write processing is processing for writing data received from the host 2 to the NAND flash 32 (NAND flash chips 32a, 32b, ...) based on a write command received from the host 2 via the network 4. The read processing is processing for reading data from the NAND flash 32 (NAND flash chips 32a, 32b, ...) and transmitting the data to the host 2 based on a read command received from the host 2 via the network 4.

[0028] The DRAM interface (DRAM I / F) 314 is a circuit that executes a process of writing data to the DRAM 314 and a process of reading data from the DRAM 314 .

[0029] Next, a description will be given of the configuration of the network processing unit 312. The network processing unit 312 includes a network control unit 3121, a network receiving unit 3122, and a network transmitting unit 3123.

[0030] The network control unit 3121 controls the entire network processing unit 312 .

[0031] The network receiver 3122 analyzes the frames received by the PHY / MAC unit 311 and classifies the received frames into any of the following: frames related to read / write commands, frames related to write data, frames related to network control related information, etc. Then, based on the result of this classification, the network receiver 3122 sends the received frames to either the network controller 3121 or the FTL / NAND processor 313.

[0032] The network transmitting unit 3123 executes a process of receiving read data from the FTL / NAND processing unit 313, and a process of receiving a response to an I / O command or network control related information from the network control unit 3121. Furthermore, the network transmitting unit 3123 generates a frame (Ethernet frame) based on the received information (read data, response, or network control related information), and sends the generated frame to the MAC / PHY unit 311 as a transmission network frame. The frame generated by the network transmitting unit 3123 includes a header including a destination MAC address and a source MAC address, variable length information, and a frame check sequence.

[0033] Network control unit 3121 sends network control related information and a response indicating completion of the I / O command to network transmission unit 3123. In FIG. 2, this information sent from network control unit 3121 to network transmission unit 3123 is shown to be temporarily stored in one FIFO, for example, FIFO 31232a, in network transmission unit 3123, but this information may be stored in several FIFOs in network transmission unit 3123.

[0034] The FTL / NAND processing unit 313 transmits read data read from the NAND flash 32 (NAND flash chips 32a, 32b, . . . ) to the network transmission unit 3123. In FIG. 2, the read data transmitted from the FTL / NAND processing unit 313 to the network transmission unit 3123 is shown to be temporarily stored in a plurality of FIFOs, for example, FIFOs 31232b to 31232d, in the network transmission unit 3123, but the read data may be stored in a single FIFO in the network transmission unit 3123.

[0035] In addition, when the read data (or network control related information) is stored in multiple FIFOs, the FIFO in which the data to be transmitted (read data or network control related information) should be stored may be selected based on the priority of the data to be transmitted (read data or network control related information).

[0036] In the example described here, data and commands are directly transferred between the network processing unit 312 and the FTL / NAND processing unit 313. However, if the capacity of an internal buffer (not shown) or the capacity of the FIFOs in the network transmission unit 3123 is insufficient, the DRAM 314 may be used as an intermediate buffer for temporarily storing data and commands.

[0037] The network transmitting unit 3123 includes the above-mentioned FIFOs 31232a to 31232d and an ETS arbiter 31233. The ETS arbiter 31233 functions as a transmission control circuit that transmits frames belonging to each of a plurality of traffic classes to an external device (the host 2 or a network device) via the network 4.

[0038] More specifically, the ETS arbiter 31233 selects one of the FIFOs 31232a to 31232d, reads information from the selected FIFO, and transmits the read information to the MAC / PHY unit 311 as a frame to be transmitted to an external device (the host 2 or a network device). The ETS arbiter 31233 handles one FIFO as one traffic class. Information having different communication requirements is treated as different traffic classes. For example, a group of frames for transmitting information related to storage I / O including at least read data read from the NAND flash 32 is treated as one traffic class. Also, a group of frames for transmitting information related to network control is treated as another traffic class.

[0039] The ETS arbiter 31233 selects one of the multiple FIFOs so as to satisfy a target transmission throughput based on a preset target transmission throughput for each traffic class. The ETS arbiter 31233 then reads information from the selected FIFO, generates a frame based on the read information, and sends the generated frame to the MAC / PHY unit 311 as a transmission network frame, thereby performing arbitration processing that satisfies the ETS standard defined by IEEE 802.1.

[0040] As described above, in the example shown in FIG. 2, a group of frames for transmitting information related to storage I / O, including read data, is treated as one of a plurality of traffic classes, and a group of frames for transmitting network control-related information is treated as another of a plurality of traffic classes.

[0041] In addition, not only read data, but both frame groups for transmitting responses to I / O commands and frame groups for transmitting read data may be treated as a traffic class for transmitting information related to storage I / O.

[0042] The target transmission throughput for each traffic class is referred to as a bandwidth. That is, based on the bandwidth allocated to each traffic class, the ETS arbiter 31233 performs an arbitration process to allow each traffic class to use its allocated bandwidth.

[0043] The bandwidth allocated to each traffic class is expressed as a percentage of the total available bandwidth in network 4. The available bandwidth in network 4 is also referred to as link bandwidth. For example, in the case where 100 Gigabit Ethernet is used as network 4, the total available bandwidth (maximum transmission throughput) in network 4 is 100 Gbit / s.

[0044] Here, assume that the total available bandwidth (maximum transmission throughput) is 100 Gbit / s, a bandwidth of 60% of the maximum transmission throughput is assigned to a traffic class including frames for transmitting information related to storage I / O, and a bandwidth of 40 percent of the maximum transmission throughput is assigned to a traffic class including frames for transmitting information related to network control. In this case, an arbitration process is executed to enable the traffic class including frames for transmitting information related to storage I / O to use a bandwidth (transmission throughput) of 60 Gbit / s, and to enable the traffic class including frames for transmitting information related to network control to use a bandwidth (transmission throughput) of 40 Gbit / s. Details of the arbitration process will be described later.

[0045] 3 is a circuit diagram showing an example of the configuration of the transmission control circuit (ETS arbiter 31233) according to the first embodiment provided in the controller 31.

[0046] The ETS arbiter 31233 in the first embodiment includes an arbiter circuit 101, AND circuits 102a to 102d, counters 103a to 103d, and comparison circuits 104a to 104d.

[0047] The arbiter circuit 101 receives data input from the FIFOs 31232a to 31232d, selects one piece of data from the received data, and outputs the selected piece of data to the MAC / PHY unit 311.

[0048] The AND circuits 102a to 102d correspond to the FIFOs 31232a to 31232d, respectively. Each of the AND circuits 102a to 102d outputs a signal indicating the logical product of a VALID signal and a READY signal transmitted between the corresponding FIFO 31232 and the arbiter circuit 101.

[0049] The counters 103a to 103d correspond to the FIFOs 31232a to 31232d, respectively. Each of the counters 103a to 103d includes a counter register. Each of the counters 103a to 103d increments or decrements a counter value, which is a value of the internal counter register, in accordance with the setting from the network control unit 3121 and the output signal of the corresponding AND circuit 102.

[0050] The comparator circuits 104a to 104d correspond to the FIFOs 31232a to 31232d, respectively. When the corresponding counter value is not 0, each of the comparator circuits 104a to 104d outputs a signal for internally masking a transmission request from the corresponding FIFO 31232, i.e., a VALID signal. Here, internally masking a VALID signal means that the VALID signal is treated as not being asserted in the arbiter circuit 101. The VALID signal itself input from each FIFO to the input port is not masked.

[0051] The transfer of one frame of data from each of the FIFOs 31232a to 31232d to the arbiter circuit 101 takes one or more clock cycles using the DATA bus. Each of the FIFOs 31232a to 31232d sets a VALID signal to a high level when there is data to be transmitted in that FIFO, i.e., when the signal on the DATA bus is valid, and sets the VALID signal to a low level when there is no data to be transmitted in that FIFO, i.e., when the signal on the DATA bus is invalid.

[0052] The arbiter circuit 101 sets the READY signal to a high level when it can receive a signal on the DATA bus, and sets the READY signal to a low level when it cannot receive a signal on the DATA bus. Each of the FIFOs 31232a to 31232d also asserts a LAST signal when transferring the last data of a frame to the arbiter circuit 101. This allows the arbiter circuit 101 to know the timing at which the last data of one frame and the first data of the next frame will be input. Here, the set of the DATA bus, LAST signal, VALID signal, and READY signal is called an "input port."

[0053] In FIG. 3, the arbiter circuit 101 has input ports in1 to in4 connected to the FIFOs 31232a to 31232d, respectively. The arbiter circuit 101 performs arbitration to select one of the input ports in1 to in4 based on the logic level of a VALID signal output from each of the FIFOs 31232a to 31232d and a transmission request mask, which will be described later, and transfers data from the selected input port as a transmission frame to the MAC / PHY unit 311 via the output port out. The arbiter circuit 101 performs arbitration assuming that there is no transmission request from the FIFO 31232 corresponding to the input port for which the transmission request mask is asserted. For example, even if the VALID signal of the input port in1 is High, if the mask signal from the comparison circuit 104a is High, the arbiter circuit 101 treats it as if there is no transmission request from the FIFO 31232a to the input port in1.

[0054] In this embodiment, when there are transmission requests to multiple input ports (i.e., when the VALID signals to multiple input ports are high and the mask signals corresponding to multiple input ports are low), the arbiter circuit 101 selects one of these input ports based on the priority of each of these input ports (i.e., the priority of each traffic class). In this case, for example, the input port may be selected using fixed priority arbitration in which a fixed priority is assigned to each of the input ports in1, in2, in3, and in4, and the input port with the highest priority is selected from among the input ports for which there are transmission requests. Alternatively, one of the input ports for which there are transmission requests may be selected using a round robin algorithm that rotates the priority of each input port each time an input port is selected.

[0055] The operations of the AND circuits 102a to 102d, the counters 103a to 103d, and the comparison circuits 104a to 104d will be described below.

[0056] Each of the AND circuits 102a to 102d outputs a logical product signal of the VALID signal of the corresponding input port and the READY signal of the corresponding input port. A clock cycle in which the output signal (logical product signal) of the AND circuit 102a is high indicates that the transfer of data on the DATA bus from the FIFO 31232a to the arbiter circuit 101 has been established.

[0057] Similarly, a clock cycle in which the output signal (logical product signal) of the AND circuit 102b is high indicates that the transfer of data on the DATA bus from the FIFO 31232b to the arbiter circuit 101 has been successful.

[0058] Similarly, a clock cycle in which the output signal (logical product signal) of the AND circuit 102c is high indicates that the transfer of data on the DATA bus from the FIFO 31232c to the arbiter circuit 101 has been successful.

[0059] Similarly, a clock cycle in which the output signal (logical product signal) of the AND circuit 102d is high indicates that the transfer of data on the DATA bus from the FIFO 31232d to the arbiter circuit 101 has been successful.

[0060] Each of the counters 103a to 103d controls the counter value using the counter setting from the network control unit 3121 and the output signal of the corresponding AND circuit. The counter setting from the network control unit 3121 is used to set two types of values: a counter increment coefficient and a counter decrement coefficient. The counter increment coefficient is also called a counter increment value. The counter decrement coefficient is also called a counter decrement value.

[0061] Two types of counter values ​​(counter increment coefficient and counter decrement coefficient) are set for each input port, i.e., for each traffic class. The counter increment coefficient and counter decrement coefficient corresponding to each input port are calculated from the target transmission throughput (bandwidth) assigned to each traffic class by a method described later.

[0062] The initial value of the counter register included in each of the counters 103a to 103d is set to 0. When the output signal of the corresponding AND circuit is High, that is, while one frame is being transmitted from the corresponding input port, each of the counters 103a to 103d increments the value of the counter register (counter value) by a counter increment coefficient every clock cycle.

[0063] Furthermore, each of counters 103a to 103d subtracts the counter value by the counter decrement coefficient every clock cycle when the output signal of the corresponding AND circuit is Low, that is, while no frames are being transmitted from the corresponding input port. However, if the value obtained by subtracting the counter decrement coefficient from the counter value is less than 0, each of counters 103a to 103d sets the counter value to 0. In other words, while no frames are being transmitted from the corresponding input port, if the counter value would be less than 0 if the counter value were decremented by the counter decrement coefficient, the counter value is set to 0, and if the counter value would be 0 or greater if the counter value were decremented by the counter decrement coefficient, the counter value is decremented by the counter decrement coefficient.

[0064] The counter value of the corresponding counter 103 is input to each of the comparison circuits 104a to 104d. If the counter value of the corresponding counter 103 is not 0, each of the comparison circuits 104a to 104d sets a signal (transmission request mask signal) for internally masking the VALID signal of the corresponding input port to High. For example, when the transmission request mask signal from the comparison circuit 104a is High, the arbiter circuit 101 treats the input port in1 as not requesting transmission of a frame, that is, as having no transmission request from the input port in1, even if the VALID signal of the input port in1 is High. When the counter value of the corresponding counter 103 is 0, each of the comparison circuits 104a to 104d maintains the signal for internally masking the VALID signal of the corresponding input port at Low. When the signal for internally masking a certain VALID signal is Low, the arbiter circuit 101 treats the VALID signal as having a transmission request from the input port corresponding to the VALID signal if the VALID signal is High.

[0065] Next, a description will be given of the operation of the ETS arbiter 31233. Fig. 4 is a timing chart showing the operation of the ETS arbiter 31233 according to the first embodiment.

[0066] For ease of explanation, FIG. 4 shows a case where transmission requests are issued from two FIFOs (FIFOs 31232a and 31232b) to two input ports (input port in1 and input port in2) of the arbiter circuit 101. The graph at the top of FIG. 4 shows the change in the counter value of counter 103a. The graph at the bottom of FIG. 4 shows the change in the counter value of counter 103b. The horizontal axis in each graph indicates time, that is, the clock cycle number. A clock cycle is the cycle of the clock signal input to the ETS arbiter 31233. One clock cycle represents a predetermined period. The vertical axis in each graph indicates the counter value of the corresponding counter.

[0067] Also, the states of the VALID signal, LAST signal, and READY signal for input port in1 are shown below the upper graph in Fig. 4, and the states of the VALID signal, LAST signal, and READY signal for input port in2 are shown below the lower graph in Fig. 4. In the following, a clock cycle will simply be referred to as a cycle.

[0068] In cycles 0 to 2, the VALID signals of both the input ports in1 and in2 are low, so that there is no traffic class (FIFO) requesting frame transmission. Therefore, the arbiter circuit 101 of the ETS arbiter 31233 does not select either of the input ports in1 and in2.

[0069] In cycle 3, the VALID signal of the input port in1 changes to High. On the other hand, the VALID signal of the input port in2 is maintained at Low. Therefore, the arbiter circuit 101 determines that only the traffic class (FIFO) corresponding to the input port in1 is requesting frame transmission. The arbiter circuit 101 sets the READY signal corresponding to the input port in1 to High in cycle 4 to give transmission permission to the input port in1, thereby starting transmission of one frame on the input port in1 side in cycle 4. That is, the arbiter circuit 101 selects the traffic class (FIFO) corresponding to the input port in1, and transmits one frame belonging to the selected traffic class (FIFO) to the host 2 (or a network device) through the MAC / PHY unit 311. The number of clock cycles required to transmit one frame depends on the frame size.

[0070] During the period when one frame is being transmitted from the input port in1, that is, from cycle 4 to cycle 13, the counter value of the counter 103a of the input port in1 is incremented by the counter increment coefficient corresponding to the traffic class (FIFO 31232a) of the input port in1 every cycle. In cycle 6, during the transmission of a frame from the input port in1, the VALID of the input port in2 becomes High. This notifies the arbiter circuit 101 that the traffic class (FIFO 31232b) corresponding to the input port in2 is requesting the transmission of a frame. However, since the transmission of one frame from the input port in1 has not been completed, the arbiter circuit 101 does not perform arbitration processing, but keeps the READY signal of the input port in1 High, and continues the transmission of one frame from the input port in1.

[0071] In cycle 13, if the LAST signal of input port in1 changes to High while the VALID signal of input port in1 is High, the arbiter circuit 101 recognizes that the data being transmitted in cycle 13 is the last data of the frame being transmitted. Therefore, transmission of one frame on the input port in1 side ends in cycle 13.

[0072] When transmission of one frame from the input port in1 is completed in cycle 13, the arbiter circuit 101 performs arbitration processing in cycle 14 to select the input port to which the next transmission is to be made.

[0073] In cycle 14, since both the VALID signal of input port in1 and the VALID signal of input port in2 are High, both the traffic class of input port in1 (FIFO 31232a) and the traffic class of input port in2 (FIFO 31232b) are requesting frame transmission. However, since the counter value of counter 103a of input port in1 is not 0, arbiter circuit 101 treats input port in1 as having no transmission request. Therefore, only the transmission request of in2 is valid, and input port in2 is selected. In this case, arbiter circuit 101 sets the READY signal of input port in2 to High in cycle 15, thereby starting transmission of one frame from input port in2 in cycle 15.

[0074] During cycles 15 to 19 during which one frame is being transmitted from input port in2, the counter value of counter 103b of input port in2 is incremented every cycle by the counter increment coefficient corresponding to the traffic class (FIFO31232b) of input port in2.

[0075] On the other hand, while no frames are being transmitted from the input port in1 (transmission request mask period), that is, while either or both of the VALID and READY signals of the input port in1 are low, the counter value of the counter 103a of the input port in1 is decremented every cycle by the counter decrement coefficient corresponding to the traffic class (FIFO31232a) of the input port in1. When the counter value of the counter 103a becomes 0, the counter value of the counter 103a is not decremented and is maintained at 0.

[0076] In cycle 19, the LAST signal of input port in2 goes High, completing the transmission of one frame from input port in2. In cycle 20, the VALID signal of input port in1 is High. However, because the counter value of counter 103a of input port in1 is not 0, arbiter circuit 101 treats this as meaning that there is no transmission request from input port in1. As a result, arbiter circuit 101 does not set READY of input port in1 to High, and does not start transmitting a frame from input port in1.

[0077] While no frames are being transmitted from the input port in2, that is, while either or both of the VALID and READY signals of the input port in2 are low, the counter value of the counter 103b of the input port in2 is decremented by the counter decrement coefficient corresponding to the traffic class (FIFO31232b) of the input port in2 every cycle. When the counter value of the counter 103b becomes 0, the counter value of the counter 103b is not decremented and is maintained at 0.

[0078] In cycle 23, the counter value of counter 103a of input port in1 reaches 0. In cycle 23, the arbiter circuit 101 executes arbitration processing. In cycle 23, the value of counter 103b of input port in2 is not 0, so it is treated as if there is no transmission request from input port in2, regardless of the VALID signal. Therefore, the arbiter circuit 101 selects input port in1, and from cycle 24, it sets the READY signal of input port in1 to High to start transmitting one frame from the input port in1 side.

[0079] In this way, while a frame belonging to a certain traffic class is being transmitted (i.e., while the VALID signal and the READY signal are both high), the ETS arbiter 31233 increments the counter value of the counter corresponding to this traffic class by the counter increment coefficient corresponding to this traffic class every cycle.

[0080] Furthermore, while no frames belonging to a certain traffic class are being transmitted (that is, while either or both of the VALID and READY signals are low), the ETS arbiter 31233 decrements the counter value of the counter corresponding to this traffic class by the counter decrement coefficient corresponding to this traffic class for each cycle until the counter value of the counter corresponding to this traffic class becomes 0. If the counter value is not 0, the arbiter circuit 101 performs arbitration processing after treating it as if there is no transmission request from the corresponding input port.

[0081] In this way, the arbiter circuit 101 selects a traffic class for which the counter value is 0 from among the traffic classes requesting the transmission of a frame as the traffic class to be transmitted, and transmits the frame belonging to the selected traffic class to be transmitted to an external device via the network 4.

[0082] Next, the relationship between the ratio between the counter increment factor and the counter decrement factor and the bandwidth (transmission throughput) will be described.

[0083] Fig. 5 is a diagram showing an example of the relationship between the ratio between the counter increment coefficient and the counter decrement coefficient set for a traffic class and the bandwidth (transmission throughput) allocated to this traffic class. Fig. 5 shows a case where the ratio between the counter increment coefficient and the counter decrement coefficient is 1:1.

[0084] Considering the case where transmission requests from the FIFO continue without interruption, if the counter increment coefficient and counter decrement coefficient are equal to each other, the time (number of cycles) until the counter value counted up during the transmission of one frame returns to 0 (= period during which transmission requests are masked) is equal to the time (number of cycles) taken to transmit that frame. Therefore, the bandwidth (transmission throughput) assigned to the traffic class corresponding to this input port is limited to 50% of the entire available bandwidth of network 4 (maximum transmission throughput).

[0085] Fig. 6 is a diagram showing another example of the relationship between the ratio between the counter increment coefficient and the counter decrement coefficient set for a traffic class and the bandwidth (transmission throughput) allocated to this traffic class, where the ratio between the counter increment coefficient and the counter decrement coefficient is 4:1.

[0086] Considering the case where transmission requests from the FIFO continue uninterrupted, if the ratio of the counter increment coefficient to the counter decrement coefficient is 4:1, the time (number of cycles) until the counter value counted up during transmission returns to 0 (= period during which the transmission request is masked) will be four times the time (number of cycles) taken to transmit that frame. Therefore, the bandwidth (transmission throughput) allocated to the traffic class corresponding to this input port will be limited to 20% of the total available bandwidth of network 4 (maximum transmission throughput).

[0087] In this way, a counter increment coefficient greater than 0 and a counter decrement coefficient greater than 0 are set for each traffic class based on the bandwidth (target transmission throughput) allocated to each traffic class. This makes it possible to execute arbitration processing (transmission selection control) for selecting the traffic class to be the next transmission target while limiting the bandwidth available to each traffic class, with a simple circuit configuration in which the counter values ​​of multiple counters associated with multiple traffic classes in a one-to-one relationship are incremented and decremented.

[0088] Next, an operation for setting the ratio between the counter increment coefficient and the counter decrement coefficient will be described. Fig. 7 is a diagram for explaining an example of an operation for setting the ratio between the counter increment coefficient and the counter decrement coefficient corresponding to a certain traffic class.

[0089] In Figure 7, the counter increment coefficient is S1, the counter decrement coefficient is S2, the frame transmission period is a, and the transmission request mask period is b. If the height of the triangle in Figure 7 is h, then S1 corresponds to the slope of the side connecting vertices P1 and P2 of the triangle, and S2 corresponds to the slope of the side connecting vertices P2 and P3 of the triangle. Therefore, S1 and S2 can be expressed by the following equations.

[0090] S1=h / a, S2=h / b…(Formula 1) Solving equation 1 for a and b, we get a=h / S1, b=h / S2…(Formula 2) It becomes.

[0091] If the ratio between the maximum throughput and the target transmission throughput of the traffic class is Transmit Rate (Rt), the Transmit Rate (Rt) can be expressed by the following formula.

[0092] Transmit Rate (RT) = a / (a+b) =(h / S1) / {(h / S1)+(h / S2)} =1 / {1+(S1 / S2)} =S2 / (S1+S2) In this way, the transmit rate (RT) is expressed as a function of the counter increment coefficient S1 and the counter decrement coefficient S2. Therefore, by adjusting the values ​​of the counter increment coefficient S1 and the counter decrement coefficient S2, any RT can be obtained.

[0093] Therefore, the ETS arbiter 31233 or the network control unit 3121 sets the counter increment value S1 and the counter decrement value S2 corresponding to each of the multiple traffic classes so as to satisfy X=S2 / (S1+S2), where the total available bandwidth of the network (maximum transmission throughput) is 1, the bandwidth (target transmission throughput) allocated to each of the multiple traffic classes is X, which is a value greater than 0 and less than 1, the counter increment value set for each traffic class is S1, and the counter decrement value set for each traffic class is S2. This makes it possible to execute arbitration processing for selecting the next traffic class to be transmitted while limiting the bandwidth available to each traffic class, with simple control of incrementing and decrementing the counter value corresponding to each traffic class and selecting a traffic class with a counter value of 0 among traffic classes requesting frame transmission as the traffic class to be transmitted.

[0094] It is also possible to execute arbitration processing by using a configuration in which a transmission amount measurement unit measures the amount of transmission data and feeds back the measured amount of transmission data to the band limiting unit. However, when using such a feedback type configuration, the transmission amount measurement unit needs to have (1) a function for analyzing the transmission frame and extracting the traffic class number from each transmission frame in order to determine which traffic class the transmission frame belongs to, (2) a function for determining the size of each transmitted frame and calculating the total transmitted frame size, and (3) a function for calculating the time average of the transmitted frame size, etc., which results in an increase in circuit scale and cost.

[0095] On the other hand, in the first embodiment, the bandwidth available to each traffic class can be limited by a simple circuit configuration that increments and decrements the counter value corresponding to each traffic class. Therefore, there is no need to provide a function for analyzing a transmission frame, a function for determining the size of each transmitted frame and calculating the total transmitted frame size, a function for calculating the time average of transmitted frame sizes, etc. Therefore, compared to the case where a feedback type configuration is used, arbitration processing can be performed with a simple circuit.

[0096] Second embodiment Next, a transmission control circuit (ETS arbiter) according to the second embodiment will be described. The ETS arbiter 31233 according to the first embodiment selects a traffic class with a counter value of 0 as a traffic class to be transmitted from among traffic classes requesting frame transmission, but the ETS arbiter 31233 according to the second embodiment selects a traffic class with a minimum counter value as a traffic class to be transmitted from among traffic classes requesting frame transmission. With this configuration, even if the corresponding counter value is not 0, it is possible to transmit a frame belonging to the traffic class with the minimum counter value. Therefore, when the bandwidth actually used by a certain traffic class is less than the bandwidth allocated to that traffic class, the remaining bandwidth can be used to transmit a frame belonging to another traffic class.

[0097] That is, in the arbiter 31233 of the first embodiment, a counter increment coefficient S1 and a counter decrement coefficient S2 are specified for each input port (traffic class), so that frame transmission is not performed beyond the target throughput set for each input port (traffic class). In the ETS standard, when the total transmission throughput to be transmitted by each traffic class is less than the maximum transmission throughput, and thus there is a margin in the entire available bandwidth, each traffic class may transmit frames beyond its target throughput. In the second embodiment, an example of the configuration of an ETS arbiter will be described that enables each traffic class to transmit a frame group according to its target throughput when there is no margin in the entire available bandwidth, and enables another traffic class to transmit a frame group beyond its target throughput only when the bandwidth actually used by a certain traffic class is less than the bandwidth allocated to that traffic class, and thus there is a margin in the entire available bandwidth.

[0098] FIG. 8 is a circuit diagram showing an example of the configuration of the transmission control circuit (ETS arbiter 31233) according to the second embodiment.

[0099] The ETS arbiter 31233 according to the second embodiment includes an arbiter circuit 111, AND circuits 102a-102d, counters 103a-103d, and a sort circuit 114. The AND circuits 102a-102d and counters 103a-103d are the same as the AND circuits 102a-102d and counters 103a-103d in the first embodiment, and therefore a description thereof will be omitted here. However, the upper limit of the counter value of each of the counters 103a-103d is limited, and if the counter value of a certain counter exceeds the upper limit value when the counter increment coefficient is added to the counter value, the counter value is maintained at the upper limit value.

[0100] The arbiter circuit 111 selects one of the input ports in1 to in4 based on the VALID signals from the FIFOs 31232a to 31232d and the counter ranking, which will be described later, and outputs data of the selected input port to the MAC / PHY unit 311 via the output port out. At this time, the arbiter circuit 111 selects the input port with the smallest counter value among the input ports for which the VALID signal is asserted. If there are multiple input ports with the smallest counter value among the input ports for which the VALID signal is asserted, the arbiter circuit 111 selects one of these input ports based on the priority of each of the input ports with the smallest counter value (i.e., the priority of each traffic class). In this case, the input port may be selected using fixed priority arbitration, in which a fixed priority is assigned to each of the input ports in1, in2, in3, and in4, and the input port with the highest priority is selected from among several input ports with the smallest counter values. Alternatively, a round robin algorithm may be used to select one of several input ports with the smallest counter value, rotating the priority of each input port each time an input port is selected.

[0101] The sort circuit 114 compares and sorts the counter values ​​of the counters 103a to 103d, and outputs to the arbiter circuit 111 a counter ranking indicating the smallest counter value corresponding to each input port.

[0102] The arbiter circuit 111 uses this counter ranking and the VALID signal of each input port to execute arbitration processing to select the input port with the smallest counter value from among the input ports requesting frame transmission.

[0103] Next, a description will be given of the operation of the ETS arbiter 31233 according to the second embodiment. Fig. 9 is a timing chart showing the operation of the ETS arbiter 31233 according to the second embodiment.

[0104] For ease of explanation, FIG. 9 shows a case where two FIFOs (FIFOs 31232a and 31232b) issue transmission requests to two input ports (input port in1 and input port in2) of the arbiter circuit 111. The graph at the top of FIG. 9 shows the change in the counter value of counter 103a. The graph at the bottom of FIG. 9 shows the change in the counter value of counter 103b. The horizontal axis in each graph indicates time, that is, the clock cycle number. The vertical axis in each graph indicates the counter value of the corresponding counter.

[0105] In addition, the states of the VALID signal, LAST signal, and READY signal for input port in1 are shown below the upper graph in Figure 9, and the states of the VALID signal, LAST signal, and READY signal for input port in2 are shown below the lower graph in Figure 9.

[0106] In cycles 0 to 2, the VALID signals of both the input ports in1 and in2 are low, so that there is no traffic class (FIFO) requesting frame transmission. Therefore, the arbiter circuit 111 of the ETS arbiter 31233 does not select either of the input ports in1 and in2.

[0107] In cycle 3, the VALID signal of the input port in1 changes to High. On the other hand, the VALID signal of the input port in2 is maintained at Low. Therefore, the arbiter circuit 111 determines that only the traffic class (FIFO) corresponding to the input port in1 is requesting frame transmission. The arbiter circuit 111 sets the READY signal corresponding to the input port in1 to High in cycle 4 to give transmission permission to the input port in1, and starts transmission of one frame from the input port in1 side in cycle 4. That is, the arbiter circuit 111 selects the traffic class (FIFO) corresponding to the input port in1, and transmits one frame belonging to the selected traffic class (FIFO) to the host 2 (or a network device) through the MAC / PHY unit 311. The number of clock cycles required to transmit one frame depends on the frame size.

[0108] During the period when one frame is being transmitted from the input port in1, that is, from cycle 4 to cycle 13, the counter value of the counter 103a of the input port in1 is incremented by the counter increment coefficient corresponding to the traffic class (FIFO 31232a) of the input port in1 every cycle. In cycle 6, during the transmission of a frame from the input port in1, the VALID of the input port in2 becomes High. This notifies the arbiter circuit 111 that the traffic class (FIFO 31232b) corresponding to the input port in2 is requesting the transmission of a frame. However, since the transmission of one frame from the input port in1 has not been completed, the arbiter circuit 111 does not perform arbitration processing, but keeps the READY signal of the input port in1 High, and continues the transmission of one frame from the input port in1.

[0109] In cycle 13, if the LAST signal of input port in1 changes to High while the VALID signal of input port in1 is High, the arbiter circuit 111 recognizes that the data being transmitted in cycle 13 is the last data of the frame being transmitted. Therefore, transmission of the frame from input port in1 in cycle 13 ends.

[0110] When the transmission of the frame from input port in1 is completed in cycle 13, the arbiter circuit 111 performs arbitration processing to select the input port to be the next transmission target in cycle 14. In cycle 14, both the VALID signal from input port in1 and the VALID signal from input port in2 are high. Therefore, both the traffic class (FIFO 31232a) of input port in1 and the traffic class (FIFO 31232b) of input port in2 are requesting the transmission of a frame.

[0111] In this case, the arbiter circuit 111 selects the traffic class with the smallest counter value from among the traffic classes requesting frame transmission. Here, the counter value of counter 103b corresponding to the traffic class (FIFO31232b) of input port in2 is the smallest counter value. Therefore, the arbiter circuit 111 selects input port in2. The arbiter circuit 111 sets the READY signal of input port in2 to High from cycle 15, and starts transmission of one frame from input port in2 from cycle 15.

[0112] During cycles 15 to 19 when one frame is being transmitted from the input port in2, the counter value of the counter 103b of the input port in2 is incremented by the counter increment coefficient corresponding to the traffic class (FIFO31232b) of the input port in2 every cycle.

[0113] On the other hand, while no frames are being transmitted from the input port in1, that is, while either or both of the VALID and READY signals of the input port in1 are low, the counter value of the counter 103a of the input port in1 is decremented every cycle by the counter decrement coefficient corresponding to the traffic class (FIFO31232a) of the input port in1. When the counter value of the counter 103a becomes 0, the counter value of the counter 103a is not decremented and is maintained at 0.

[0114] In cycle 19, the LAST signal of input port in2 goes high, completing the transmission of one frame from input port in2.

[0115] In cycle 20, the VALID signal of input port in1 is High, and the VALID signal of input port in2 is Low. Therefore, the arbiter circuit 111 selects the input port in1, and starts transmission of one frame from the input port in1 side in cycle 21. After that, during the period from cycle 21 to cycle 30 during which the frame from the input port in1 side is being transmitted, the counter value of the counter 103a of the input port in1 is incremented by the counter increment coefficient corresponding to the traffic class (FIFO31232a) of the input port in1 every cycle.

[0116] On the other hand, while no frames are being transmitted from the input port in2, that is, while either or both of the VALID and READY signals of the input port in2 are low, the counter value of the counter 103b of the input port in2 is decremented in each cycle by the counter decrement coefficient corresponding to the traffic class (FIFO31232b) of the input port in2. When the counter value of the counter 103b becomes 0, the counter value of the counter 103b is not decremented and is maintained at 0.

[0117] Then, in cycle 30, the transmission of the frame on the input port in1 side is completed. In the next cycle 31, since both the VALID signal of the input port in1 and the VALID signal of the input port in2 are High, both the FIFO 31232a and the FIFO 31232b are requesting the transmission of a frame. The counter value of the counter 103b corresponding to the input port in2 is smaller than the counter value of the counter 103a corresponding to the input port in1. Therefore, the arbiter circuit 111 selects the input port in2. In cycles 32 to 36, the frame on the input port in2 side is transmitted. Therefore, in the period from cycle 32 to cycle 36, the counter value of the counter 103b of the input port in2 is increased by the counter increase coefficient corresponding to the traffic class (FIFO 31232b) of the input port in2 in each cycle. On the other hand, the counter value of the counter 103a of the input port in1 is decreased by the counter decrease coefficient corresponding to the traffic class (FIFO 31232a) of the input port in1 in each cycle.

[0118] Then, in cycle 36, the transmission of one frame on the input port in2 side is completed. In the next cycle 37, since both the VALID signal of the input port in1 and the VALID signal of the input port in2 are High, both the FIFO 31232a and the FIFO 31232b are requesting the transmission of a frame. The counter value of the counter 103a of the input port in1 is smaller than the counter value of the counter 103b of the input port in2. Therefore, the arbiter circuit 111 selects the input port in1. Then, in cycle 38, the arbiter circuit 111 sets the READY signal of the input port in1 to High, and starts the transmission of one frame on the input port in1 side in cycle 38.

[0119] In this way, while a frame belonging to a certain traffic class is being transmitted (i.e., while the VALID signal and the READY signal are both high), the ETS arbiter 31233 increments the counter value of the counter corresponding to this traffic class by the counter increment coefficient corresponding to this traffic class every cycle.

[0120] Furthermore, while no frames belonging to a certain traffic class are being transmitted (i.e., while either or both of the VALID and READY signals are low), the ETS arbiter 31233 decrements the counter value of the counter corresponding to this traffic class by the counter decrement coefficient corresponding to this traffic class for each cycle until the counter value of the counter corresponding to this traffic class becomes 0. Then, the traffic class with the smallest counter value among the traffic classes requesting frame transmission is selected as the traffic class to be transmitted, and the frames belonging to the selected traffic class are transmitted to an external device via the network 4.

[0121] In the second embodiment, the counter increment coefficient S1 and counter decrement coefficient S2 are set for each traffic class based on the bandwidth allocated to each traffic class using the same method as in the first embodiment. Therefore, by performing arbitration processing in which the traffic class with the smallest counter value among the traffic classes requesting frame transmission is selected as the traffic class to be transmitted, when the bandwidth actually used by a certain traffic class is less than the bandwidth allocated to that traffic class, the surplus bandwidth can be effectively used for transmitting frames belonging to another traffic class.

[0122] In other words, when there is not enough overall available bandwidth, each traffic class is allowed to transmit frames according to its target throughput, and only when the bandwidth actually used by a traffic class is less than the bandwidth allocated to that traffic class, thereby leaving some room for the overall available bandwidth, other traffic classes are allowed to transmit frames beyond their target throughput.

[0123] However, if a traffic class is selected many times as a traffic class to be transmitted before the counter value corresponding to the traffic class becomes zero, the counter value corresponding to the traffic class becomes large. Considering that a counter circuit using a finite number of bits is used as a counter, there is an upper limit to the counter value. Therefore, if a traffic class is selected frequently, the counter value corresponding to the traffic class may become saturated, as shown in FIG. 10.

[0124] In such a state, the relationship between the magnitudes of the counter values ​​of the input ports (traffic classes) may be lost. This is because, if there is no upper limit to the counter value corresponding to a certain traffic class, the counter value will increase to an original value that is larger than the upper limit and will start to decrease from that original value, whereas if there is an upper limit to the counter value, the counter value will be maintained at an upper limit value that is smaller than the original value and will start to decrease from that upper limit value.

[0125] When the total throughput of the multiple traffic classes exceeds the maximum transmission throughput, the magnitude relationship between the multiple counter values ​​can be gradually restored to an appropriate relationship. However, once a counter value is saturated, it may take a long time for the magnitude relationship between the multiple counter values ​​to be restored to an appropriate relationship.

[0126] In the following third and fourth embodiments, as in the second embodiment, an example configuration of an ETS arbiter will be described that can select a traffic class having a smallest counter value as a traffic class to be transmitted while incrementing and decrementing a counter based on a counter increment coefficient S1 and a counter decrement coefficient S2 that are set for each traffic class, and can suppress saturation of any counter without significantly affecting the magnitude relationship of the counter values.

[0127] Third embodiment FIG. 11 is a circuit diagram showing an example of the configuration of a transmission control circuit (ETS arbiter 31233) according to the third embodiment.

[0128] The ETS arbiter 31233 according to the third embodiment, like the ETS arbiter according to the second embodiment, executes arbitration processing to select a traffic class with the smallest counter value among traffic classes requesting frame transmission as a traffic class to be transmitted. Furthermore, when executing arbitration processing, the ETS arbiter 31233 according to the third embodiment specifies the minimum value among the counter values ​​of all counters corresponding to all traffic classes. All traffic classes include not only one or more traffic classes requesting frame transmission but also one or more other traffic classes not requesting frame transmission. Then, the ETS arbiter 31233 according to the third embodiment executes subtraction processing to decrease each of the values ​​of all counters by the specified minimum value. As a result, each time arbitration processing is executed, each of all counter values ​​is decreased by the minimum value. As a result, even if any traffic class is frequently selected as a traffic class to be transmitted, it is possible to prevent the counter of each traffic class from being saturated. As described above, the value subtracted from the counter value of each counter by the subtraction process is the smallest value among all the counter values, so that the counter value of none of the counters is reduced to a value smaller than zero. Therefore, the counter value of each counter can be reduced while maintaining the magnitude relationship between the counter values ​​of the counters.

[0129] In the arbitration process, the traffic class to be transmitted may be selected using the value of each counter after the subtraction process is performed, or the traffic class to be transmitted may be selected using the value of each counter before the subtraction process is performed, because, as described above, the magnitude relationship between the counter values ​​does not change before and after the subtraction process.

[0130] As shown in FIG. 11, the ETS arbiter 31233 according to the third embodiment includes an arbiter circuit 121, AND circuits 102a to 102d, counters 123a to 123d, and a sorting circuit .

[0131] The arbiter circuit 121 receives data input from the FIFOs 31232a to 31232d, selects one of the data, and outputs the selected data to the MAC / PHY unit 311. Basically, like the arbiter circuit 111 of the second embodiment, the arbiter circuit 121 executes arbitration processing to select a traffic class (FIFO) having a minimum counter value among traffic classes (FIFOs) requesting frame transmission as a traffic class to be transmitted. Furthermore, when executing arbitration processing, the arbiter circuit 121 issues a trigger signal to each of the counters 123a to 123d. This trigger signal is a control signal that instructs each of the counters 123a to 123d to decrease the counter value by a minimum value. Here, the minimum value is the minimum of the counter values ​​of all counters (counters 123a to 123d), that is, the minimum of the counter values ​​corresponding to all traffic classes including not only traffic classes requesting frame transmission but also traffic classes not requesting frame transmission.

[0132] The AND circuits 102a to 102d are the same as the AND circuits 102a to 102d in the first embodiment, and therefore a description thereof will be omitted here.

[0133] Basically, like the sort circuit 114 of the second embodiment, the sort circuit 124 compares and sorts the counter values ​​of the counters 123a to 123d, and outputs a counter ranking indicating the smallest counter value corresponding to each input port to the arbiter circuit 121. Furthermore, the sort circuit 124 identifies the smallest value (minimum counter value) among the counter values ​​of the counters 123a to 123d as a result of sorting the counter values ​​of the counters 123a to 123d, and notifies each of the counters 123a to 123d of the identified minimum counter value.

[0134] The counters 123a to 123d correspond to the FIFOs 31232a to 31232d, respectively, similar to the counters 103a to 103d in the first embodiment. Each of the counters 123a to 123d includes a counter register. Each of the counters 123a to 123d increments or decrements a counter value, which is a value of the internal counter register, according to a setting from the network control unit 3121 and an output signal from the corresponding AND circuit 102. Furthermore, when a trigger signal is input from the arbiter circuit 121, each of the counters 123a to 123d subtracts a minimum counter value from the counter value, and decrements the counter value by the minimum counter value.

[0135] Next, a description will be given of the operation of the ETS arbiter 31233 according to the third embodiment. Fig. 12 is a timing chart showing the operation of the ETS arbiter 31233 according to the third embodiment.

[0136] For ease of explanation, FIG. 12 shows a case where two FIFOs (FIFOs 31232a and 31232b) issue transmission requests to two input ports (input port in1 and input port in2) of the arbiter circuit 121. The graph at the top of FIG. 12 shows the change in the counter value of counter 123a. The graph at the bottom of FIG. 12 shows the change in the counter value of counter 123b. The horizontal axis in each graph indicates time, that is, the clock cycle number. The vertical axis in each graph indicates the counter value of the corresponding counter.

[0137] In addition, the states of the VALID signal, LAST signal, and READY signal for input port in1 are shown below the graph at the top of Figure 12, and the states of the VALID signal, LAST signal, and READY signal for input port in2 are shown below the graph at the bottom of Figure 12.

[0138] In cycles 0 to 2, the VALID signals of both the input ports in1 and in2 are low, so that there is no traffic class (FIFO) requesting frame transmission. Therefore, the arbiter circuit 121 of the ETS arbiter 31233 does not select either of the input ports in1 and in2.

[0139] In cycle 3, the VALID signal of the input port in1 changes to High. On the other hand, the VALID signal of the input port in2 is maintained at Low. Therefore, the arbiter circuit 121 determines that only the traffic class (FIFO) corresponding to the input port in1 is requesting frame transmission. The arbiter circuit 121 sets the READY signal corresponding to the input port in1 to High in cycle 4 to issue a transmission permission to the input port in1, and starts transmission of one frame from the input port in1 side in cycle 4. In other words, the arbiter circuit 121 selects the traffic class (FIFO) corresponding to the input port in1, and transmits one frame belonging to the selected traffic class (FIFO) to the host 2 (or a network device) through the MAC / PHY unit 311.

[0140] During the period when one frame is being transmitted from the input port in1, that is, from cycle 4 to cycle 13, the counter value of the counter 123a of the input port in1 is incremented by the counter increment coefficient corresponding to the traffic class (FIFO 31232a) of the input port in1 every cycle. In cycle 6, during the transmission of a frame from the input port in1, the VALID of the input port in2 becomes High. This notifies the arbiter circuit 121 that the traffic class (FIFO 31232b) corresponding to the input port in2 is requesting the transmission of a frame. However, since the transmission of one frame from the input port in1 has not been completed, the arbiter circuit 121 does not perform arbitration processing, but keeps the READY signal of the input port in1 High, and continues the transmission of one frame from the input port in1.

[0141] In cycle 13, if the LAST signal of input port in1 changes to High while the VALID signal of input port in1 is High, the arbiter circuit 121 recognizes that the data being transmitted in cycle 13 is the last data of the frame being transmitted. Therefore, the transmission of the frame from input port in1 in cycle 13 ends.

[0142] When the transmission of the frame from input port in1 is completed in cycle 13, the arbiter circuit 121 performs arbitration processing to select the next input port to be transmitted from in cycle 14. In cycle 14, both the VALID signal from input port in1 and the VALID signal from input port in2 are high. Therefore, both the traffic class (FIFO 31232a) of input port in1 and the traffic class (FIFO 31232b) of input port in2 are requesting the transmission of a frame.

[0143] In this case, the arbiter circuit 121 selects the traffic class with the smallest counter value from among the traffic classes requesting frame transmission. Here, the counter value of counter 123b corresponding to the traffic class (FIFO31232b) of input port in2 is the smallest counter value. Therefore, the arbiter circuit 121 selects input port in2. The arbiter circuit 111 sets the READY signal of input port in2 to High in cycle 15, and starts transmission of one frame from input port in2 in cycle 15.

[0144] Furthermore, in cycle 14, the arbiter circuit 121 outputs a trigger signal to all counters. In cycle 15, each counter that receives the trigger signal subtracts the minimum counter value notified by the sorting circuit 124 in cycle 14 from its own counter value. The minimum counter value notified by the sorting circuit 124 is the minimum value of all counter values. In cycle 14, the minimum value of all counter values ​​(here, the counter value of counter 123b) is zero. For this reason, in reality, no subtraction process is performed in cycle 15.

[0145] During cycles 15 to 19 when one frame is being transmitted on the input port in2 side, the counter value of the counter 123b of the input port in2 is incremented every cycle by the counter increment coefficient corresponding to the traffic class (FIFO31232b) of the input port in2.

[0146] On the other hand, while no frames are being transmitted from the input port in1, that is, while either or both of the VALID and READY signals of the input port in1 are low, the counter value of the counter 123a of the input port in1 is decremented in each cycle by the counter decrement coefficient corresponding to the traffic class (FIFO31232a) of the input port in1. When the counter value of the counter 123a becomes 0, the counter value of the counter 123a is not decremented and is maintained at 0.

[0147] In cycle 19, the LAST signal of input port in2 goes high, completing the transmission of one frame from input port in2.

[0148] In cycle 20, the VALID signal of the input port in1 is High and the VALID signal of the input port in2 is Low. Therefore, the arbiter circuit 121 selects the input port in1 and starts transmission of one frame from the input port in1 in cycle 21.

[0149] In cycle 20, the arbiter circuit 121 outputs a trigger signal to each of all the counters. In cycle 21, each counter that has received the trigger signal subtracts the minimum counter value notified by the sort circuit 124 in cycle 20 from its own counter value. If the minimum value of all the counter values ​​is the counter value of counter 123a (3 in this case), in cycle 21, the counter value of each counter is decremented by 3.

[0150] In cycle 21, transmission of one frame on the input port in1 side is started. Therefore, in cycle 21, the counter value of counter 123a is once decremented by 3, and then incremented by the counter increment coefficient corresponding to the traffic class (FIFO31232a) of input port in1. For example, when the counter increment coefficient is 1, in cycle 21, the counter value of counter 123a becomes 1 (=3-3+1).

[0151] On the other hand, in cycle 21, the counter value of counter 123b is once decremented by 3, and then further decremented by the counter decrement coefficient corresponding to the traffic class (FIFO31232b) of input port in2. For example, when the counter decrement coefficient is 1, in cycle 21, the counter value of counter 123b is decremented by a total of 4.

[0152] As described above, the process of selecting the traffic class to be transmitted may be performed using the counter value after subtraction, or may be performed using the counter value before subtraction.

[0153] During cycles 21 to 30 when a frame is being transmitted from the input port in1, the counter value of the counter 123a of the input port in1 is incremented every cycle by a counter increment coefficient corresponding to the traffic class (FIFO 31232a) of the input port in1.

[0154] On the other hand, while no frames are being transmitted from the input port in2, that is, while either or both of the VALID and READY signals of the input port in2 are low, the counter value of the counter 123b of the input port in2 is decremented in each cycle by the counter decrement coefficient corresponding to the traffic class (FIFO31232b) of the input port in2. When the counter value of the counter 123b becomes 0, the counter value of the counter 123b is not decremented and is maintained at 0.

[0155] Then, in cycle 30, the transmission of the frame on the input port in1 side ends. In the next cycle 31, since both the VALID signal of the input port in1 and the VALID signal of the input port in2 are high, both the FIFO 31232a and the FIFO 31232b are requesting the transmission of a frame. The counter value of the counter 123b corresponding to the input port in2 is smaller than the counter value of the counter 123a corresponding to the input port in1. Therefore, the arbiter circuit 111 selects the input port in2.

[0156] Furthermore, in cycle 31, the arbiter circuit 121 outputs a trigger signal to all counters. In cycle 32, each counter that receives the trigger signal subtracts the minimum counter value notified by the sort circuit 124 in cycle 31 from its own counter value. In cycle 31, the minimum value of all counter values ​​(here, the counter value of counter 123b) is zero. Therefore, in cycle 32, no subtraction process is actually performed.

[0157] In cycles 32 to 36, frames are transmitted from the input port in2. Therefore, in the period from cycle 32 to cycle 36, the counter value of counter 123b of input port in2 is incremented by the counter increment coefficient corresponding to the traffic class (FIFO 31232b) of input port in2 in each cycle. On the other hand, the counter value of counter 123a of input port in1 is decremented by the counter decrement coefficient corresponding to the traffic class (FIFO 31232a) of input port in1 in each cycle.

[0158] Then, in cycle 36, the transmission of one frame on the input port in2 side is completed. In the next cycle 37, since both the VALID signal of the input port in1 and the VALID signal of the input port in2 are High, both the FIFO 31232a and the FIFO 31232b are requesting the transmission of a frame. The counter value of the counter 123a of the input port in1 is smaller than the counter value of the counter 123b of the input port in2. Therefore, the arbiter circuit 121 selects the input port in1. Then, in cycle 38, the arbiter circuit 121 sets the READY signal of the input port in1 to High, and starts the transmission of one frame on the input port in1 side in cycle 38.

[0159] In cycle 37, the arbiter circuit 121 outputs a trigger signal to each of all the counters. In cycle 38, each counter that has received the trigger signal subtracts the minimum counter value notified by the sort circuit 124 in cycle 37 from its own counter value. If the minimum value of all the counter values ​​is the counter value of counter 123a (3 in this case), in cycle 38, the counter value of each counter is decremented by 3.

[0160] In cycle 38, transmission of one frame on the input port in1 side is started. Therefore, in cycle 38, the counter value of counter 123a is once decremented by 3, and then incremented by the counter increment coefficient corresponding to the traffic class (FIFO31232a) of input port in1. For example, if the counter increment coefficient is 1, in cycle 38, the counter value of counter 123a becomes 1 (=3-3+1).

[0161] On the other hand, in cycle 38, the counter value of counter 123b is once decremented by 3, and then further decremented by the counter decrement coefficient corresponding to the traffic class (FIFO31232b) of input port in2. For example, if the counter decrement coefficient is 1, in cycle 38, the counter value of counter 123b is decremented by a total of 4.

[0162] In the ETS arbiter 31233 of the third embodiment, a counter increment coefficient S1 and a counter decrement coefficient S2 are set for each traffic class based on the bandwidth allocated to each traffic class using a method similar to that of the first and second embodiments. Also, in the ETS arbiter 31233 of the third embodiment, an arbitration process is performed to select, as the traffic class to be transmitted, a traffic class having the smallest counter value among the traffic classes requesting transmission of a frame, as in the second embodiment. As a result, in the case where the bandwidth actually used by a traffic class is less than the bandwidth allocated to the traffic class, the remaining bandwidth can be effectively used to transmit frames belonging to another traffic class, as in the second embodiment.

[0163] In other words, the ETS arbiter 31233 of the third embodiment allows each traffic class to transmit frames according to its target throughput when there is not enough bandwidth available overall, and allows other traffic classes to transmit frames beyond their target throughput only when the bandwidth actually used by a traffic class is less than the bandwidth allocated to that traffic class, thereby leaving some bandwidth available overall.

[0164] Furthermore, the ETS arbiter 31233 of the third embodiment can prevent the counters of each traffic class from becoming saturated. As a result, even if a traffic class among multiple traffic classes is frequently selected as a traffic class to be transmitted, the magnitude relationship between the multiple counter values ​​corresponding to the multiple traffic classes can be maintained in an appropriate relationship. As a result, even if there is no room in the overall available bandwidth, each traffic class can transmit frames according to its target throughput.

[0165] (Fourth embodiment) FIG. 13 is a circuit diagram showing an example of the configuration of a transmission control circuit (ETS arbiter 31233) according to the fourth embodiment.

[0166] The ETS arbiter 31233 according to the fourth embodiment, like the ETS arbiter according to the second embodiment, executes arbitration processing to select a traffic class with the smallest counter value among traffic classes requesting frame transmission as a traffic class to be transmitted. Furthermore, when the value of any of the multiple counters reaches a preset upper limit value, that is, when any of the counters is saturated, the ETS arbiter 31233 according to the fourth embodiment shifts each of the multiple counter values ​​to the right by n bits. Here, n is an integer of 1 or more. This makes it possible to suppress the collapse of the relationship between the magnitudes of the counter values, compared to the case where no countermeasure against saturation of the counter values ​​is taken. In addition, the bit shift can be easily realized without adding a special circuit. Therefore, compared to the case where a subtraction process is performed in which a certain value is subtracted from each counter value, it is possible to reduce the number of clock cycles and the required circuit size related to the arbitration process.

[0167] As shown in FIG. 13, the ETS arbiter 31233 according to the fourth embodiment includes an arbiter circuit 131, AND circuits 102a to 102d, counters 133a to 133d, and a sorting circuit .

[0168] The AND circuits 102a to 102d perform the same operations as the AND circuits 102a to 102d in the first embodiment, and therefore their description will be omitted here. Similarly, the arbiter circuit 131 basically performs the same operations as the arbiter 111 in the second embodiment, and the sorting circuit 134 basically performs the same operations as the sorting circuit 114 in the second embodiment, and therefore description of the arbiter circuit 131 and the sorting circuit 134 will be omitted.

[0169] Each of the counters 133a to 133d controls its counter value using the counter setting from the network control unit 3121 and the output signals of the AND circuits 102a to 102d. As with the counters 103a to 103d in the first embodiment, each of the counters 133a to 133d includes a counter register with an initial value of 0, and controls to increase the value of the counter register (counter value) by the counter increment coefficient when the corresponding output signal of the AND circuit 102 is High, and to decrease the value of the counter register by the counter decrement coefficient when the corresponding output signal of the AND circuit 102 is Low. However, each of the counters 133a to 133d controls to set the counter value to 0 when the value obtained by decrementing the counter value by the counter decrement coefficient falls below 0, and at the same time, shifts the counter value to the right by n (here, n is an integer of 1 or more) bits when the counter value of any counter is saturated. Each bit position vacated by the right shift operation is filled with zero. For example, assume that the bit width of each counter is 5 bits. If the current counter value of a certain counter is "11100" and n=1, this counter value will be changed from "11100" to "01110" by shifting the counter to the right by 1 bit. In other words, when each counter is shifted to the right by 1 bit, each counter value is reduced to 1 / 2 its value. Also, when each counter is shifted to the right by 2 bits, each counter value is reduced to 1 / 4 its value.

[0170] When such a bit shift is performed, the magnitude relationship of the counter values ​​may be somewhat disrupted, but the disruption of the magnitude relationship of the counter values ​​can be reduced compared to the case where no measures against counter saturation are taken.

[0171] In the ETS arbiter 31233 of the fourth embodiment, the counter increment coefficient S1 and the counter decrement coefficient S2 are set for each traffic class based on the bandwidth allocated to each traffic class using a method similar to that of the first, second, and third embodiments. Also, in the ETS arbiter 31233 of the fourth embodiment, similar to the second and third embodiments, an arbitration process is performed to select a traffic class with the smallest counter value among traffic classes requesting frame transmission as the traffic class to be transmitted. As a result, similar to the second and third embodiments, when the bandwidth actually used by a traffic class is less than the bandwidth allocated to that traffic class, the remaining bandwidth can be effectively used to transmit frames belonging to another traffic class.

[0172] In other words, the ETS arbiter 31233 of the fourth embodiment allows each traffic class to transmit frames according to its target throughput when there is not enough bandwidth available overall, and allows other traffic classes to transmit frames beyond their target throughput only when the bandwidth actually used by a traffic class is less than the bandwidth allocated to that traffic class, thereby leaving some bandwidth available overall.

[0173] Furthermore, the ETS arbiter 31233 of the fourth embodiment can prevent the counters of each traffic class from becoming saturated without performing subtraction processing. As a result, even if a traffic class among multiple traffic classes is frequently selected as a traffic class to be transmitted, the magnitude relationship between the multiple counter values ​​corresponding to the multiple traffic classes can be maintained in an appropriate relationship. As a result, even if there is no room in the overall available bandwidth, each traffic class can transmit frames according to its target throughput.

[0174] Furthermore, in the ETS arbiter 31233 of the fourth embodiment, adjustment of the counter value can be achieved by bit shifting, which provides the advantages of improving the operating frequency of the ETS arbiter 31233, reducing the number of clock cycles required for arbitration, and reducing the circuit size, compared to a configuration that uses subtraction processing.

[0175] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0176] 1...network storage system, 2...host, 3...storage (memory system), 4...network, 31...controller, 32...NAND flash memory, 31233...ETS arbiter, 101, 111, 121, 131...arbiter circuit, 102a to 102d...AND circuits, 103a to 103d, 123a to 123d, 133a to 133d...counters, 104a to 104d...comparison circuits, 114, 124, 134...sorting circuits.

Claims

1. A transmission control circuit configured to select one traffic class from a plurality of traffic classes and transmit a frame belonging to the selected traffic class to an external device via a network, a plurality of counters each corresponding to one of the plurality of traffic classes; setting a counter increment value greater than 0 and a counter decrement value greater than 0 for each traffic class based on an allocated bandwidth for each traffic class expressed as a percentage of the total available bandwidth of the network; while a frame belonging to a first traffic class selected from the plurality of traffic classes is being transmitted, a value of a first counter corresponding to the first traffic class is incremented by a first counter increment value corresponding to the first traffic class for each clock cycle; while no frames belonging to the first traffic class are being transmitted; If the value of the first counter is less than 0 when decremented by a first counter decrement value corresponding to the first traffic class, the value of the first counter is set to 0; if the value of the first counter becomes equal to or greater than 0 when the value of the first counter is decremented by the first counter decrement value, decrementing the value of the first counter by the first counter decrement value for each clock cycle; a traffic class for which the counter value is 0 is selected from among traffic classes requesting transmission of frames, and a frame belonging to the selected traffic class is transmitted to the external device via the network; Transmission control circuit.

2. When the total available bandwidth of the network is 1, the bandwidth allocated to each traffic class is X, which is a value greater than 0 and less than 1, the counter increment value set for each traffic class is S1, and the counter decrement value set for each traffic class is S2, The transmission control circuit includes: The counter increment value S1 and the counter decrement value S2 corresponding to each of the plurality of traffic classes are set so as to satisfy X=S2 / (S1+S2).

2. The transmission control circuit according to claim 1.

3. A non-volatile memory; a controller including the transmission control circuit according to claim 1 and configured to execute a write process for writing data to the non-volatile memory and a read process for reading data from the non-volatile memory based on a write command and a read command received from a host via the network; The transmission control circuit includes: a frame group for transmitting information relating to storage I / O including at least read data read from the non-volatile memory is treated as one of the plurality of traffic classes, and a frame group for transmitting information relating to communication control via the network is treated as another of the plurality of traffic classes. Memory system.

4. A transmission control circuit configured to select one traffic class from a plurality of traffic classes and transmit a frame belonging to the selected traffic class to an external device via a network, a plurality of counters each corresponding to one of the plurality of traffic classes; setting a counter increment value greater than 0 and a counter decrement value greater than 0 for each traffic class based on an allocated bandwidth for each traffic class expressed as a percentage of the total available bandwidth of the network; while a frame belonging to a first traffic class selected from the plurality of traffic classes is being transmitted, a value of a first counter corresponding to the first traffic class is incremented by a first counter increment value corresponding to the first traffic class for each clock cycle; while no frames belonging to the first traffic class are being transmitted; If the value of the first counter is less than 0 when decremented by a first counter decrement value corresponding to the first traffic class, the value of the first counter is set to 0; if the value of the first counter becomes equal to or greater than 0 when the value of the first counter is decremented by the first counter decrement value, decrementing the value of the first counter by the first counter decrement value for each clock cycle; a traffic class having a minimum counter value is selected from among traffic classes requesting transmission of frames, and a frame belonging to the selected traffic class is transmitted to the external device via the network; Transmission control circuit.

5. The transmission control circuit includes: When performing arbitration processing for selecting the traffic class having the smallest counter value from among the traffic classes requesting frame transmission, determining a minimum value among the plurality of counter values ​​corresponding to the plurality of traffic classes; and further configured to decrease each of the values ​​of the plurality of counters corresponding to the plurality of traffic classes by the determined minimum value.

5. The transmission control circuit according to claim 4.

6. The transmission control circuit includes: further configured to right-shift each of the counter values ​​by n bits when the counter value of any of the counters reaches a preset upper limit value; The n is an integer of 1 or more.

5. The transmission control circuit according to claim 4.

7. When the total available bandwidth of the network is 1, the bandwidth allocated to each traffic class is X, which is a value greater than 0 and less than 1, the counter increment value set for each traffic class is S1, and the counter decrement value set for each traffic class is S2, The transmission control circuit includes: The counter increment value S1 and the counter decrement value S2 corresponding to each of the plurality of traffic classes are set so as to satisfy X=S2 / (S1+S2).

5. The transmission control circuit according to claim 4.

Citation Information

Patent Citations

  • Frame relay device, network system, and frame relay method

    JP2012244524A

  • Packet reading control device

    JP4588558B2

  • US10,218,642

  • Output queueing with scalability for segmented traffic in a high-radix switch

    US20200412670A1