Methods and apparatus for transferring data using a device driver
    1.
    发明授权
    Methods and apparatus for transferring data using a device driver 有权
    使用设备驱动程序传输数据的方法和设备

    公开(公告)号:US06594709B1

    公开(公告)日:2003-07-15

    申请号:US09405612

    申请日:1999-09-24

    IPC分类号: G06F1310

    摘要: The invention is directed to techniques for transferring data using a device driver that is arranged to prevent improper operation of a non-primary routine (e.g., an administrative operation) from causing improper operation of a primary routine (e.g., a data transfer operation). Accordingly, the primary routine can continue to operate properly after a failure of the non-primary routine. In one arrangement, a data communications device transfers data. The data communications device includes a port that couples to a network, and a processor coupled to the port. The data communications device further includes memory, coupled to the processor, that stores a device driver. The device driver has a first set of instructions that directs the processor to perform a data transfer routine that moves data between memory and the port, and a second set of instructions that directs the processor to perform an administrative routine. The second set of instructions is arranged to prevent improper operation of the administrative routine from causing improper operation of the data transfer routine. In particular, execution and communication mechanisms enable the primary and administrative routines to operate in such a fault-tolerant manner.

    摘要翻译: 本发明涉及用于使用被设置为防止非主要例程(例如,管理操作)的不正确操作导致主程序(例如,数据传送操作)的不正确操作的设备驱动程序来传送数据的技术。 因此,主程序可以在非主程序故障之后继续正常运行。 在一种布置中,数据通信设备传送数据。 数据通信设备包括耦合到网络的端口和耦合到该端口的处理器。 数据通信设备还包括存储设备驱动器的存储器,其耦合到处理器。 设备驱动器具有指导处理器执行在存储器和端口之间移动数据的数据传输例程的第一组指令,以及指示处理器执行管理程序的第二组指令。 第二组指令被设置为防止管理程序的不正常操作导致数据传输例程的不正确操作。 特别地,执行和通信机制使主要和管理例程能够以这样的容错方式运行。

    Methods and apparatus for moving data elements within a data communications device
    2.
    发明授权
    Methods and apparatus for moving data elements within a data communications device 有权
    用于在数据通信设备内移动数据元素的方法和装置

    公开(公告)号:US07395356B2

    公开(公告)日:2008-07-01

    申请号:US10981815

    申请日:2004-11-05

    CPC分类号: H04L49/90

    摘要: A method includes a step of (A) determining which of multiple network interfaces indicates readiness to transmit a data element to a network and which of the multiple network interfaces indicates receipt of a data element from the network. The method further includes a step of (B) running, for each network interface indicating readiness to transmit a data element to the network, a transmit interrupt handler to load that network interface with a data element for transmission if such a data element is available for transmission within the data communications device, in response to giving higher priority to handling transmit interrupts relative to handling receive interrupts. The method further includes a step of (C) after step B, running, for at least one network interface which indicates receipt of a data element from the network, a receive interrupt handler to process that data element.

    摘要翻译: 一种方法包括以下步骤:(A)确定多个网络接口中的哪一个指示准备将数据元素发送到网络,以及多个网络接口中的哪一个指示从网络接收数据元素。 该方法还包括以下步骤:(B)对于指示准备将数据元素发送到网络的每个网络接口,传送中断处理程序将该网络接口加载到数据元素以进行传输,如果这样的数据元素可用于 响应于相对于处理接收中断处理发送中断的优先级更高,数据通信设备内的传输。 该方法还包括步骤B(C)之后,对于指示从网络接收到数据元素的至少一个网络接口,运行接收中断处理程序来处理该数据元素。

    Methods and apparatus for moving data elements within a data communications device
    3.
    发明申请
    Methods and apparatus for moving data elements within a data communications device 有权
    用于在数据通信设备内移动数据元素的方法和装置

    公开(公告)号:US20050094559A1

    公开(公告)日:2005-05-05

    申请号:US10981815

    申请日:2004-11-05

    IPC分类号: H04L12/56 H04J3/14 H04L12/28

    CPC分类号: H04L49/90

    摘要: A method includes a step of (A) determining which of multiple network interfaces indicates readiness to transmit a data element to a network and which of the multiple network interfaces indicates receipt of a data element from the network. The method further includes a step of (B) running, for each network interface indicating readiness to transmit a data element to the network, a transmit interrupt handler to load that network interface with a data element for transmission if such a data element is available for transmission within the data communications device, in response to giving higher priority to handling transmit interrupts relative to handling receive interrupts. The method further includes a step of (C) after step B, running, for at least one network interface which indicates receipt of a data element from the network, a receive interrupt handler to process that data element.

    摘要翻译: 一种方法包括以下步骤:(A)确定多个网络接口中的哪一个指示准备将数据元素发送到网络,以及多个网络接口中的哪一个指示从网络接收数据元素。 该方法还包括以下步骤:(B)对于指示准备将数据元素发送到网络的每个网络接口,传送中断处理程序将该网络接口加载用于传输的数据元素,如果这样的数据元素可用于 响应于相对于处理接收中断处理发送中断的优先级更高,数据通信设备内的传输。 该方法还包括步骤B(C)之后,对于指示从网络接收到数据元素的至少一个网络接口,运行接收中断处理程序来处理该数据元素。

    Methods and apparatus for moving data elements within a data communications device

    公开(公告)号:US06832265B1

    公开(公告)日:2004-12-14

    申请号:US09479511

    申请日:2000-01-07

    IPC分类号: G06F1516

    CPC分类号: H04L49/90

    摘要: The invention is directed to techniques for moving data elements within a data communications device which prioritizes handling transmit interrupts over handling receive interrupts. Preferably, while attending to transmit interrupts, the device gives priority to the “hungriest” interfaces. In one arrangement, the device includes multiple network interfaces which are capable of transmitting and receiving data elements with a network, and a controller, coupled to the interfaces. The controller is configured to perform a method comprising the steps of: assigning weights to the interfaces based on interface transmission capacities and/or the number of data elements ready for transmission through the interfaces; determining which of the interfaces indicates readiness to transmit a data element to the network and which of the interfaces indicates receipt of a data element from the network; exclusively running, for each interface indicating readiness to transmit a data element to the network, a transmit interrupt handler to load that interface with a data element for transmission if such a data element is available for transmission within the data communications device (the handling order of the interfaces being determined by the weights so that the “hungriest” interfaces are handled first); and after the step of exclusively running transmit interrupt handlers, running, for at least one interface which indicates receipt of a data element from the network, a receive interrupt handler to process that data element and restricting the amount of time consumed running the receive interrupt handlers before handling transmit interrupts again. Since the device prioritizes handling transmit interrupts over receive interrupts in a weighted preferential manner, the device handles transmit interrupts as early as possible to move data elements quickly to the interfaces. Accordingly, it is less likely that interfaces will “starve” for data elements.