US20100191794A1 - Method and system for phy loop detection - Google Patents
Method and system for phy loop detection Download PDFInfo
- Publication number
- US20100191794A1 US20100191794A1 US12/756,169 US75616910A US2010191794A1 US 20100191794 A1 US20100191794 A1 US 20100191794A1 US 75616910 A US75616910 A US 75616910A US 2010191794 A1 US2010191794 A1 US 2010191794A1
- Authority
- US
- United States
- Prior art keywords
- page
- received
- loop
- indicator
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
Definitions
- Embodiments of the invention relate in general to communication in Ethernet. More specifically, the embodiments of the invention relate to a method and a system for the detection of a loop in the physical layer of an Ethernet port.
- a seven-layer architecture known as Open System Interconnect (OSI) model, is commonly used for communication in computer networks.
- the Ethernet is a Local Area Network (LAN) technology that defines wiring and signaling of the physical layer of the OSI model.
- the Ethernet also defines protocols for Media Access Control (MAC) or the data link layer of the OSI model, and the format for transmitting frames.
- the physical layer is also known as PHY or layer 1 and the data link layer is known as layer 2.
- a signal or a data packet sent from a computer that is connected to a network may not reach the PHY of a destination computer. Further, the sent data packet may incorrectly revert to the sending computer. Such a situation is referred to as a ‘loop-back’.
- the reverting of data packets may overload the CPU of the sending computer, and also result in the loss of data. Further, the reverting may cause problems in the normal operation of other applications executing on the sending computer.
- keep-alive mechanism An existing method for detection of loop-back faults is known as a ‘keep-alive mechanism’.
- the keep-alive mechanism transmits and receives special data. If the sending computer receives the transmitted special packet, a loop-back link fault is declared and transmission of data is stopped.
- the keep-alive mechanism requires layer 2 to transmit frames. Once layer 2 is in communication, other applications on a computer may also use it for transmitting and receiving data. A loop-back may cause problems in the functioning of the other applications.
- the keep-alive mechanism requires a CPU to constantly generate frames to detect a loop-back, which results in the consumption of CPU resources.
- FIG. 1 illustrates an exemplary environment wherein the embodiments of the invention can be practiced.
- FIG. 2 is a block diagram of a system for detecting loop-back, in accordance with an exemplary embodiment of the present invention.
- FIG. 3 is a flowchart depicting a method for detecting loop-back, in accordance with an exemplary embodiment of the present invention.
- FIG. 4 is a flowchart depicting a method for detecting loop-back, in accordance with another exemplary embodiment of the present invention.
- FIG. 5 is a flowchart depicting a method for detecting loop-back, in accordance with yet another exemplary embodiment of the invention.
- FIG. 6 is a flowchart depicting a method for performing auto negotiation and detecting loop-back, in accordance with still another exemplary embodiment of the invention.
- the various embodiments of the invention provide a method, a system, and a computer-readable medium for detecting loop-back in a physical layer on an Ethernet link.
- the Ethernet link uses a process known as ‘auto negotiation’ to determine the capabilities of the PHY devices at either end of the Ethernet link.
- the PHY device in auto negotiation process sends data formatted as a “base page” and a “next page”.
- the base page contains basic information necessary for operation of the Ethernet link and the next page contains information that may not be necessary for the operation of the link.
- the base page includes information regarding the type of Ethernet connection supported, next page capability and so forth.
- the next page includes a message page, format of message page and so forth.
- a device sends a base page, followed by zero or more sent next pages on the physical layer of the Ethernet link.
- the device also receives a base page, followed by zero or more next pages. Thereafter, a loop-back is declared, if the sent next pages and the received next pages match.
- FIG. 1 illustrates an exemplary environment 100 wherein the embodiment of the invention can be practiced.
- Environment 100 can contain a network link.
- the network link can be an Ethernet link 102 .
- Ethernet link 102 includes a first device 104 and a second device 106 , in accordance with an exemplary embodiment of the present invention.
- first device 104 and second device 106 can be a Data Terminal Equipment (DTE) or a processing device, for example, a personal computer, a general-purpose computer, a laptop, a palmtop, etc.
- DTE Data Terminal Equipment
- second device 106 is a link partner to first device 104 .
- first device 104 communicates with second device 106 over Ethernet link 102 .
- Ethernet link 102 can include networks such as Local Area Network (LAN), Wide Area Network (WAN), Metropolitan Area Network (MAN), Personal Area Network (PAN), Industrial Ethernet network, home network, and so forth.
- LAN Local Area Network
- WAN Wide Area Network
- MAN Metropolitan Area Network
- PAN Personal Area Network
- Industrial Ethernet network home network, and so forth.
- First device 104 establishes a link with second device 106 to start communication.
- the link is established at the physical layer of first device 104 and second device 106 .
- the physical layer is defined in a seven-layer architecture model, known as the Open System Interconnect (OSI) model.
- OSI Open System Interconnect
- the OSI model is used for communication in computer networks.
- the physical layer is also known as PHY or layer 1.
- an auto-negotiation feature described by Institute of Electrical & Electronic Engineers (IEEE) et al., i.e., IEEE 802.3-2004 Clause 28 , is used to establish the link.
- Auto-negotiation uses a series of link pulses known as a Fast Link Pulses (FLP) burst to encode a 16-bit word.
- the FLP burst interweaves a clock pulse with a data pulse to encode a 16-bit word, known as a link code word.
- the link code word may be in the format known as a base page or may be an optional extension format known as a next page.
- first device 104 exchanges base pages with second device 106 , to establish the link. After the link is established, data transmission may be started by connecting the data link layer of first device 104 to the data link layer of second device 106 .
- the data link layer is defined in the OSI model and is also known as layer 2.
- second device 106 can have functions that are identical to that of first device 104 .
- FIG. 2 is a block diagram of a system 200 for detecting loop-back, in accordance with an exemplary embodiment of the present invention.
- System 200 includes a next page capability checker 202 , a next page sender 204 , a next page receiver 206 , and a next page comparer 208 .
- the elements of system 200 are located on first device 104 . In another embodiment of the invention, the elements of system 200 are also located on second device 106 .
- a base page includes the information pertaining to the capabilities of a device.
- the capabilities of the device include the mode of the Ethernet connection supported, such as 10 Base-T, 10 Base-T Full Duplex, 100 Base-TX, 100 Base-TX Full Duplex, 100 Base-T4, and so forth.
- the capabilities also include other parameters such as the capability of a device to send and receive a next page.
- the next page is a medium for transmitting additional information beyond the information transmitted by the base pages.
- the additional information transmitted by the next page includes proprietary information relating to the device.
- Next page capability checker 202 checks the capability of second device 106 to send and receive next pages.
- next page capability checker 202 sends and receives base pages to check the capability of second device 106 to send and receive next pages. In another embodiment of the invention, next page capability checker 202 compares the sent and received base pages to check the capability of second device 106 to send and receive next pages. In an embodiment of the invention, next page capability checker 202 declares a loop-back or a no loop-back condition based on the result of comparison of the sent and received base pages.
- next page capability checker 202 reads and updates an Auto-Negotiation Advertisement Register (ANAR) and an Auto-Negotiation Link Partner Advertisement Register (ANLPAR).
- ANAR and ANLPAR registers are defined for the PHY of first device 104 .
- the ANAR is used to set the capabilities of first device 104 .
- the information in ANAR is sent in a sent base page.
- the ANLPAR includes information on the capabilities of second device 106 .
- the ANLPAR is updated on the receipt of a received base page from second device 106 . If the ANLPAR indicates that the second device is not capable of next page then next page capability checker 202 declares a no loop-back condition.
- Next page sender 204 sends a sent next page from first device 104 to second device 106 .
- next page sender 204 sends the sent next page, based on the capability of second device 106 to send and receive next pages.
- next page sender 204 reads an Auto-Negotiation Expansion Register (ANER) and an Auto-Negotiation Next Page Transmit Register (ANNPTR).
- ANER Auto-Negotiation Expansion Register
- ANNPTR Auto-Negotiation Next Page Transmit Register
- next page sender 204 updates the ANNPTR.
- the ANER and the ANNPTR are defined for the PHY of first device 104 .
- the ANER includes information such as the next page capability of first device 104 , the next page capability of second device 106 , the auto-negotiation capability of second device 106 , the receipt of a new page, a parallel detection fault, and so forth.
- the ANNPTR is used to set the information that is to be sent in the sent next page from first device 104 .
- next page sender 204 may send next pages with an NP bit set to 0.
- Next page receiver 206 receives a received next page from second device 106 .
- the received next page is received at first device 104 .
- next page receiver 206 reads the ANER and an Auto-Negotiation Link Partner Next Page Receive Register (ANLPNPRR).
- the ANLPNPRR is defined for the PHY of first device 104 .
- the ANLPNPRR includes the information contained in the received next page.
- next page receiver 206 may receive a next page from a far end device.
- Next page comparer 208 compares the sent next page and the received next page.
- next page comparer 208 reads and compares the information included in the ANNPTR and the ANLPNPRR.
- next page comparer 208 declares loop-back, based on the results of the comparison.
- next page comparer 208 also declares a no loop-back condition.
- next page sender 204 , next page receiver 206 , and next page comparer 208 function sequentially to send, receive and compare next pages.
- one or more of next page sender 204 , next page receiver 206 , and next page comparer 208 may not be required to function to detect loop-back.
- next page sender 204 , next page receiver 206 , and next page comparer 208 are not required if the second device is not capable of sending or receiving a next page.
- elements of system 200 such as next page sender 204 , next page receiver 206 , and next page comparer 208 , is implemented in the form of software, hardware, firmware, or their combination thereof.
- FIG. 3 is a flowchart depicting a method for detecting a loop-back, in accordance with an exemplary embodiment of the present invention.
- a base page is sent from a device in the physical layer.
- the base page is sent on an Ethernet link.
- the base page has next page capability bit set.
- a base page is received by the device.
- the received base page can be a base page transmitted by second device 106 .
- the next page capability bit is determined in the received base page to detect the loop-back in the physical layer.
- the next page capability bit is examined in the received base page to detect the loop-back in the physical layer.
- next page capability bit is not set in the received base page, then it is decided that no loop-back exists.
- next page capability is set in the received base page, then next pages are sent to detect the loop-back.
- the next pages are sent by first device 104 .
- FIG. 4 is a flowchart depicting a method for detecting loop-back, in accordance with another exemplary embodiment of the present invention.
- a sent base page is sent from a first device in the physical layer.
- the sent base page is followed by zero or more sent next pages.
- a received base page is received at the first device.
- the received base page is followed by zero or more received next pages.
- a second device sends the received next page.
- a no loop-back condition is declared.
- the sent next page is compared to the received next page.
- zero or more sent next pages and received next pages are compared.
- loop-back is declared if the sent next page matches the received next page.
- loop-back is declared if the zero or more sent next pages match the zero or more received next pages. This is explained in detail in conjunction with FIG. 5 .
- FIGS. 5 a and 5 b is a flowchart depicting a method for detecting loop-back, in accordance with yet another exemplary embodiment of the invention.
- a first device sends a sent base page to a second device.
- the first device receives a received base page.
- the second device sends the received base page.
- next page capability checker 202 is utilized to send the sent base page and to receive the received base page.
- the ANER is checked for a ‘page received’ bit. The page received bit, if set to ‘1’ in the ANER, indicates the receipt of the received base page.
- the received base page is similar to the sent base page.
- the sent base page is compared to the received base page.
- the comparison is achieved by utilizing next page capability checker 202 .
- the sent base page is compared to the received base page by checking a Next Page (NP) bit in the ANLPAR and the ANAR.
- the NP bit is set to ‘1’ in the ANAR.
- the NP bit is set to ‘0’ in the ANLPAR, then there is no loop-back.
- the NP bit is set to ‘0’ in the ANLPAR, then the second device is not capable of sending and receiving next pages.
- a no loop-back condition is declared at step 514 .
- the no loop-back condition is declared by utilizing next page capability checker 202 .
- the second device is capable of sending and receiving a next page.
- the NP bit is also set to ‘1’ in the ANLPAR, then there may be a loop-back.
- the sent base page is reverted to the first device as a received base page.
- the second device may be a valid PHY, which is capable of sending and receiving next pages.
- next pages includes the formatting of the next page, a message code, etc.
- the next page may be formatted as a message page or an unformatted page.
- the first device sends a sent next page to the second device.
- the sent next page is sent by utilizing next page sender 204 .
- the sent next page is an unformatted page.
- An unformatted page is 11-bit long.
- the sent next page contains the Media Access Control (MAC) address of the first device.
- the MAC address is the hard-coded address of the PHY of the first device, and is a globally unique address for each network interface controller.
- the MAC address is 48-bit long.
- the first device sends five sent next pages. The five sent next pages are required to specify the MAC address of the first device.
- next pages are sent one after another.
- the information in each next page is updated in the ANNPTR.
- the page received bit of the ANER is checked to verify the receipt of the received next page.
- a received next page is received at the first device.
- the received next page can be sent by the second device to the first device.
- the received next page is received by utilizing next page receiver 206 .
- the received next page contains the MAC address of the second device.
- five received next pages are received at the first device.
- the sent next page is compared to the received next page.
- the comparison is achieved by utilizing next page comparer 208 .
- the information pertaining to the ANNPTR is compared to the information in the ANLPNPRR.
- the MAC address sent in the sent next page is compared to the MAC address received in the received next page.
- an ‘acknowledge’ bit in the ANLPNPRR is checked. The acknowledge bit, if it is set to ‘1’ in the ANLPNPRR, indicates that the sent next page has been received by a valid PHY.
- no loop-back condition is declared.
- the no loop-back condition is declared by utilizing next page comparer 208 .
- no loop-back condition is declared if the acknowledge bit is set to ‘1’ in the ANLPNPRR.
- no loop-back condition is declared if the information in the ANNPTR does not match the information in ANLPNRR.
- a further next page is sent with the NP bit set to ‘0’, to terminate the transmission.
- a series of next page transfers and comparisons are made to establish a loop-back or no loop-back condition.
- loop-back is declared if the information in ANNPTR matches the information in ANLPNPRR.
- the loop-back is declared by utilizing next page comparer 208 .
- loop-back is declared if the acknowledge bit is set to ‘0’ in the ANLPNPRR.
- next page capability checker 202 detects that the second device is also not capable of sending next pages, a no loop-back condition is declared and the first device may use base pages to change the PHY link parameters.
- the PHY does not set the link up, in the event of a loop-back.
- the link up is required for data transmission from layer 2.
- an ‘ack2’ bit is set to ‘0’ in the next pages transmitted to the second device, as any other message codes are not supported by such devices.
- FIGS. 6 a and 6 b is a flowchart depicting a method for performing auto negotiation and detecting loop-back, in accordance with still another exemplary embodiment of the invention.
- an auto negotiation feature of the physical layer of first device 104 is enabled.
- the auto negotiation feature is required for automatic configuration of the physical layers.
- a configuration option ‘down-when-looped’ of the physical layer is checked. Thereafter, at step 606 , if the ‘down-when-looped’ configuration option is not enabled then the auto negotiation is carried out in the hardware.
- the method provided by the invention is not used for detecting the loop-back.
- first device 104 is enabled to send next pages.
- a sent base page is sent from first device 104 .
- a received base page is received at first device 104 .
- the received base page is sent by second device 106 .
- the auto negotiation capability of second device 106 is checked. In an embodiment of the invention, the auto negotiation capability of second device 106 is checked by transmitting base pages.
- step 612 if the auto negotiation feature of second device 106 is not enabled then a parallel detection is carried out in the hardware.
- auto negotiation feature of the second device 106 if the auto negotiation feature of the second device 106 is enabled, then auto negotiation is carried out, at step 614 .
- step 614 the capability of second device 106 to automatically send next pages is checked. In an embodiment of the invention, the capability of second device 106 to send next pages is checked by using next page capability checker 202 .
- step 616 if second device 106 is not able to automatically send next pages then auto negotiation is carried out in hardware.
- a sent next page is sent from first device 104 , if second device 106 is able to automatically send next pages.
- next page sender 204 is used to send the sent next page.
- a received next page is received at first device 104 .
- the received next page is sent by second device 106 .
- next page receiver 206 is used to receive the received next page.
- step 622 if the received next page has a next page message code, then a no loop-back is declared. Thereafter, the ack bit in ANLPNPRR is set to ‘0’ and transmission of next pages is stopped, at step 624 .
- the received next page does not have a next page message code, then the sent next page and the received next page are compared, at step 626 .
- the sent next page and the received next page are compared by next page comparer 208 .
- a no loop-back is declared.
- a no loop-back is declared and a last sent next page is sent and auto negotiation is stopped.
- the sent next page and the received next page are identical, then more sent next pages are sent.
- a loop-back is declared and auto-negotiation is completed.
- a DTE power detect mechanism in a PHY may use a principle that is analogous to the methods provided by the embodiments of the invention.
- the DTE detect mechanism provided in a patent publication US20040186689, assigned to Cisco Technology Inc. is incorporated as a reference herein. However, both cannot be supported simultaneously.
- a PHY such as IntelTM LXT9785 does not allow next page capability if the DTE power detect mechanism is enabled.
- the DTE power detect mechanism may use the methods provided by the various embodiments of the invention, if the port is connected to a powered device or a PHY.
- the DTE power detect may be made mutually exclusive to a ‘down-when-looped’ feature.
- the ‘down-when-looped’ feature indicates that the link is down when loop-back is detected.
- the ‘down-when-looped’ feature is turned off by default.
- the methods provided by the various embodiments of the invention may be added to the messages that are exchanged.
- Embodiments of the present invention provide a method and a system to detect a PHY loop-back.
- the loop-back is detected before linking up the layer 2, which prevents data loss.
- the embodiments of the invention also result in a reduction in the consumption of resources of the CPU of a device. The consumption of resources is reduced, as the CPU is not required to constantly send and receive frames to detect loop-back.
- a ‘method for detecting a PHY loop-back’ can include any type of analysis, manual or automatic, to anticipate the needs of detecting a loop-back.
- peer can include any type of device, operation, or other process.
- the present invention can operate between any two processes or entities including users, devices, functional systems, or combinations of hardware and software.
- Peer-to-peer networks and any other networks or systems where the roles of client and server are switched, change dynamically, or are not even present, are within the scope of the invention.
- routines of the present invention can be implemented using C, C++, Java, assembly language, etc.
- Different programming techniques such as procedural or object oriented can be employed.
- the routines can execute on a single processing device or multiple processors. Although the steps, operations, or computations may be presented in a specific order, this order may be changed in different embodiments. In some embodiments, multiple steps shown sequentially in this specification can be performed at the same time.
- the sequence of operations described herein can be interrupted, suspended, or otherwise controlled by another process, such as an operating system, kernel, etc.
- the routines can operate in an operating system environment or as stand-alone routines occupying all, or a substantial part, of the system processing.
- a ‘computer’ for purposes of embodiments of the present invention may include any processor-containing device, such as a mainframe computer, personal computer, laptop, notebook, microcomputer, server, personal data manager or ‘PIM’ (also referred to as a personal information manager), smart cellular or other phone, so-called smart card, set-top box, or any of the like.
- a ‘computer program’ may include any suitable locally or remotely executable program or sequence of coded instructions, which are to be inserted into a computer, well known to those skilled in the art. Stated more specifically, a computer program includes an organized list of instructions that, when executed, causes the computer to behave in a predetermined manner.
- a computer program contains a list of ingredients (called variables) and a list of directions (called statements) that tell the computer what to do with the variables.
- the variables may represent numeric data, text, audio or graphical images. If a computer is employed for presenting media via a suitable directly or indirectly coupled input/output (I/O) device, the computer would have suitable instructions for allowing a user to input or output (e.g., present) program code and/or data information respectively in accordance with the embodiments of the present invention.
- I/O input/output
- a ‘computer readable medium’ for purposes of embodiments of the present invention may be any medium that can contain, store, communicate, propagate, or transport the computer program for use by or in connection with the instruction execution system apparatus, system or device.
- the computer readable medium can be, by way of example only but not by limitation, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, system, device, propagation medium, or computer memory.
- At least some of the components of an embodiment of the invention may be implemented by using a programmed general-purpose digital computer, by using application specific integrated circuits, programmable logic devices, or field programmable gate arrays, or by using a network of interconnected components and circuits. Connections may be wired, wireless, by modem, and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
Description
- 1. Field of Invention
- Embodiments of the invention relate in general to communication in Ethernet. More specifically, the embodiments of the invention relate to a method and a system for the detection of a loop in the physical layer of an Ethernet port.
- 2. Description of the Background Art
- A seven-layer architecture, known as Open System Interconnect (OSI) model, is commonly used for communication in computer networks. The Ethernet is a Local Area Network (LAN) technology that defines wiring and signaling of the physical layer of the OSI model. The Ethernet also defines protocols for Media Access Control (MAC) or the data link layer of the OSI model, and the format for transmitting frames. The physical layer is also known as PHY or layer 1 and the data link layer is known as layer 2.
- In the case of a fault, an incorrect configuration or a non-compliant installation, a signal or a data packet sent from a computer that is connected to a network may not reach the PHY of a destination computer. Further, the sent data packet may incorrectly revert to the sending computer. Such a situation is referred to as a ‘loop-back’. The reverting of data packets may overload the CPU of the sending computer, and also result in the loss of data. Further, the reverting may cause problems in the normal operation of other applications executing on the sending computer.
- An existing method for detection of loop-back faults is known as a ‘keep-alive mechanism’. The keep-alive mechanism transmits and receives special data. If the sending computer receives the transmitted special packet, a loop-back link fault is declared and transmission of data is stopped. However, the keep-alive mechanism requires layer 2 to transmit frames. Once layer 2 is in communication, other applications on a computer may also use it for transmitting and receiving data. A loop-back may cause problems in the functioning of the other applications. Moreover, the keep-alive mechanism requires a CPU to constantly generate frames to detect a loop-back, which results in the consumption of CPU resources.
-
FIG. 1 illustrates an exemplary environment wherein the embodiments of the invention can be practiced. -
FIG. 2 is a block diagram of a system for detecting loop-back, in accordance with an exemplary embodiment of the present invention. -
FIG. 3 is a flowchart depicting a method for detecting loop-back, in accordance with an exemplary embodiment of the present invention. -
FIG. 4 is a flowchart depicting a method for detecting loop-back, in accordance with another exemplary embodiment of the present invention. -
FIG. 5 is a flowchart depicting a method for detecting loop-back, in accordance with yet another exemplary embodiment of the invention. -
FIG. 6 is a flowchart depicting a method for performing auto negotiation and detecting loop-back, in accordance with still another exemplary embodiment of the invention. - The various embodiments of the invention provide a method, a system, and a computer-readable medium for detecting loop-back in a physical layer on an Ethernet link. The Ethernet link uses a process known as ‘auto negotiation’ to determine the capabilities of the PHY devices at either end of the Ethernet link. The PHY device in auto negotiation process sends data formatted as a “base page” and a “next page”. The base page contains basic information necessary for operation of the Ethernet link and the next page contains information that may not be necessary for the operation of the link. The base page includes information regarding the type of Ethernet connection supported, next page capability and so forth. The next page includes a message page, format of message page and so forth. In an embodiment of the invention, a device sends a base page, followed by zero or more sent next pages on the physical layer of the Ethernet link. The device also receives a base page, followed by zero or more next pages. Thereafter, a loop-back is declared, if the sent next pages and the received next pages match.
-
FIG. 1 illustrates anexemplary environment 100 wherein the embodiment of the invention can be practiced.Environment 100 can contain a network link. According to the various embodiments of the invention, the network link can be an Ethernetlink 102. Ethernetlink 102 includes afirst device 104 and asecond device 106, in accordance with an exemplary embodiment of the present invention. In various embodiments of the invention,first device 104 andsecond device 106 can be a Data Terminal Equipment (DTE) or a processing device, for example, a personal computer, a general-purpose computer, a laptop, a palmtop, etc. In an embodiment of the invention,second device 106 is a link partner tofirst device 104. - In an embodiment of the invention,
first device 104 communicates withsecond device 106 over Ethernetlink 102. Ethernetlink 102 can include networks such as Local Area Network (LAN), Wide Area Network (WAN), Metropolitan Area Network (MAN), Personal Area Network (PAN), Industrial Ethernet network, home network, and so forth. -
First device 104 establishes a link withsecond device 106 to start communication. The link is established at the physical layer offirst device 104 andsecond device 106. The physical layer is defined in a seven-layer architecture model, known as the Open System Interconnect (OSI) model. The OSI model is used for communication in computer networks. The physical layer is also known as PHY or layer 1. - In an embodiment of the invention, an auto-negotiation feature, described by Institute of Electrical & Electronic Engineers (IEEE) et al., i.e., IEEE 802.3-2004 Clause 28, is used to establish the link. Auto-negotiation uses a series of link pulses known as a Fast Link Pulses (FLP) burst to encode a 16-bit word. The FLP burst interweaves a clock pulse with a data pulse to encode a 16-bit word, known as a link code word. The link code word may be in the format known as a base page or may be an optional extension format known as a next page. In an embodiment of the invention,
first device 104 exchanges base pages withsecond device 106, to establish the link. After the link is established, data transmission may be started by connecting the data link layer offirst device 104 to the data link layer ofsecond device 106. The data link layer is defined in the OSI model and is also known as layer 2. - In an embodiment of the invention,
second device 106 can have functions that are identical to that offirst device 104. -
FIG. 2 is a block diagram of asystem 200 for detecting loop-back, in accordance with an exemplary embodiment of the present invention.System 200 includes a nextpage capability checker 202, anext page sender 204, anext page receiver 206, and a next page comparer 208. In an embodiment of the invention, the elements ofsystem 200 are located onfirst device 104. In another embodiment of the invention, the elements ofsystem 200 are also located onsecond device 106. - In an embodiment of the invention, a base page includes the information pertaining to the capabilities of a device. The capabilities of the device include the mode of the Ethernet connection supported, such as 10 Base-T, 10 Base-T Full Duplex, 100 Base-TX, 100 Base-TX Full Duplex, 100 Base-T4, and so forth. The capabilities also include other parameters such as the capability of a device to send and receive a next page. The next page is a medium for transmitting additional information beyond the information transmitted by the base pages. The additional information transmitted by the next page includes proprietary information relating to the device. Next
page capability checker 202 checks the capability ofsecond device 106 to send and receive next pages. In an embodiment of the invention, nextpage capability checker 202 sends and receives base pages to check the capability ofsecond device 106 to send and receive next pages. In another embodiment of the invention, nextpage capability checker 202 compares the sent and received base pages to check the capability ofsecond device 106 to send and receive next pages. In an embodiment of the invention, nextpage capability checker 202 declares a loop-back or a no loop-back condition based on the result of comparison of the sent and received base pages. - In an embodiment of the invention, next
page capability checker 202 reads and updates an Auto-Negotiation Advertisement Register (ANAR) and an Auto-Negotiation Link Partner Advertisement Register (ANLPAR). The ANAR and ANLPAR registers are defined for the PHY offirst device 104. The ANAR is used to set the capabilities offirst device 104. The information in ANAR is sent in a sent base page. The ANLPAR includes information on the capabilities ofsecond device 106. The ANLPAR is updated on the receipt of a received base page fromsecond device 106. If the ANLPAR indicates that the second device is not capable of next page then nextpage capability checker 202 declares a no loop-back condition. -
Next page sender 204 sends a sent next page fromfirst device 104 tosecond device 106. In an embodiment of the invention,next page sender 204 sends the sent next page, based on the capability ofsecond device 106 to send and receive next pages. In an embodiment of the invention,next page sender 204 reads an Auto-Negotiation Expansion Register (ANER) and an Auto-Negotiation Next Page Transmit Register (ANNPTR). In another embodiment of the invention,next page sender 204 updates the ANNPTR. The ANER and the ANNPTR are defined for the PHY offirst device 104. The ANER includes information such as the next page capability offirst device 104, the next page capability ofsecond device 106, the auto-negotiation capability ofsecond device 106, the receipt of a new page, a parallel detection fault, and so forth. The ANNPTR is used to set the information that is to be sent in the sent next page fromfirst device 104. In another embodiment of the invention,next page sender 204 may send next pages with an NP bit set to 0. -
Next page receiver 206 receives a received next page fromsecond device 106. The received next page is received atfirst device 104. In an embodiment of the invention,next page receiver 206 reads the ANER and an Auto-Negotiation Link Partner Next Page Receive Register (ANLPNPRR). The ANLPNPRR is defined for the PHY offirst device 104. The ANLPNPRR includes the information contained in the received next page. In another embodiment of the invention,next page receiver 206 may receive a next page from a far end device. -
Next page comparer 208 compares the sent next page and the received next page. In an embodiment of the invention,next page comparer 208 reads and compares the information included in the ANNPTR and the ANLPNPRR. In an embodiment of the invention,next page comparer 208 declares loop-back, based on the results of the comparison. In another embodiment of the invention,next page comparer 208 also declares a no loop-back condition. - In an embodiment of the invention,
next page sender 204,next page receiver 206, andnext page comparer 208 function sequentially to send, receive and compare next pages. In another embodiment of the invention, one or more ofnext page sender 204,next page receiver 206, andnext page comparer 208 may not be required to function to detect loop-back. For example,next page sender 204,next page receiver 206, andnext page comparer 208 are not required if the second device is not capable of sending or receiving a next page. - In various embodiments of the invention, elements of
system 200, such asnext page sender 204,next page receiver 206, andnext page comparer 208, is implemented in the form of software, hardware, firmware, or their combination thereof. -
FIG. 3 is a flowchart depicting a method for detecting a loop-back, in accordance with an exemplary embodiment of the present invention. Atstep 302, a base page is sent from a device in the physical layer. In an embodiment of the invention, the base page is sent on an Ethernet link. The base page has next page capability bit set. Thereafter, atstep 304, a base page is received by the device. In an embodiment, the received base page can be a base page transmitted bysecond device 106. Atstep 306, the next page capability bit is determined in the received base page to detect the loop-back in the physical layer. In an embodiment of the invention, the next page capability bit is examined in the received base page to detect the loop-back in the physical layer. In an embodiment of the invention, if the next page capability bit is not set in the received base page, then it is decided that no loop-back exists. In another embodiment of the invention, if the next page capability is set in the received base page, then next pages are sent to detect the loop-back. In an embodiment of the invention, the next pages are sent byfirst device 104. -
FIG. 4 is a flowchart depicting a method for detecting loop-back, in accordance with another exemplary embodiment of the present invention. Atstep 402, a sent base page is sent from a first device in the physical layer. The sent base page is followed by zero or more sent next pages. Subsequently, atstep 404, a received base page is received at the first device. The received base page is followed by zero or more received next pages. In an embodiment of the invention, a second device sends the received next page. In an embodiment of the invention, if the second device does not send the received next page, then a no loop-back condition is declared. Atstep 406, the sent next page is compared to the received next page. In an embodiment of the invention, zero or more sent next pages and received next pages are compared. Atstep 408, loop-back is declared if the sent next page matches the received next page. In an embodiment of the invention, loop-back is declared if the zero or more sent next pages match the zero or more received next pages. This is explained in detail in conjunction withFIG. 5 . -
FIGS. 5 a and 5 b is a flowchart depicting a method for detecting loop-back, in accordance with yet another exemplary embodiment of the invention. Atstep 502, a first device sends a sent base page to a second device. Atstep 504, the first device receives a received base page. In an embodiment of the invention, the second device sends the received base page. In various embodiments of the invention, nextpage capability checker 202 is utilized to send the sent base page and to receive the received base page. In an embodiment of the invention, the ANER is checked for a ‘page received’ bit. The page received bit, if set to ‘1’ in the ANER, indicates the receipt of the received base page. In an embodiment of the invention, the received base page is similar to the sent base page. - At
step 506, the sent base page is compared to the received base page. In various embodiments of the invention, the comparison is achieved by utilizing nextpage capability checker 202. In an embodiment of the invention, the sent base page is compared to the received base page by checking a Next Page (NP) bit in the ANLPAR and the ANAR. In an embodiment of the invention, the NP bit is set to ‘1’ in the ANAR. In an embodiment of the invention, if the NP bit is set to ‘0’ in the ANLPAR, then there is no loop-back. In another embodiment of the invention, if the NP bit is set to ‘0’ in the ANLPAR, then the second device is not capable of sending and receiving next pages. Subsequently, a no loop-back condition is declared atstep 514. In various embodiments of the invention, the no loop-back condition is declared by utilizing nextpage capability checker 202. - In an embodiment of the invention, if the NP bit is also set to ‘1’ in the ANLPAR, then the second device is capable of sending and receiving a next page. In another embodiment of the invention, if the NP bit is also set to ‘1’ in the ANLPAR, then there may be a loop-back. In another embodiment of the invention, the sent base page is reverted to the first device as a received base page.
- In an embodiment of the invention, if the information in ANAR matches the information in ANLPAR, then there may be a loop-back. In another embodiment of the invention, if the information in ANAR matches the information in ANLPAR, then the second device may be a valid PHY, which is capable of sending and receiving next pages.
- Further, more information is required if the information in ANAR matches the information in ANLPAR. In an embodiment of the invention, more information is acquired by exchanging next pages between the first device and the second device. The information exchanged by next pages includes the formatting of the next page, a message code, etc. For example, the next page may be formatted as a message page or an unformatted page.
- At
step 508, the first device sends a sent next page to the second device. In various embodiments of the invention, the sent next page is sent by utilizingnext page sender 204. In an embodiment of the invention, the sent next page is an unformatted page. An unformatted page is 11-bit long. In an embodiment of the invention, the sent next page contains the Media Access Control (MAC) address of the first device. The MAC address is the hard-coded address of the PHY of the first device, and is a globally unique address for each network interface controller. The MAC address is 48-bit long. In a preferred embodiment of the invention, the first device sends five sent next pages. The five sent next pages are required to specify the MAC address of the first device. - In an embodiment of the invention, the next pages are sent one after another. The information in each next page is updated in the ANNPTR. In an embodiment of the invention, the page received bit of the ANER is checked to verify the receipt of the received next page.
- At
step 510, a received next page is received at the first device. The received next page can be sent by the second device to the first device. In various embodiments of the invention, the received next page is received by utilizingnext page receiver 206. In an embodiment of the invention, the received next page contains the MAC address of the second device. In an embodiment of the invention, five received next pages are received at the first device. - At
step 512, the sent next page is compared to the received next page. In various embodiments of the invention, the comparison is achieved by utilizingnext page comparer 208. In an embodiment of the invention, the information pertaining to the ANNPTR is compared to the information in the ANLPNPRR. In another embodiment of the invention, the MAC address sent in the sent next page is compared to the MAC address received in the received next page. In yet another embodiment of the invention, an ‘acknowledge’ bit in the ANLPNPRR is checked. The acknowledge bit, if it is set to ‘1’ in the ANLPNPRR, indicates that the sent next page has been received by a valid PHY. - At
step 514, no loop-back condition is declared. In various embodiments of the invention, the no loop-back condition is declared by utilizingnext page comparer 208. In an embodiment of the invention, no loop-back condition is declared if the acknowledge bit is set to ‘1’ in the ANLPNPRR. In another embodiment of the invention, no loop-back condition is declared if the information in the ANNPTR does not match the information in ANLPNRR. - In an embodiment of the invention, if the sent next page and the received next page do not match, then a further next page is sent with the NP bit set to ‘0’, to terminate the transmission.
- In an embodiment of the invention, a series of next page transfers and comparisons are made to establish a loop-back or no loop-back condition.
- At
step 516, loop-back is declared if the information in ANNPTR matches the information in ANLPNPRR. In various embodiments of the invention, the loop-back is declared by utilizingnext page comparer 208. In an embodiment of the invention, loop-back is declared if the acknowledge bit is set to ‘0’ in the ANLPNPRR. - In an embodiment of the invention, if the first device is not capable of sending next pages and next
page capability checker 202 detects that the second device is also not capable of sending next pages, a no loop-back condition is declared and the first device may use base pages to change the PHY link parameters. - In an embodiment of the invention, the PHY does not set the link up, in the event of a loop-back. The link up is required for data transmission from layer 2.
- In an embodiment of the invention, for the first device that do not support an ‘ack2’ function, an ‘ack2’ bit is set to ‘0’ in the next pages transmitted to the second device, as any other message codes are not supported by such devices.
-
FIGS. 6 a and 6 b is a flowchart depicting a method for performing auto negotiation and detecting loop-back, in accordance with still another exemplary embodiment of the invention. Atstep 602, an auto negotiation feature of the physical layer offirst device 104 is enabled. In an embodiment of the invention, the auto negotiation feature is required for automatic configuration of the physical layers. Atstep 604, a configuration option ‘down-when-looped’ of the physical layer is checked. Thereafter, atstep 606, if the ‘down-when-looped’ configuration option is not enabled then the auto negotiation is carried out in the hardware. In an embodiment of the invention, if the ‘down-when-looped’ configuration option is not enabled then the method provided by the invention is not used for detecting the loop-back. Atstep 608, if the down when looped option is enabled, thenfirst device 104 is enabled to send next pages. Subsequently, a sent base page is sent fromfirst device 104. Thereafter, a received base page is received atfirst device 104. In an embodiment of the invention, the received base page is sent bysecond device 106. Atstep 610, the auto negotiation capability ofsecond device 106 is checked. In an embodiment of the invention, the auto negotiation capability ofsecond device 106 is checked by transmitting base pages. Atstep 612, if the auto negotiation feature ofsecond device 106 is not enabled then a parallel detection is carried out in the hardware. Atstep 612, if the auto negotiation feature of thesecond device 106 is enabled, then auto negotiation is carried out, atstep 614. Atstep 614, the capability ofsecond device 106 to automatically send next pages is checked. In an embodiment of the invention, the capability ofsecond device 106 to send next pages is checked by using nextpage capability checker 202. Atstep 616, ifsecond device 106 is not able to automatically send next pages then auto negotiation is carried out in hardware. Atstep 618, a sent next page is sent fromfirst device 104, ifsecond device 106 is able to automatically send next pages. In an embodiment of the invention,next page sender 204 is used to send the sent next page. Atstep 620, a received next page is received atfirst device 104. In an embodiment of the invention, the received next page is sent bysecond device 106. In an embodiment of the invention,next page receiver 206 is used to receive the received next page. Atstep 622, if the received next page has a next page message code, then a no loop-back is declared. Thereafter, the ack bit in ANLPNPRR is set to ‘0’ and transmission of next pages is stopped, atstep 624. Atstep 622, if the received next page does not have a next page message code, then the sent next page and the received next page are compared, atstep 626. In an embodiment of the invention, the sent next page and the received next page are compared bynext page comparer 208. Atstep 626, if the sent next page is not identical to the received next pages then a no loop-back is declared. Atstep 628, a no loop-back is declared and a last sent next page is sent and auto negotiation is stopped. Atstep 630, if the sent next page and the received next page are identical, then more sent next pages are sent. Atstep 630, if all the sent next pages and the received next pages are identical then a loop-back is declared and auto-negotiation is completed. - A DTE power detect mechanism in a PHY may use a principle that is analogous to the methods provided by the embodiments of the invention. The DTE detect mechanism provided in a patent publication US20040186689, assigned to Cisco Technology Inc. is incorporated as a reference herein. However, both cannot be supported simultaneously. Moreover, a PHY such as Intel™ LXT9785 does not allow next page capability if the DTE power detect mechanism is enabled. In an embodiment of the invention, the DTE power detect mechanism may use the methods provided by the various embodiments of the invention, if the port is connected to a powered device or a PHY. In another embodiment of the invention, the DTE power detect may be made mutually exclusive to a ‘down-when-looped’ feature. In an embodiment of the invention, the ‘down-when-looped’ feature indicates that the link is down when loop-back is detected. In an embodiment of the invention, the ‘down-when-looped’ feature is turned off by default.
- In an embodiment of the invention, if the platforms use the next page with the standard message code, then the methods provided by the various embodiments of the invention may be added to the messages that are exchanged.
- Embodiments of the present invention provide a method and a system to detect a PHY loop-back. The loop-back is detected before linking up the layer 2, which prevents data loss. The embodiments of the invention also result in a reduction in the consumption of resources of the CPU of a device. The consumption of resources is reduced, as the CPU is not required to constantly send and receive frames to detect loop-back.
- Although the invention has been discussed with respect to specific embodiments thereof, these embodiments are merely illustrative, and not restrictive, of the invention. For example, a ‘method for detecting a PHY loop-back’ can include any type of analysis, manual or automatic, to anticipate the needs of detecting a loop-back.
- Although specific protocols have been used to describe embodiments, other embodiments can use other transmission protocols or standards. Use of the terms ‘peer’, ‘client’, and ‘server’ can include any type of device, operation, or other process. The present invention can operate between any two processes or entities including users, devices, functional systems, or combinations of hardware and software. Peer-to-peer networks and any other networks or systems where the roles of client and server are switched, change dynamically, or are not even present, are within the scope of the invention.
- Any suitable programming language can be used to implement the routines of the present invention including C, C++, Java, assembly language, etc. Different programming techniques such as procedural or object oriented can be employed. The routines can execute on a single processing device or multiple processors. Although the steps, operations, or computations may be presented in a specific order, this order may be changed in different embodiments. In some embodiments, multiple steps shown sequentially in this specification can be performed at the same time. The sequence of operations described herein can be interrupted, suspended, or otherwise controlled by another process, such as an operating system, kernel, etc. The routines can operate in an operating system environment or as stand-alone routines occupying all, or a substantial part, of the system processing.
- In the description herein for embodiments of the present invention, numerous specific details are provided, such as examples of components and/or methods, to provide a thorough understanding of embodiments of the present invention. One skilled in the relevant art will recognize, however, that an embodiment of the invention can be practiced without one or more of the specific details, or with other apparatus, systems, assemblies, methods, components, materials, parts, and/or the like. In other instances, well-known structures, materials, or operations are not specifically shown or described in detail to avoid obscuring aspects of embodiments of the present invention.
- Also in the description herein for embodiments of the present invention, a portion of the disclosure recited in the specification contains material, which is subject to copyright protection. Computer program source code, object code, instructions, text or other functional information that is executable by a machine may be included in an appendix, tables, figures or in other forms. The copyright owner has no objection to the facsimile reproduction of the specification as filed in the Patent and Trademark Office. Otherwise all copyright rights are reserved.
- A ‘computer’ for purposes of embodiments of the present invention may include any processor-containing device, such as a mainframe computer, personal computer, laptop, notebook, microcomputer, server, personal data manager or ‘PIM’ (also referred to as a personal information manager), smart cellular or other phone, so-called smart card, set-top box, or any of the like. A ‘computer program’ may include any suitable locally or remotely executable program or sequence of coded instructions, which are to be inserted into a computer, well known to those skilled in the art. Stated more specifically, a computer program includes an organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. A computer program contains a list of ingredients (called variables) and a list of directions (called statements) that tell the computer what to do with the variables. The variables may represent numeric data, text, audio or graphical images. If a computer is employed for presenting media via a suitable directly or indirectly coupled input/output (I/O) device, the computer would have suitable instructions for allowing a user to input or output (e.g., present) program code and/or data information respectively in accordance with the embodiments of the present invention.
- A ‘computer readable medium’ for purposes of embodiments of the present invention may be any medium that can contain, store, communicate, propagate, or transport the computer program for use by or in connection with the instruction execution system apparatus, system or device. The computer readable medium can be, by way of example only but not by limitation, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, system, device, propagation medium, or computer memory.
- Reference throughout this specification to “one embodiment”, “an embodiment”, or “a specific embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention and not necessarily in all embodiments. Thus, respective appearances of the phrases “in one embodiment”, “in an embodiment”, or “in a specific embodiment” in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics of any specific embodiment of the present invention may be combined in any suitable manner with one or more other embodiments. It is to be understood that other variations and modifications of the embodiments of the present invention described and illustrated herein are possible in light of the teachings herein and are to be considered as part of the spirit and scope of the present invention.
- Further, at least some of the components of an embodiment of the invention may be implemented by using a programmed general-purpose digital computer, by using application specific integrated circuits, programmable logic devices, or field programmable gate arrays, or by using a network of interconnected components and circuits. Connections may be wired, wireless, by modem, and the like.
- It will also be appreciated that one or more of the elements depicted in the drawings/figures can also be implemented in a more separated or integrated manner, or even removed or rendered as inoperable in certain cases, as is useful in accordance with a particular application.
- Additionally, any signal arrows in the drawings/Figures should be considered only as exemplary, and not limiting, unless otherwise specifically noted. Combinations of components or steps will also be considered as being noted, where terminology is foreseen as rendering the ability to separate or combine is unclear.
- As used in the description herein and throughout the claims that follow, “a”, “an”, and “the” includes plural references unless the context clearly dictates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.
- The foregoing description of illustrated embodiments of the present invention, including what is described in the abstract, is not intended to be exhaustive or to limit the invention to the precise forms disclosed herein. While specific embodiments of, and examples for, the invention are described herein for illustrative purposes only, various equivalent modifications are possible within the spirit and scope of the present invention, as those skilled in the relevant art will recognize and appreciate. As indicated, these modifications may be made to the present invention in light of the foregoing description of illustrated embodiments of the present invention and are to be included within the spirit and scope of the present invention.
- Thus, while the present invention has been described herein with reference to particular embodiments thereof, a latitude of modification, various changes and substitutions are intended in the foregoing disclosures, and it will be appreciated that in some instances some features of embodiments of the invention will be employed without a corresponding use of other features without departing from the scope and spirit of the invention as set forth. Therefore, many modifications may be made to adapt a particular situation or material to the essential scope and spirit of the present invention. It is intended that the invention not be limited to the particular terms used in following claims and/or to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include any and all embodiments and equivalents falling within the scope of the appended claims.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/756,169 US8009571B2 (en) | 2005-11-25 | 2010-04-07 | Method and system for PHY loop detection |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/287,047 US7701862B2 (en) | 2005-11-25 | 2005-11-25 | Method and system for PHY loop detection |
US12/756,169 US8009571B2 (en) | 2005-11-25 | 2010-04-07 | Method and system for PHY loop detection |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/287,047 Continuation US7701862B2 (en) | 2005-11-25 | 2005-11-25 | Method and system for PHY loop detection |
Publications (2)
Publication Number | Publication Date |
---|---|
US20100191794A1 true US20100191794A1 (en) | 2010-07-29 |
US8009571B2 US8009571B2 (en) | 2011-08-30 |
Family
ID=38087347
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/287,047 Active 2028-08-17 US7701862B2 (en) | 2005-11-25 | 2005-11-25 | Method and system for PHY loop detection |
US12/756,169 Active US8009571B2 (en) | 2005-11-25 | 2010-04-07 | Method and system for PHY loop detection |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/287,047 Active 2028-08-17 US7701862B2 (en) | 2005-11-25 | 2005-11-25 | Method and system for PHY loop detection |
Country Status (1)
Country | Link |
---|---|
US (2) | US7701862B2 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7701862B2 (en) * | 2005-11-25 | 2010-04-20 | Cisco Technology, Inc. | Method and system for PHY loop detection |
TWI424713B (en) * | 2009-12-02 | 2014-01-21 | Realtek Semiconductor Corp | Loop detection method and network device applying the same |
CN102223238B (en) * | 2010-04-16 | 2013-11-06 | 鸿富锦精密工业(深圳)有限公司 | Switching equipment and loopback detecting method thereof |
TWI469568B (en) * | 2010-04-22 | 2015-01-11 | Hon Hai Prec Ind Co Ltd | Switching device and loopback detecting method thereof |
US8576727B2 (en) | 2010-04-23 | 2013-11-05 | Broadcom Corporation | System and method for unique identifier exchange during auto-negotiation |
CN103378998A (en) * | 2012-04-27 | 2013-10-30 | 中兴通讯股份有限公司 | Method and device for Ethernet port loopback detection |
US20130339497A1 (en) * | 2012-06-13 | 2013-12-19 | Schneider Electric Industries, SAS | Configuring devices in a network |
US9900283B2 (en) * | 2014-06-25 | 2018-02-20 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Dynamic local media access control (MAC) address assignment |
US10033586B2 (en) | 2014-12-03 | 2018-07-24 | Intel Corporation | Technologies for autonegotiating 10G and 1G serial communications over copper cable |
CN108075910B (en) | 2016-11-11 | 2021-07-16 | 华为技术有限公司 | Configuration method of communication equipment and communication equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6215816B1 (en) * | 1997-03-04 | 2001-04-10 | Texas Instruments Incorporated | Physical layer interface device |
US20030179710A1 (en) * | 2002-03-21 | 2003-09-25 | Broadcom Corporation | Auto detection of SGMII and GBIC modes |
US20040013126A1 (en) * | 2002-07-22 | 2004-01-22 | Yun Yeou-Sun | Method of parallel detection for ethernet protocol |
US6826156B1 (en) * | 1998-06-24 | 2004-11-30 | Qualcomm Incorporated | Loopback processing method and apparatus |
US6992989B2 (en) * | 2000-07-07 | 2006-01-31 | Via Technologies, Inc. | Method for solving a mismatched negotiation problem between an auto-negotiation mode and an enforce mode |
US7337241B2 (en) * | 2002-09-27 | 2008-02-26 | Alacritech, Inc. | Fast-path apparatus for receiving data corresponding to a TCP connection |
US20090132735A1 (en) * | 2006-02-09 | 2009-05-21 | Freescale Ssemiconductor, Inc., | Method for exchanging information with physical layer component registers |
US7701862B2 (en) * | 2005-11-25 | 2010-04-20 | Cisco Technology, Inc. | Method and system for PHY loop detection |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6571181B1 (en) * | 1999-08-11 | 2003-05-27 | Broadcom Corporation | System and method for detecting a device requiring power |
US7068609B2 (en) * | 2000-08-09 | 2006-06-27 | Broadcom Corporation | Method and apparatus for performing wire speed auto-negotiation |
TW550508B (en) * | 2001-12-21 | 2003-09-01 | Via Tech Inc | Configuration method for auto-negotiation mode and the associated devices |
TWI220610B (en) * | 2002-05-24 | 2004-08-21 | Realtek Semiconductor Corp | Method and device for setting the autonegotiation mode of a repeater |
US7124330B2 (en) * | 2002-09-27 | 2006-10-17 | Broadcom Corporation | Physical layer loop back method and apparatus |
US7961746B2 (en) * | 2008-01-07 | 2011-06-14 | Asix Electronics Corporation | Advanced single-chip USB-to-ethernet controller with a dual-PHY mode capacity for ethernet PHY or USB-to-rev-MII bridging |
-
2005
- 2005-11-25 US US11/287,047 patent/US7701862B2/en active Active
-
2010
- 2010-04-07 US US12/756,169 patent/US8009571B2/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6215816B1 (en) * | 1997-03-04 | 2001-04-10 | Texas Instruments Incorporated | Physical layer interface device |
US6826156B1 (en) * | 1998-06-24 | 2004-11-30 | Qualcomm Incorporated | Loopback processing method and apparatus |
US6992989B2 (en) * | 2000-07-07 | 2006-01-31 | Via Technologies, Inc. | Method for solving a mismatched negotiation problem between an auto-negotiation mode and an enforce mode |
US20030179710A1 (en) * | 2002-03-21 | 2003-09-25 | Broadcom Corporation | Auto detection of SGMII and GBIC modes |
US7203174B2 (en) * | 2002-03-21 | 2007-04-10 | Broadcom Corporation | Auto detection of SGMII and GBIC modes |
US20040013126A1 (en) * | 2002-07-22 | 2004-01-22 | Yun Yeou-Sun | Method of parallel detection for ethernet protocol |
US7337241B2 (en) * | 2002-09-27 | 2008-02-26 | Alacritech, Inc. | Fast-path apparatus for receiving data corresponding to a TCP connection |
US7701862B2 (en) * | 2005-11-25 | 2010-04-20 | Cisco Technology, Inc. | Method and system for PHY loop detection |
US20090132735A1 (en) * | 2006-02-09 | 2009-05-21 | Freescale Ssemiconductor, Inc., | Method for exchanging information with physical layer component registers |
Also Published As
Publication number | Publication date |
---|---|
US8009571B2 (en) | 2011-08-30 |
US7701862B2 (en) | 2010-04-20 |
US20070121518A1 (en) | 2007-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8009571B2 (en) | Method and system for PHY loop detection | |
JP3857317B2 (en) | Automatic negotiation progress monitor | |
US7801027B2 (en) | Auto-negotiation by nodes on an infiniband fabric | |
US8665901B1 (en) | Methods and apparatus for performing reverse auto-negotiation in network communication | |
CN106817264B (en) | Method, device and system for detecting link fault | |
US8576727B2 (en) | System and method for unique identifier exchange during auto-negotiation | |
EP1080402B1 (en) | Power reduction algorithm for ethernet transceiver | |
JP3320297B2 (en) | Operation mode establishment / maintenance method and station for connecting to port of LAN switch | |
US20090232152A1 (en) | Method and apparatus for aggregating ports | |
US7561592B1 (en) | Method and apparatus for fiber auto-negotiation | |
US20060171302A1 (en) | Data transmission in a network comprising bridges | |
JP2002271445A (en) | Auto-negotiation method for high speed link and auto- negotiation apparatus | |
US6665275B1 (en) | Network device including automatic detection of duplex mismatch | |
US8054749B2 (en) | Method and apparatus for checking maintenance association integrity and method and apparatus for adding maintenance end point | |
CN106603261A (en) | Hot backup method, first master device, backup device and communication system | |
JP5387227B2 (en) | Setting change method and program by network manager device, control method and program for network device, network manager device and network device | |
TWI753165B (en) | Method for controlling wireless device under test using non-link testing resources | |
US9893979B2 (en) | Network topology discovery by resolving loops | |
WO2016015606A1 (en) | Method for locating port connection error and related device | |
US7339902B2 (en) | Repeater for performing auto-negotiation between two node devices in a network | |
US10148515B2 (en) | Determining connections of non-external network facing ports | |
JP2013511932A (en) | Method and system for facilitating one-to-many data transmission to multiple computing devices | |
US8300539B2 (en) | Switching device and loopback detecting method | |
US20160344571A1 (en) | Determining Connections Between Disconnected Partial Trees | |
KR20130078384A (en) | A method for linking ethernet communication for digital protective relay and the digital protective relay performing the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: CISCO TECHNOLOGY, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ARUNACHALAM, SARAVAN;BARRASS, HUGH;SIGNING DATES FROM 20051109 TO 20051121;REEL/FRAME:024201/0931 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 12 |