Claims
- 1. A method for reducing transfer latencies in fencepost buffering comprising the steps of:
providing a cache between a network controller and a host entity with shared memory wherein the cache has a top cache and a bottom cache; fetching a first and second descriptor address location from shared memory wherein the first descriptor address location is a location of an active descriptor and the second descriptor address location is a location of a reserve descriptor; copying the active descriptor to the top cache; and issuing a command to DMA for transfer of the active descriptor.
- 2. The method of claim 1 further comprising the step of copying the second descriptor address location into the first descriptor address location after the active descriptor is copied to the top cache.
- 3. The method of claim 2 further comprising the steps of:
fetching a next descriptor address location from external memory; and placing the next descriptor address location in the second descriptor address location.
- 4. The method of claim 1 further comprising the step of updating the ownership of terminal descriptors.
- 5. The method of claim 4 wherein the step of updating the ownership of the terminal descriptors further comprises the step of writing an End of Frame (EOF) descriptor to shared memory before writing a Start of Packet (SOP) descriptor to shared memory.
- 6. The method of claim 5 further comprising the step of setting an ownership bit in the EOF descriptor when the EOF descriptor is the active descriptor.
- 7. The method of claim 6 further comprising the steps of:
reediting the active descriptor to build an image of the SOP descriptor; copying the SOP descriptor to the bottom cache; and issuing a command to the DMA requesting transfer of the SOP descriptor to shared memory.
- 8. A method for reducing transfer latencies in fencepost buffering having chained descriptors comprising the steps of:
providing a cache between a host and a network controller having local memory wherein the cache has a top cache and a bottom cache; fetching a first and second descriptor address location from shared memory wherein the first descriptor address location is a location of an active descriptor and the second descriptor address location is a location of a reserve descriptor; and updating the ownership of terminal descriptors by writing an End of Frame (EOF) descriptor to shared memory before writing a Start of Package (SOP) descriptor to shared memory; issuing a command to DMA for transfer of the active descriptor.
- 9. The method of claim 8 wherein the step of updating the terminal descriptors further comprises the steps of:
reediting the active descriptor to build an image of the SOP descriptor; and copying the SOP descriptor to the bottom cache.
- 10. The method of claim 9 further comprising the step of transferring the bottom cache to shared memory.
- 11. The method of claim 8 further comprising the step of copying the second descriptor address location into the first descriptor address location after the active descriptor is copied to the top cache.
- 12. The method of claim 11 further comprising the steps of:
fetching a next descriptor address location from external memory; and placing the next descriptor address location in the second descriptor address location.
- 13. A system for reducing transfer latencies in fencepost buffering having chained descriptors comprising:
a network controller; a host entity with shared memory; a cache between said network controller and said host entity with shared memory wherein the cache has a top cache and a bottom cache; means for fetching a first and second descriptor address location from shared memory wherein the first descriptor address location is a location of an active descriptor and the second descriptor address location is a location of a reserve descriptor; means for updating the ownership of terminal descriptors by writing an End of Frame (EOF) descriptor to shared memory before writing a Start of Package (SOP) descriptor to shared memory; and means for issuing a command to DMA for transfer of the active descriptor.
- 14. The system of claim 13 wherein the means for updating the terminal descriptors further comprises:
means for reediting the active descriptor to build an image of the SOP descriptor; and means for copying the SOP descriptor to the bottom cache.
- 15. The system of claim 14 further comprising means for transferring the bottom cache to shared memory.
- 16. The system of claim 13 further comprising means for copying the second descriptor address location into the first descriptor address location after the active descriptor is copied to the top cache.
- 17. The system of claim 16 further comprising:
means for fetching a next descriptor address location from external memory; and means for placing the next descriptor address location in the second descriptor address location.
RELATED APPLICATIONS
[0001] This application is also related to co-pending U.S. Patent Applications entitled “METHOD AND SYSTEM OF CONTROLLING TRANSFER OF DATA BY UPDATING DESCRIPTORS IN DESCRIPTOR RINGS”; “METHOD AND SYSTEM OF ROUTING NETWORK BASED DATA USING FRAME ADDRESS NOTIFICATION”; and “METHOD AND APPARATUS FOR CONTROLLING NETWORK DATA CONGESTION” all filed Sep. 30, 1998, in the name of the same inventor as this application and assigned to the same assignee. Accordingly, the contents of all the related applications are incorporated by reference into this application.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09510387 |
Feb 2000 |
US |
Child |
10758379 |
Jan 2004 |
US |