CN111147401A - PHY card hot plug method and device - Google Patents

PHY card hot plug method and device Download PDF

Info

Publication number
CN111147401A
CN111147401A CN201911330295.8A CN201911330295A CN111147401A CN 111147401 A CN111147401 A CN 111147401A CN 201911330295 A CN201911330295 A CN 201911330295A CN 111147401 A CN111147401 A CN 111147401A
Authority
CN
China
Prior art keywords
phy
phy card
card
driver
response
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
Application number
CN201911330295.8A
Other languages
Chinese (zh)
Other versions
CN111147401B (en
Inventor
张连聘
李奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911330295.8A priority Critical patent/CN111147401B/en
Publication of CN111147401A publication Critical patent/CN111147401A/en
Application granted granted Critical
Publication of CN111147401B publication Critical patent/CN111147401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/40Constructional details, e.g. power supply, mechanical construction or backplane
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports

Abstract

The invention discloses a PHY card hot plug method and a device, comprising the following steps: triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot unplug occurring; responding to the loading of the PHY driver, acquiring the type of the PHY card and configuring working parameters of the PHY card according to the type of the PHY card; in response to loading or removing the PHY driver, the status scanning service of the corresponding port of the PHY card is started or stopped. The invention can support the hot plug requirement of the PHY card, meet the requirement of customers and improve the working efficiency.

Description

PHY card hot plug method and device
Technical Field
The present invention relates to the field of switches, and in particular, to a PHY card hot plug method and apparatus.
Background
In the switching field, core layer switches with a large number of ports are typically designed in the form of multiple PHY (ethernet physical layer) cards, and due to traffic demands, these cards are typically expected to be designed in a hot-pluggable fashion. However, in the hot plug process, the power supply, the high-speed signal link and the low-speed signal link are affected on the hardware level; on the other hand, the driving layer does not support the hot plug function of the PHY card.
Aiming at the problem that the hot plug of the PHY card in the prior art is difficult to realize, no effective solution is available at present.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a PHY card hot plug method and apparatus, which can support the hot plug requirement of a PHY card, meet the customer requirement, and improve the working efficiency.
Based on the above object, a first aspect of the embodiments of the present invention provides a PHY card hot plug method, including the following steps:
triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot unplug occurring;
responding to the loading of the PHY driver, acquiring the type of the PHY card and configuring working parameters of the PHY card according to the type of the PHY card;
in response to loading or removing the PHY driver, the status scanning service of the corresponding port of the PHY card is started or stopped.
In some implementations, triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot-plug or hot-unplug occurring includes:
sending a hardware interrupt signal by a complex logic programmable device on a mainboard in response to the PHY card hot plug or hot unplug;
the PHY driver is loaded or removed by the interrupt service routine in response to the central processor receiving a hardware interrupt signal.
In some embodiments, in response to loading the PHY driver, obtaining the PHY card type and configuring the operating parameters of the PHY card according to the PHY card type includes:
obtaining a PHY card type in response to loading the PHY driver;
configuring the interface type, error correction protocol and port rate of the PHY card according to the type of the PHY card;
and configuring polarity inversion and pre-emphasis parameters of the PHY card according to the type of the PHY card.
In some embodiments, configuring the interface type, error correction protocol, and port rate of the PHY card according to the PHY card type includes: the interface types, error correction protocols and port rates of the PHY cards on the chip side and the external side are respectively configured, and the data on the chip side and the external side are the same or different.
In some implementations, starting or stopping the status scan service of the corresponding port of the PHY card in response to loading or removing the PHY driver includes:
starting or stopping a scanning function called by the PHY driver to periodically scan the connection state of the corresponding port in response to loading or removing the PHY driver;
in response to the scan function starting or stopping, the status scan service of the corresponding port of the PHY card is started or stopped, respectively.
A second aspect of the present invention provides a PHY card hot plug apparatus, including:
a processor; and
a memory storing program code executable by the processor, the program code when executed performing the steps of:
triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot unplug occurring;
responding to the loading of the PHY driver, acquiring the type of the PHY card and configuring working parameters of the PHY card according to the type of the PHY card;
in response to loading or removing the PHY driver, the status scanning service of the corresponding port of the PHY card is started or stopped.
In some implementations, triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot-plug or hot-unplug occurring includes:
sending a hardware interrupt signal by a complex logic programmable device on a mainboard in response to the PHY card hot plug or hot unplug;
the PHY driver is loaded or removed by the interrupt service routine in response to the central processor receiving a hardware interrupt signal.
In some embodiments, in response to loading the PHY driver, obtaining the PHY card type and configuring the operating parameters of the PHY card according to the PHY card type includes:
obtaining a PHY card type in response to loading the PHY driver;
configuring the interface type, error correction protocol and port rate of the PHY card according to the type of the PHY card;
and configuring polarity inversion and pre-emphasis parameters of the PHY card according to the type of the PHY card.
In some embodiments, configuring the interface type, error correction protocol, and port rate of the PHY card according to the PHY card type includes: the interface types, error correction protocols and port rates of the PHY cards on the chip side and the external side are respectively configured, and the data on the chip side and the external side are the same or different.
In some implementations, starting or stopping the status scan service of the corresponding port of the PHY card in response to loading or removing the PHY driver includes:
starting or stopping a scanning function called by the PHY driver to periodically scan the connection state of the corresponding port in response to loading or removing the PHY driver;
in response to the scan function starting or stopping, the status scan service of the corresponding port of the PHY card is started or stopped, respectively.
The invention has the following beneficial technical effects: according to the PHY card hot plug method and the PHY card hot plug device, the PHY driver is loaded or removed by triggering hardware interrupt in response to the occurrence of PHY card hot plug or hot plug; responding to the loading of the PHY driver, acquiring the type of the PHY card and configuring working parameters of the PHY card according to the type of the PHY card; the technical scheme of responding to the loading or removing of the PHY driver and starting or stopping the state scanning service of the corresponding port of the PHY card can support the hot plug requirement of the PHY card, meet the requirement of a client and improve the working efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a PHY card hot plug method according to the present invention;
fig. 2 is a detailed flowchart of the PHY card hot plug method according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method capable of supporting a hot plug requirement of a PHY card. Fig. 1 is a schematic flow chart illustrating a PHY card hot plug method according to the present invention.
The PHY card hot plug method, as shown in fig. 1, includes the following steps:
step S101: triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot unplug occurring;
step S103: responding to the loading of the PHY driver, acquiring the type of the PHY card and configuring working parameters of the PHY card according to the type of the PHY card;
step S105: in response to loading or removing the PHY driver, the status scanning service of the corresponding port of the PHY card is started or stopped.
The PHY card hot plug function is realized by firstly solving the problem that software needs to sense the real hot plug operation of hardware, and the method for sensing the PHY card hot plug event in the method uses an interrupt notification mechanism, when the PHY card is subjected to hot plug action, an FPGA (complex logic programmable device) on a mainboard can detect that the in-place state of the PHY card is changed, and then hardware interrupt can be sent to a CPU (central processing unit), so that the CPU senses that the PHY card is subjected to hot plug action. And after sensing the event, the driving layer starts to perform subsequent processing actions according to the plug-in and plug-out events.
During the hot-plug process, there is a power-down and power-up process of the PHY card, which means that the PHY card needs to reinitialize and clear the PHY driver. Generally, a PHY card requires a complicated initialization process after power-on reset. The method mainly comprises configuration of port mode and rate, configuration of polarity of a sending end and a receiving end, configuration of AN (automatic negotiation Ethernet communication rate), configuration of FEC (method for correcting error data by using redundant data) and the like. When the line card is unplugged, the presence of the PHY driver in the upper layer software becomes meaningless, requiring the PHY driver to be removed from the system. The system is implemented by judging the type of the PHY card after detecting the insertion of the PHY card and carrying out specific initialization operation according to the type of the PHY card. When the PHY card is detected to be pulled out, the drive of the corresponding PHY is cleared to ensure that the PHY card can be initialized normally when the line card is inserted next time.
When the switch processes user traffic, the connection state (UP/DOWN) of the port is treated as an important signal. Since the PHY card is a direct module for connecting external optical modules, attention needs to be paid to real-time connection states of respective ports of the PHY card. The PHY driver provides a function for acquiring the connection state of the specified port, and the function can be called by the port state scanning program. In order to acquire the Link state of the port in real time, the invention starts a port state scanning service on the drive layer, and the service acquires the port state periodically. Therefore, after the PHY card is unplugged, the port state of the PHY card cannot be obtained, and at this time, because the PHY card is not in place, it is not necessary to scan the port connection state of the unplugged PHY card, so the port state scanning function corresponding to the PHY card needs to be turned off. Similarly, when the PHY card is reinserted, the status scanning service of the port corresponding to the PHY card needs to be restarted.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. Embodiments of the computer program may achieve the same or similar effects as any of the preceding method embodiments to which it corresponds.
In some implementations, triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot-plug or hot-unplug occurring includes:
sending a hardware interrupt signal by a complex logic programmable device on a mainboard in response to the PHY card hot plug or hot unplug;
the PHY driver is loaded or removed by the interrupt service routine in response to the central processor receiving a hardware interrupt signal.
In some embodiments, in response to loading the PHY driver, obtaining the PHY card type and configuring the operating parameters of the PHY card according to the PHY card type includes:
obtaining a PHY card type in response to loading the PHY driver;
configuring the interface type, error correction protocol and port rate of the PHY card according to the type of the PHY card;
and configuring polarity inversion and pre-emphasis parameters of the PHY card according to the type of the PHY card.
In some embodiments, configuring the interface type, error correction protocol, and port rate of the PHY card according to the PHY card type includes: the interface types, error correction protocols and port rates of the PHY cards on the chip side and the external side are respectively configured, and the data on the chip side and the external side are the same or different.
In some implementations, starting or stopping the status scan service of the corresponding port of the PHY card in response to loading or removing the PHY driver includes:
starting or stopping a scanning function called by the PHY driver to periodically scan the connection state of the corresponding port in response to loading or removing the PHY driver;
in response to the scan function starting or stopping, the status scan service of the corresponding port of the PHY card is started or stopped, respectively.
The method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU (central processing unit), and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention. The above-described method steps and system elements may also be implemented using a controller and a computer-readable storage medium for storing a computer program for causing the controller to implement the functions of the above-described steps or elements.
The following further illustrates an embodiment of the present invention in accordance with the embodiment shown in fig. 2.
Referring to fig. 2, a hot-plug operation of a 100G PHY card will be described as an example. The chip model used by the 100G PHY card is BCM81724, the management PHY needs to use SMI (MDC/MDIO) (interface of the management PHY) bus, and the communication protocol is CL45 protocol. The model of the MAC chip connected with the BCM81724 is BCM56980, the communication signal between the MAC and the PHY is PAM4, and the communication signal of the optical module provided by the PHY to the outside is NRZ. BCM56980 provides an SMI management bus and the driver controls BCM81724 via an SMI controller that controls BCM56980, thereby enabling initialization operations of the PHY. When the insertion of the PHY card is detected, an initialization operation of the PHY card needs to be performed. The interface type of the PHY and MAC (switching chip) interconnection side is configured as PAM4, the FEC needs to be set as RS544, and the port rate is set as 100G; the interface type of the port side provided by the PHY to the outside is configured to be NRZ, the FEC is configured to be RS528, and the port rate is also configured to be 100G; after configuring the basic port mode, configuring the polarity inversion of the PHY to the externally provided port side, and finally configuring the pre-emphasis parameter; this concludes the configuration of the PHY. At this time, the status scan service inserted into the port corresponding to the PHY card needs to be opened. Here, the drive layer of the MAC has a service program that periodically scans the port state of the MAC, and on the basis of the service program, we register a return function, which reads the port state of the PHY, and gives a final result in combination with the port state of the MAC, and feeds back the result to the application layer. When the line card is pulled out, the driving program of the PHY is removed in the first step, and the status scanning service program of the port corresponding to the PHY card is stopped in the second step.
As can be seen from the foregoing embodiments, the PHY card hot plug method provided in the embodiments of the present invention loads or removes a PHY driver by triggering a hardware interrupt in response to a PHY card hot plug or hot plug occurring; obtaining a PHY card type to configure operating parameters of the PHY card in response to loading the PHY driver; the technical scheme of starting or stopping the state scanning service of the corresponding port of the PHY card in response to the loading or removing of the PHY driver can support the hot plug requirement of the PHY card, meet the customer requirement and improve the working efficiency.
It should be noted that, the above-mentioned PHY card hot plug method may have steps crossing, replacing, adding, or deleting, and therefore, these changes should also fall within the scope of the present invention, and should not limit the scope of the present invention to the above-mentioned embodiments.
In view of the above object, according to a second aspect of the embodiments of the present invention, an embodiment of an apparatus capable of supporting a hot plug requirement of a PHY card is provided. The PHY card hot plug device comprises:
a processor; and
a memory storing program code executable by the processor, the program code when executed performing the steps of:
triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot unplug occurring;
responding to the loading of the PHY driver, acquiring a PHY card type and configuring working parameters of the PHY card according to the PHY card type;
in response to loading or removing the PHY driver, the status scanning service of the corresponding port of the PHY card is started or stopped.
In some implementations, triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot-plug or hot-unplug occurring includes:
sending a hardware interrupt signal by a complex logic programmable device on a mainboard in response to the PHY card hot plug or hot unplug;
the PHY driver is loaded or removed by the interrupt service routine in response to the central processor receiving a hardware interrupt signal.
In some embodiments, in response to loading the PHY driver, obtaining the PHY card type and configuring the operating parameters of the PHY card according to the PHY card type includes:
obtaining a PHY card type in response to loading the PHY driver;
configuring the interface type, error correction protocol and port rate of the PHY card according to the type of the PHY card;
and configuring polarity inversion and pre-emphasis parameters of the PHY card according to the type of the PHY card.
In some embodiments, configuring the interface type, error correction protocol, and port rate of the PHY card according to the PHY card type includes: the interface types, error correction protocols and port rates of the PHY cards on the chip side and the external side are respectively configured, and the data on the chip side and the external side are the same or different.
In some implementations, starting or stopping the status scan service of the corresponding port of the PHY card in response to loading or removing the PHY driver includes:
starting or stopping a scanning function called by the PHY driver to periodically scan the connection state of the corresponding port in response to loading or removing the PHY driver;
in response to the scan function starting or stopping, the status scan service of the corresponding port of the PHY card is started or stopped, respectively.
As can be seen from the foregoing embodiments, the PHY card hot plug apparatus according to the embodiments of the present invention triggers a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot plug occurring; responding to the loading of the PHY driver, acquiring the type of the PHY card and configuring working parameters of the PHY card according to the type of the PHY card; the technical scheme of responding to the loading or removing of the PHY driver and starting or stopping the state scanning service of the corresponding port of the PHY card can support the hot plug requirement of the PHY card, meet the requirement of a client and improve the working efficiency.
It should be particularly noted that the above-mentioned embodiment of the PHY card hot plug apparatus employs the embodiment of the PHY card hot plug method to specifically describe the working process of each module, and those skilled in the art can easily think that these modules are applied to other embodiments of the PHY card hot plug method. Of course, since the steps in the PHY card hot plug method embodiment may be mutually intersected, replaced, added, or deleted, these reasonable permutation and combination transformations should also be included in the scope of the present invention for the PHY card hot plug apparatus, and should not limit the scope of the present invention to the embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items. The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of an embodiment of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A PHY card hot plug method is characterized by comprising the following steps:
triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot unplug occurring;
responding to the loading of the PHY driver, acquiring the PHY card type and configuring working parameters of the PHY card according to the PHY card type;
starting or stopping a status scanning service of a corresponding port of the PHY card in response to loading or removing the PHY driver.
2. The method of claim 1, wherein triggering a hardware interrupt to load or remove the PHY driver in response to the PHY card hot-plug or hot-unplug occurring comprises:
issuing a hardware interrupt signal by a complex logic programmable device on a motherboard in response to the PHY card hot-plug or hot-unplug occurring;
loading or removing the PHY driver by an interrupt service routine in response to a central processor receiving the hardware interrupt signal.
3. The method of claim 1, wherein obtaining the PHY card type and configuring operating parameters of the PHY card according to the PHY card type in response to loading the PHY driver comprises:
obtaining the PHY card type in response to loading the PHY driver;
configuring an interface type, an error correction protocol and a port rate of the PHY card according to the PHY card type;
and configuring polarity inversion and pre-emphasis parameters of the PHY card according to the type of the PHY card.
4. The method of claim 3, wherein configuring the interface type, error correction protocol, and port rate of the PHY card according to the PHY card type comprises: and respectively configuring the interface type, the error correction protocol and the port rate of the PHY card at the chip side and the external side, wherein the data at the chip side and the external side are the same or different.
5. The method of claim 1, wherein starting or stopping state scanning services of the corresponding port of the PHY card in response to loading or removing the PHY driver comprises:
in response to loading or removing the PHY driver, starting or stopping a scanning function called by the PHY driver to periodically scan the connection state of the corresponding port;
responsive to the scan function starting or stopping, respectively starting or stopping state scan services of the corresponding port of the PHY card.
6. A PHY card hot swap apparatus, comprising:
a processor; and
a memory storing program code executable by the processor, the program code when executed performing the steps of:
triggering a hardware interrupt to load or remove a PHY driver in response to a PHY card hot plug or hot unplug occurring;
responding to the loading of the PHY driver, acquiring the PHY card type and configuring working parameters of the PHY card according to the PHY card type;
starting or stopping a status scanning service of a corresponding port of the PHY card in response to loading or removing the PHY driver.
7. The apparatus of claim 6, wherein triggering a hardware interrupt to load or remove the PHY driver in response to the PHY card hot-plug or hot-unplug occurring comprises:
issuing a hardware interrupt signal by a complex logic programmable device on a motherboard in response to the PHY card hot-plug or hot-unplug occurring;
loading or removing the PHY driver by an interrupt service routine in response to a central processor receiving the hardware interrupt signal.
8. The apparatus of claim 6, wherein, in response to loading the PHY driver, obtaining the PHY card type and configuring the operating parameters of the PHY card according to the PHY card type comprises:
obtaining the PHY card type in response to loading the PHY driver;
configuring an interface type, an error correction protocol and a port rate of the PHY card according to the PHY card type;
and configuring polarity inversion and pre-emphasis parameters of the PHY card according to the type of the PHY card.
9. The apparatus of claim 8, wherein configuring the interface type, error correction protocol, and port rate of the PHY card according to the PHY card type comprises: and respectively configuring the interface type, the error correction protocol and the port rate of the PHY card at the chip side and the external side, wherein the data at the chip side and the external side are the same or different.
10. The apparatus of claim 6, wherein starting or stopping state scanning services of the corresponding port of the PHY card in response to loading or removing the PHY driver comprises:
starting or stopping a scanning function called by the PHY driver to periodically scan a connection state of the corresponding port in response to loading or removing the PHY driver;
responsive to the scan function starting or stopping, respectively starting or stopping state scan services of the corresponding port of the PHY card.
CN201911330295.8A 2019-12-20 2019-12-20 PHY card hot plug method and device Active CN111147401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911330295.8A CN111147401B (en) 2019-12-20 2019-12-20 PHY card hot plug method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911330295.8A CN111147401B (en) 2019-12-20 2019-12-20 PHY card hot plug method and device

Publications (2)

Publication Number Publication Date
CN111147401A true CN111147401A (en) 2020-05-12
CN111147401B CN111147401B (en) 2022-03-22

Family

ID=70519228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911330295.8A Active CN111147401B (en) 2019-12-20 2019-12-20 PHY card hot plug method and device

Country Status (1)

Country Link
CN (1) CN111147401B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630187A (en) * 2021-07-25 2021-11-09 苏州浪潮智能科技有限公司 PHY initialization method, system, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936875A (en) * 2005-09-23 2007-03-28 英业达股份有限公司 Hot plug-pull control system and method
US20100115316A1 (en) * 2008-11-05 2010-05-06 Wael William Diab Method and system for managing energy efficiency of a network link via pluggable transceiver modules in an energy efficient network device
CN102053939A (en) * 2009-10-30 2011-05-11 英业达股份有限公司 Hot-plug control method of Peripheral Component Interconnect Express (PCIE) tab
CN103176413A (en) * 2011-12-21 2013-06-26 北京普源精电科技有限公司 Control method for bus structured data acquisition unit supporting hot swapping
US20140195830A1 (en) * 2013-01-04 2014-07-10 Jennifer Chin System and method for power management
CN105204559A (en) * 2015-10-21 2015-12-30 上海斐讯数据通信技术有限公司 Automatic adjusting method and system for PHY (physical layer) transceiver driving current
CN107341123A (en) * 2017-07-25 2017-11-10 郑州云海信息技术有限公司 A kind of method and system of PCIe card hot plug
CN107590045A (en) * 2017-08-24 2018-01-16 郑州云海信息技术有限公司 A kind of method for carrying out hot plug test to EIO boards under linux system
CN107678994A (en) * 2017-09-15 2018-02-09 华为技术有限公司 PCIe device hot drawing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936875A (en) * 2005-09-23 2007-03-28 英业达股份有限公司 Hot plug-pull control system and method
US20100115316A1 (en) * 2008-11-05 2010-05-06 Wael William Diab Method and system for managing energy efficiency of a network link via pluggable transceiver modules in an energy efficient network device
CN102053939A (en) * 2009-10-30 2011-05-11 英业达股份有限公司 Hot-plug control method of Peripheral Component Interconnect Express (PCIE) tab
CN103176413A (en) * 2011-12-21 2013-06-26 北京普源精电科技有限公司 Control method for bus structured data acquisition unit supporting hot swapping
US20140195830A1 (en) * 2013-01-04 2014-07-10 Jennifer Chin System and method for power management
CN105204559A (en) * 2015-10-21 2015-12-30 上海斐讯数据通信技术有限公司 Automatic adjusting method and system for PHY (physical layer) transceiver driving current
CN107341123A (en) * 2017-07-25 2017-11-10 郑州云海信息技术有限公司 A kind of method and system of PCIe card hot plug
CN107590045A (en) * 2017-08-24 2018-01-16 郑州云海信息技术有限公司 A kind of method for carrying out hot plug test to EIO boards under linux system
CN107678994A (en) * 2017-09-15 2018-02-09 华为技术有限公司 PCIe device hot drawing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630187A (en) * 2021-07-25 2021-11-09 苏州浪潮智能科技有限公司 PHY initialization method, system, equipment and medium

Also Published As

Publication number Publication date
CN111147401B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
JP4768017B2 (en) Point-to-point link negotiation method and apparatus
CN108228374B (en) Equipment fault processing method, device and system
RU2614569C2 (en) Rack with automatic recovery function and method of automatic recovery for this rack
US9847911B1 (en) System and method for customized port configuration
CN107038137B (en) Hot-plug equipment and method
CN104639375A (en) Interface management method and network equipment
EP3319283A1 (en) Server data port learning at data switch
US20140059257A1 (en) Keyboard-video-mouse system and method of providing and using the same
CN111147401B (en) PHY card hot plug method and device
CN112445533A (en) Method, system, device and medium for resetting PCIE (peripheral component interface express) device
CN108897577A (en) A kind of server backplane CPLD state self-adaption system and method
CN111417034A (en) Switch and hot plug method, device and system for switch board card thereof
US10419227B2 (en) Network card
WO2018054109A1 (en) Port setting method, device, and system
CN112333013A (en) Self-adaptive networking method, device, router and storage medium
JP2007047909A (en) Usb device, and method for evading its standby status
CN112015690A (en) Intelligent device management method and device, network device and readable storage medium
CN113177063B (en) Thermal reset method and related device of PCI bus equipment
CN115509333A (en) Server collaborative power-on and power-off device, method, system and medium
CN115269474A (en) Server and PCIe hot plug control method, device and medium thereof
CN113946530A (en) Control method and device of expansion card and nonvolatile storage medium
CN110096366B (en) Configuration method and device of heterogeneous memory system and server
CN112187937A (en) Method and device for removing pairing, terminal equipment and storage medium
Cisco Troubleshooting
CN113950044A (en) Method and device for identifying user identification card, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant