Network adapter with an indication signal mask and an interrupt signal mask
DC CAFCFirst Claim
1. An apparatus for managing an indication signal supplied by a source of indication signals to present an interrupt signal to a host, comprising:
- a first mask logic for receiving the indication signal and which selectively masks at least a portion of the indication signal to output an indication value;
a first memory location, coupled to the first mask logic, for storing the indication value;
a second mask logic, coupled to the first memory location, for receiving the indication value from said first memory location and which selectively masks at least a portion of the indication value to output an interrupt value;
a second memory location, coupled to the second mask logic, for storing the interrupt value; and
interrupt means, coupled to the second memory location and responsive to the interrupt value from said second memory location, for generating the interrupt signal to the host.
7 Assignments
Litigations
1 Petition
Accused Products
Abstract
Indication and interrupt signals generated by a network adapter representing asynchronous events are managed by a host system. The network adapter includes a first mask logic for selectively disabling the indication signals from being stored in a first memory location by the host writing to a first mask register. A second mask logic which is coupled to the first memory location also selectively disables the indication signals from being stored in a second memory location creating two levels of status information. The indication signals may also be disabled from being stored in the second memory location responsive to the host writing to a second mask register. The first memory location may be read from the host in order to determine whether a network event occurred during an interrupt service routine, while interrupt means generates an interrupt signal to the host responsive to the value in the second memory location. A third level of control is provided by an internal counter which allows for automatic enabling and/or disabling of a plurality of indications and interrupts with and without explicit commands in the host driver subroutines.
51 Citations
30 Claims
-
1. An apparatus for managing an indication signal supplied by a source of indication signals to present an interrupt signal to a host, comprising:
-
a first mask logic for receiving the indication signal and which selectively masks at least a portion of the indication signal to output an indication value; a first memory location, coupled to the first mask logic, for storing the indication value; a second mask logic, coupled to the first memory location, for receiving the indication value from said first memory location and which selectively masks at least a portion of the indication value to output an interrupt value; a second memory location, coupled to the second mask logic, for storing the interrupt value; and interrupt means, coupled to the second memory location and responsive to the interrupt value from said second memory location, for generating the interrupt signal to the host. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An apparatus for managing a plurality of indication signals supplied by a source of indication signals to present an interrupt signal to a host having a host processor with an interrupt service routine and a host data bus, comprising:
-
counter mask logic for receiving the plurality of indication signals, which selectively masks at least a subset of the plurality of indication signals, and which outputs a set of counter masked indication signals; indication mask logic, coupled to the counter mask logic, for receiving said set of counter masked indication signals and which selectively masks said set of counter masked indication signals to output an indication value; an indication memory location, coupled to the indication mask logic, for storing the indication value; interrupt mask logic, coupled to the indication memory location, for receiving at least a portion of the indication value and which selectively masks at least a portion of the indication value to output an interrupt value; an interrupt memory location, coupled to the interrupt mask logic, for storing the interrupt value; and interrupt means, coupled to the interrupt memory location and responsive to the interrupt value, for generating the interrupt signal on the host data bus to the host processor. - View Dependent Claims (11, 12, 13)
-
-
14. An apparatus for managing a plurality of indication signals supplied by a source of indication signals to present an interrupt signal to a host having a host processor with an interrupt service routine and a host data bus, comprising:
-
counter mask logic for receiving the plurality of indication signals at least a subset of the plurality of indication signals, and for outputting a set of counter masked indication signals; indication mask logic, coupled to the counter mask logic, for receiving said set of counter masked indication signals and which selectively masks said set of counter masked indication signals to output an indication value; an indication memory location, coupled to the indication mask logic, for storing the indication value; interrupt mask logic, coupled to the indication memory location, for receiving at least a portion of the indication value and capable of selectively masking at least a portion of the indication value to output an interrupt value; an interrupt memory location, coupled to the interrupt mask logic, for storing the interrupt value; and interrupt means, coupled to the interrupt memory location and responsive to the interrupt value, for generating the interrupt signal on the host data bus to the host processor, wherein the host includes host software having a plurality of subroutines and the counter mask logic includes; a counter memory location containing a counter value; means for incrementing the counter value in the counter memory location responsive to a first host signal generated by at least a first subroutine; means for decrementing the counter value in the counter memory location responsive to a second host signal generated by at least a second subroutine; and means for masking the subset of the portion of the plurality of indication signals responsive to the counter value in the counter memory location. - View Dependent Claims (15, 16)
-
-
17. A network adapter for transferring data between a network transceiver coupled with a network, and a host system having a host processor, the network adapter generating a plurality of indication signals in response to network adapter events for management by the host processor to present an interrupt signal to the host processor, comprising:
-
counter mask logic for receiving the plurality of indication signals and capable of selectively masking at least a subset of the plurality of indication signals, the counter mask logic having a first register for selectively masking the subset of the plurality of indication signals responsive to the host processor writing to the first register; indication mask logic, coupled to the counter mask logic, for receiving individual indication signals from among the portion of the plurality of indication signals and capable of selectively masking the individual indication signals to output individual indication values, the indication mask logic having a second register for selectively masking the individual indication signals responsive to a write by the host processor to the second register; an indication memory location, coupled to the indication mask logic, for storing the individual indication values and for reading by the host processor; interrupt mask logic, coupled to the indication memory location, for receiving the individual indication values and capable of selectively masking individual indication values, the interrupt mask logic having a third register for selectively masking individual indication values to output an interrupt value responsive to a write by the host processor to the third register; an interrupt memory location, coupled to the interrupt mask logic, for storing the interrupt value and for reading by the host processor; and interrupt means, coupled to the interrupt memory location, for generating the interrupt signal to the host processor responsive to the interrupt value, wherein the host includes host software having a plurality of subroutines and the counter mask logic includes; means for incrementing a counter value in the first register responsive to a first host signal generated by at least a first subroutine; and means for decrementing the counter value in the first register responsive to a second host signal generated by at least a second subroutine. - View Dependent Claims (18, 19)
-
-
20. A network adapter for transferring data between a network transceiver, coupled with a network, and a host system having a host processor and host software subroutines, the network adapter generating a plurality of indication signals in response to the transferring of data for management by the host processor to present an interrupt signal to the host processor, comprising:
-
counter mask logic for receiving the plurality of indication signals and which selectively masks at least a subset of the plurality of indication signals, the counter mask logic having a first register for selectively masking the subset of the plurality of indication signals responsive to the host processor writing to the first register during a host software subroutine; indication mask logic, coupled to the counter mask logic, for receiving individual indication signals from among the plurality of indication signals and which selectively masks the individual indication signals to output individual indication values, the indication mask logic having a second register for selectively masking the individual indication signals responsive to a write by the host processor to the second register; a first indication memory location, coupled to the indication mask logic, for storing the individual indication values representing high priority individual indication signals and for reading by the host processor during a host software subroutine; a second indication memory location, coupled to the indication mask logic, for storing the individual indication values representing low priority individual indication signals and for reading by the host processor during a host software subroutine; interrupt mask logic, coupled to the first and second indication memory locations, for selectively disabling individual indication values that were not disabled by the indicating mask logic, the interrupt mask logic having a third register selectively disabling individual indication values responsive to a write by the host processor to the third register; a first interrupt memory location, coupled to the interrupt mask logic, for storing an interrupt value representing individual high priority indication values and for reading by the host processor; a second interrupt memory location, coupled to the interrupt mask logic, for storing an interrupt value representing individual low priority indication values and for reading by the host processor; and interrupt means, coupled to the first and second interrupt memory locations, for generating the interrupt signal to the host processor responsive to the interrupt value.
-
-
21. A method for managing transfer of signals from a network interface device to a host system, the signals indicating events detected by the network interface device, comprising:
-
said network interface device identifying events detected by the network interface device about which the host should have knowledge; selectively masking at least a portion of the events with a first mask to output a first indication signal, said host system being coupled to receive said first indication signal; selectively masking at least a portion of the first indication signal with a second mask to output a second indication signal, said host system coupled to receive said second indication signal as an interrupt; and communicating an interrupt signal to the host system in response to said second indication signal. - View Dependent Claims (22)
-
-
23. A method of managing indication signals by a host processor, the indication signals generated from a network adapter in response to data transfer events occurring at the network adapter, comprising:
-
providing the indication signals along a portion of a data path between the network adapter and the host processor; selectively masking at least a subset of the indication signals at a first mask, the first mask having a first mask pattern, to output a set of first masked signals; at a first time, said host processor reading said set of first masked signals;
selectively masking at least a subset of the first masked signals at a second mask, the second mask having a second mask pattern, to output a set of second masked signals; andat a second time, presenting a host interrupt signal to the host processor in response to the second masked signals. - View Dependent Claims (24, 25, 26, 27, 28)
-
-
29. A system comprising:
-
a processor having an interrupt input; and a network adapter device comprising, an indication signal generator having a plurality of indication signal outputs, an indication signal being generated in response to a network communications event, an indication signal mask device coupled to said plurality of indication signal outputs and coupled to receive an indication signal mask, said indication signal mask device having a plurality of masked indication signal outputs, a masked indication signal being selectively generated in response to receiving a corresponding indication signal from said indication signal generator and a corresponding portion of said indication signal mask being set to a first value, said masked indication signal outputs being coupled to said processor, an interrupt signal mask device coupled to said plurality of masked indication signal outputs and coupled to receive an interrupt signal mask, said interrupt signal mask device having a plurality of masked interrupt signal outputs, a masked interrupt signal being selectively generated in response to receiving a corresponding masked indication signal and a corresponding portion of said interrupt signal mask being set to a second value, and an interrupt generator coupled to said plurality of masked interrupt signal outputs and having an interrupt signal output, an interrupt signal corresponding to said network communications event being generated in response to receiving a masked interrupt signal. - View Dependent Claims (30)
-
Specification