Re: Half Duplex and Zero Copy IP

Andi Kleen (ak@muc.de)
10 Aug 2001 20:46:31 +0200


In article <20010810095313.A6219@home.com>,
subba9@home.com (Subba Rao) writes:
> Hello,
> I have 2 3Com NICs on my system. They are 3c905C Tornado PCI cards.
> The drivers are compiled into the kernel (Slackware 8.0 with kernel 2.4.7).

> One of the interfaces will be used as a sniffer interface (without IP address)
> and a very high traffic pipes. I do not wish to loose any packets coming to this
> interface. Is it better if I initialize the interface in HALF DUPLEX mode? If yes,
> how do I set the card to HALF DUPLEX mode? How can I find out the HW (NIC) settings
> on the system?

Half duplex mode will only make your line slower, it has no benefit.

> Another question about 3Com NICs, do they perform zero-copy IP? I read that
> the performance improves a lot WITHOUT zero-copy IP.

The sniffer zero copy implementation as implemented in some libpcaps
does not depend on any special NIC support; it should work with any.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/