SYSTEM FOR TESTING ETHERNET PATHS AND LINKS WITHOUT IMPACTING NON-TEST TRAFFIC
20230254208 ยท 2023-08-10
Inventors
Cpc classification
International classification
Abstract
A system for testing Ethernet paths or links without adversely impacting non-test traffic. The system includes a test traffic generator that includes a scheduler that determines when a new test packet is generated. The test traffic generator includes a packet creator that builds a test packet and a transmitter for transmitting the test packet via the Ethernet path or link. The packet creator sends the test packet to the transmitter. The traffic generator includes a transmit credit block coupled to the transmitter or to the scheduler. The transmit credit block stores an amount of credits representing a number of bytes that are available to transmit and decrements the amount each time a non-test packet is communicated via the Ethernet path or link.
Claims
1. A system for testing a path in a network comprising: at least one test packet generator coupled to said path comprising: a scheduler to determine when a test packet is to be created based on an amount of non-test packets being transmitted on the path; and a packet creator to create the test packet; a transmitter to transmit the test packet on said path.
2. The system of claim 1, wherein the scheduler determines when the test packet is to be further created to achieve a pre-determined rate of transmission of said test packets.
3. The system of claim 1, wherein the pre-determined rate is selected so as to not impair non-test traffic.
4. The system of claim 1, wherein said at least one test packet generator is embedded in one of two ethernet devices coupled to said path.
5. The system of claim 1, wherein said amount of non-test packets is calculated by removing credits from a transmit credit block for each non-test packet, and wherein said transmission is delayed upon not having enough transmit credit available.
6. A method for testing a network path comprising: determining when a test packet is to be created based on an amount of non-test packets being transmitted on the path; and creating and transmitting said test packet on said path.
7. The method of claim 6, wherein said determining when the test packet is to be created is further based on achieving a pre-determined rate of transmission of said test packets.
8. The method of claim 7, wherein the pre-determined rate is selected so as to not impair non-test traffic.
9. The method of claim 6, wherein said creating and transmitting is done on one of two ethernet devices coupled to said path.
10. The method of claim 6, wherein said amount of non-test packets is calculated by removing credits from a transmit credit block for each non-test packet, and wherein said transmission is delayed upon not having enough transmit credit available.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0006] The invention will be better understood from the following description of preferred embodiments together with reference to the accompanying drawings, in which:
[0007]
[0008]
[0009]
[0010]
[0011]
DETAILED DESCRIPTION
[0012] Although the invention will be described in connection with certain preferred embodiments, it will be understood that the invention is not limited to those particular embodiments. On the contrary, the invention is intended to cover all alternatives, modifications, and equivalent arrangements as may be included within the spirit and scope of the invention as defined by the appended claims.
[0013] An embodiment of the invention includes the test traffic generator 14A, 14B, or 14C of
[0014] The dynamic test traffic generator 14A may be embedded in an Ethernet device 10A or 10B, or it may be located adjacent to the Ethernet link 11 as a generator 14B or it may be located in-line of the Ethernet link 11 as a generator 14C. In the case of generator 14C, there are at least two Ethernet ports that carry non-test traffic. Generator 14C must therefore forward non-test traffic between its ports. This function does not relate to the operation of this invention. In all cases, the information about the amount of non-test traffic flowing in the same direction as the test traffic is made available to the dynamic test traffic generator 14A, 14B, 14C. As an example, if the test traffic generator 14B sends test traffic toward the Ethernet device 10B, the information about the amount of non-test traffic flowing from Ethernet device 10A toward the Ethernet device 10B is made available to the generator 14B. The Ethernet path 13 and the network 12 may or may not be present. If the network 12 and the Ethernet path 13 are not present, the two Ethernet links 11 are connected together and form a single Ethernet link (as in
[0015] The transmit generator 20 of
[0016] In the case of
[0017] In the case of
[0018] While particular embodiments and applications of the present invention have been illustrated and described, it is to be understood that the invention is not limited to the precise construction and compositions disclosed herein and that various modifications, changes, and variations may be apparent from the foregoing descriptions without departing from the spirit and scope of the invention as defined in the appended claims.