home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!udel!wupost!uwm.edu!spool.mu.edu!agate!doc.ic.ac.uk!uknet!cf-cm!myrddin.isl.cf.ac.uk!paul
- From: paul@isl.cf.ac.uk (Paul Richards)
- Newsgroups: comp.unix.pc-clone.32bit
- Subject: Re: Shared Memory or DMA ethercards for UNIX on a PC
- Keywords: Ethernet Adapters
- Message-ID: <1993Jan8.103634.9569@cm.cf.ac.uk>
- Date: 8 Jan 93 10:36:33 GMT
- References: <1993Jan6.201525.24636@nisc.psi.net> <1993Jan7.233204.9236@super.org>
- Sender: news@cm.cf.ac.uk (Network News System)
- Organization: Intelligent Systems Lab, ELSYM, Universiity of Wales, College of
- Cardiff.
- Lines: 34
-
- As I hint at above, I don't think DMA is a good thing but you don't
- get a lot of choice with the isolan cards. That's the only way to
- get packets from it.
-
- >My ethercard drivers for Linux use shared memory if it's available,
- >otherwise they use programmed I/O. When shared memory is used the
- >whole packet is immediately removed from the ethercard, just the same
- >as the programmed I/O interface. You might at first think you can
- >just pass the memory pointer up to the higher layers, but
- >
- > o you don't want to go over the ISA bus twice for the same data
- > so you should move the data someplace cacheable ASAP
- > (the ethercard is thoughtfully placed in a non-cacheable region)
- > o you are probably going to look at most of the packet anyway
- > so you might as well move it to your cache now
- > o leaving a packet on the ethercard takes up packet buffer space,
- > creates a garbage collection problem, and will clog things
- > up if your ethercard uses a ring buffer (most do).
-
- Unless I've missed something regarding BICC cards (I certainly may have
- because I don't have data sheets and gleened all my info from the Crynwr
- packet driver) you can't leave the packet on the card even if you wanted
- to. The cards have no memory of their own and therefore use dma to
- access some of the cpu's memory.
-
- I wouldn't recommend these cards to anyone but unfortunately our campus
- people only allow machines with these cards to connect to the campus
- backbone!!!
-
- --
- Paul Richards, University of Wales, College Cardiff
-
- JANET:paul@uk.ac.cf.isl Internet:paul@isl.cf.ac.uk
- UUCP: paul@cf-isl.UUCP or ...!uunet!mcsun!uknet!cf!isl!paul
-