Claims
- 1. 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:
- a) 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, wherein said adapter receive buffer has a predetermined size;
- b) thereupon generating a first early receive interrupt from said adapter to said host computer;
- c) thereafter receiving from said communications media through said transceiver and storing in said adapter receive buffer a remainder of said packet;
- d) if additional bytes of a data packet are received from said communications media through said transceiver and stored in said adapter receive buffer while said adapter receive buffer contains allotted bytes of at least one packet not yet completely transferred to said host computer, such that the total number of allotted bytes in said adapter receive buffer is equal to said size of said adapter receive buffer less a predetermined adapter receive buffer free byte threshold, initiating a direct memory access (DMA) mode; and
- e) receiving from said communications media through said transceiver and storing in a host computer receive buffer through DMA additional bytes of data.
- 2. A method of transferring through an adapter packets of data between a host computer and a computer network communications media, said method comprising the steps of:
- a) receiving from said communications media through a transceiver and storing in an adapter receive buffer a predetermined first receive threshold number of bytes of a first packet, wherein said packet comprises a preamble specifying a length of said packet in bytes;
- b) thereupon generating a first early receive interrupt from said adapter to said host computer;
- c) adjusting said receive threshold according to said length of said first packet;
- d) continuing to receive from said communications media through said transceiver and store in an adapter receive buffer bytes of said first packet, wherein said adapter receive buffer has a predetermined size;
- e) generating a second early receive interrupt from said adapter to said host computer prior to complete reception of said first packet;
- f) receiving from said communications media through said transceiver and storing in said adapter receive buffer a remainder of said first packet;
- g) transferring from said host computer and storing in an adapter transmit buffer an early transmit threshold number of bytes of a second packet;
- h) thereupon initiating transmission of said second packet through said transceiver from said adapter transmit buffer to said computer network communications media;
- i) receiving from said host computer and storing in said adapter receive buffer a remainder of said second packet, at least partially in parallel with transmitting said second packet through said transceiver from said adapter transmit buffer to said computer network communications media;
- j) if additional bytes of a data packet are received from said communications media through said transceiver and stored in said adapter receive buffer while said adapter receive buffer contains allotted bytes of at least one packet not yet completely transferred to said host computer, such that the total number of allotted bytes in said adapter receive buffer is equal to said size of said adapter receive buffer less a predetermined adapter receive buffer free byte threshold, initiating a direct memory access (DMA) mode; and
- k) receiving additional bytes of data from said communications media through said transceiver and storing through DMA said additional bytes in a host computer receive buffer.
Parent Case Info
This application is a continuation of application Ser. No. 07/907,946 filed Jul. 2, 1992, now U.S. Pat. No. 5,412,782 issued May 2, 1995, and a continuation of application Ser. No. 08/374,491 filed Jan. 17, 1995 U.S. Pat. No. 5,485,584, and a continuation of application Ser. No. 08/503,797 filed Jul. 18, 1995 U.S. Pat. No. 5,872,920, which are incorporated herein by reference.
US Referenced Citations (1)
Number |
Name |
Date |
Kind |
5210749 |
Firoozmand |
May 1993 |
|
Non-Patent Literature Citations (1)
Entry |
Advanced Micro Devices, "The SUPERNET 2 Family for FDDI--1991/1992 World Network Data Book". |
Continuations (1)
|
Number |
Date |
Country |
Parent |
907946 |
Jul 1992 |
|