Download IPv6 in Embedded Micro-controllers
Transcript
Table of Contents 1. INTRODUCTION .........................................................................................4 1.1. Specification...........................................................................................................4 2. HARDWARE................................................................................................5 2.1. Introduction...........................................................................................................5 2.2. Problem Statement................................................................................................5 2.3. Component Decisions............................................................................................6 2.4. Direct Memory Access (DMA) Support..............................................................6 2.5. Implementation .....................................................................................................7 2.6. Implementation Issues ..........................................................................................8 3. HARDWARE/SOFTWARE INTERFACE.....................................................9 3.1. Problem Statement................................................................................................9 3.2. The Zero-Copy Paradigm ....................................................................................9 3.3. The Memory Recycle Algorithm .........................................................................9 3.4. The Memory Recycle Algorithm – Problems and Solutions...........................11 3.4.1. Deadlock detection and buffer flushing.........................................................14 3.4.2. Dedicated Privileged buffers..........................................................................14 3.4.3. Packet-Assemble-Instructions (PAI) Queues ................................................14 3.5. Multi-Buffering ...................................................................................................16 3.6. Multicast Reception ............................................................................................16 3.7. Differences between the CS8900A and the RTL8019AS.................................17 3.8. Ethernet Driver Structure and Operation........................................................18 Non Hardware-Specific Functions...........................................................................18 3.8.1. Initialisation Code..........................................................................................18 3.8.2. The Interrupt Service Routine (ISR)..............................................................19 3.9. Implementation Issues ........................................................................................23 4. SOFTWARE ..............................................................................................24 4.1. Problem Statement..............................................................................................24 4.2. Stateless Address Auto-configuration ...............................................................24 2