Programmed I/O ethernet adapter with early interrupts for accelerating data transfer
First Claim
1. A data communications adapter apparatus for coupling a host computer to a computer network employing communications media, the data communications adapter comprising:
- ethernet control circuitry;
a host interface configured to exchange data with said host computer;
a transceiver coupled to receive and transmit data over the media;
data transmit control circuitry responsive to said ethernet control circuitry and coupled to said transceiver, to said transmit data buffer, and to said host interface, for generating a packet transmit signal causing said transceiver to begin transmitting data from said transmit data buffer over said communications media;
a receive data buffer coupled to said host interface; and
data receive control circuitry responsive to said ethernet control circuitry and coupled to said transceiver, to said receive data buffer, and to said host interface, for storing data received by said transceiver in said receive data buffer, and for generating a receive interrupt signalling to said host computer that data has been received by said transceiver, wherein said data receive control circuitry is operative to generate a said receive interrupt once said transceiver has received over said communications media a predetermined number of bytes of a data packet less than all of said data packet wherein said ethernet control circuitry, said host interface circuitry, and said data receive control circuitry, said data transmit control circuitry, said receive data buffer and said transmit data buffer are all contained in a single Application Specific Integrated Circuit (ASIC).
6 Assignments
0 Petitions
Accused Products
Abstract
In a Local Area Network (LAN) system, an ethernet adapter exchanges data with a host through programmed I/O (PIO) and FIFO buffers. The receive PIO employs a DMA ring buffer backup so incoming packets can be copied directly into host memory when the PIO FIFO buffer is full. The adapter may be programmed to generate early receive interrupts when only a portion of a packet has been received from the network, so as to decrease latency. The adapter may also be programmed to generate a second early interrupt so that the copying of a large packet to the host may overlap reception of the packet end. The adapter to begin packet transmission before the packet is completely transferred from the host to the adapter, which further reduces latency. The minimal latency of the adapter allows it to employ receive and transmit FIFO buffers which are small enough to be contained within RAM internal to an Application Specific Integrated Circuit (ASIC) containing the transceiver, ethernet controller, FIFO control circuitry and the host interface as well.
120 Citations
8 Claims
-
1. A data communications adapter apparatus for coupling a host computer to a computer network employing communications media, the data communications adapter comprising:
-
ethernet control circuitry; a host interface configured to exchange data with said host computer; a transceiver coupled to receive and transmit data over the media; data transmit control circuitry responsive to said ethernet control circuitry and coupled to said transceiver, to said transmit data buffer, and to said host interface, for generating a packet transmit signal causing said transceiver to begin transmitting data from said transmit data buffer over said communications media; a receive data buffer coupled to said host interface; and data receive control circuitry responsive to said ethernet control circuitry and coupled to said transceiver, to said receive data buffer, and to said host interface, for storing data received by said transceiver in said receive data buffer, and for generating a receive interrupt signalling to said host computer that data has been received by said transceiver, wherein said data receive control circuitry is operative to generate a said receive interrupt once said transceiver has received over said communications media a predetermined number of bytes of a data packet less than all of said data packet wherein said ethernet control circuitry, said host interface circuitry, and said data receive control circuitry, said data transmit control circuitry, said receive data buffer and said transmit data buffer are all contained in a single Application Specific Integrated Circuit (ASIC). - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of transferring a packet of data from a computer network communications media through an adapter to a host computer, said method comprising the steps of:
-
receiving from said communications media through a transceiver and storing in an adapter receive buffer a predetermined first receive threshold number of bytes of said packet; generating a first early receive interrupt from said adapter to said host computer; adjusting said receive threshold according to a length of said packet; continuing to receive from said communications media through said transceiver and store in an adapter receive buffer bytes of said packet; thereafter generating a second early receive interrupt from said adapter to said host computer, prior to complete reception of said data packet; and storing from said communications media through said transceiver and storing in said adapter receive buffer a remainder of said packet; wherein said host computer employs a driver allowing for early indications and having an early lookahead size associated with a predetermined first receive threshold number of bytes. - View Dependent Claims (8)
-
Specification