Re: why this 1ms delay in mdio_read? (cont'd from "are ioctl callssupposed to take this long?")

2001-07-06 Thread Donald Becker
g is the DEC 21143, which means that we skip over the two > conditional blocks, so the first thing that happens when we call this is to > wait around doing nothing for a millisecond. Is there some subtle > reason why we would want to wait around for a millisecond before doing > any

Re: why this 1ms delay in mdio_read? (cont'd from are ioctl callssupposed to take this long?)

2001-07-06 Thread Donald Becker
skip over the two conditional blocks, so the first thing that happens when we call this is to wait around doing nothing for a millisecond. Is there some subtle reason why we would want to wait around for a millisecond before doing anything? Nope. None at all. Donald Becker

Re: RTL8139 difficulties in 2.2, not in 2.4

2001-05-19 Thread Donald Becker
t count in /proc/interrupts. Try booting the kernel with "noapic", which we recommend as the safe default setting. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Gen

Re: RTL8139 difficulties in 2.2, not in 2.4

2001-05-19 Thread Donald Becker
the kernel with noapic, which we recommend as the safe default setting. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403

Re: thank's for answering

2001-04-17 Thread Donald Becker
er first sets the speed to 10baseT and checks for link beat. If it finds 10baseT link beat it never tries 100baseTx. The solution is to set the speed to 100baseTx using a driver option. Read http://www.scyld.com/network/vortex.html The 3c595 is a very old card. You will get better performance fr

Re: thank's for answering

2001-04-17 Thread Donald Becker
and checks for link beat. If it finds 10baseT link beat it never tries 100baseTx. The solution is to set the speed to 100baseTx using a driver option. Read http://www.scyld.com/network/vortex.html The 3c595 is a very old card. You will get better performance from any modern card. Don

[PATCH 2.4.2] ne.c: Add to bad_clone_list

2001-04-09 Thread Donald Becker
st should now be almost read-only, since it's very unlikely that anyone is making new ISA NE2000 and not following the design rules. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210

[PATCH 2.4.2] ne.c: Add to bad_clone_list

2001-04-09 Thread Donald Becker
now be almost read-only, since it's very unlikely that anyone is making new ISA NE2000 and not following the design rules. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation

Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)

2001-03-02 Thread Donald Becker
ver does basic polling to check for duplex changes, but the semantics are not as clean as you would expect. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clu

Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)

2001-03-02 Thread Donald Becker
should you care about the others at all? Not until the link beat disappears. Uhmm, but you don't always know when you have lost link beat. In some cases the driver does basic polling to check for duplex changes, but the semantics are not as clean as you would expect. Don

Re: PATCH] via-rhine.c: don't reference skb after passing it tonetif_rx

2001-02-26 Thread Donald Becker
dev->last_rx = jiffies; > - np->stats.rx_bytes += skb->len; > np->stats.rx_packets++; > } Easier fix: - np->stats.rx_bytes += skb->len; + np->stats.rx_bytes += pkt_l

Re: PATCH] via-rhine.c: don't reference skb after passing it tonetif_rx

2001-02-26 Thread Donald Becker
; np-stats.rx_packets++; } Easier fix: - np-stats.rx_bytes += skb-len; + np-stats.rx_bytes += pkt_len; Grouping the writes to np-stats results in better cache usage. Donald Becker [EMAIL PROTECTED

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-13 Thread Donald Becker
On 12 Feb 2001, Jes Sorensen wrote: > >>>>> "Donald" == Donald Becker <[EMAIL PROTECTED]> writes: > > Donald> On 9 Feb 2001, Jes Sorensen wrote: > >> The ia64 kernel has gotten mis aligned load support, but it's slow > >> as a dog so

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-13 Thread Donald Becker
On 12 Feb 2001, Jes Sorensen wrote: "Donald" == Donald Becker [EMAIL PROTECTED] writes: Donald On 9 Feb 2001, Jes Sorensen wrote: The ia64 kernel has gotten mis aligned load support, but it's slow as a dog so we really want to copy the packet every time anyway when

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-09 Thread Donald Becker
On 9 Feb 2001, Jes Sorensen wrote: > >>>>> "Jeff" == Jeff Garzik <[EMAIL PROTECTED]> writes: > Jeff> Donald Becker wrote: > >> On Tue, 16 Jan 2001, Jeff Garzik wrote: > * IA64 support (Jes) Oh, > >> and this is completely bogus. This

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-09 Thread Donald Becker
On 9 Feb 2001, Jes Sorensen wrote: "Jeff" == Jeff Garzik [EMAIL PROTECTED] writes: Jeff Donald Becker wrote: On Tue, 16 Jan 2001, Jeff Garzik wrote: * IA64 support (Jes) Oh, and this is completely bogus. This isn't a fix, it's a hack that covers up the real problem.

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-08 Thread Donald Becker
On Thu, 8 Feb 2001, Ion Badulescu wrote: > On Thu, 8 Feb 2001, Donald Becker wrote: > > > > > The align-copy should *never* be required because the alignment differs > > > > between DIX and E-II encapsulated packets. The machine shouldn't crash > > >

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-08 Thread Donald Becker
en each driver test. Trivial fix. The MII read code is no longer reliable. I spent twenty minutes at the show, but couldn't figure out the problem. I haven't been able reproduce the problem locally with my 2.2 code and someone older hardware. Donald Becker

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-08 Thread Donald Becker
the show, but couldn't figure out the problem. I haven't been able reproduce the problem locally with my 2.2 code and someone older hardware. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave.

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-08 Thread Donald Becker
On Thu, 8 Feb 2001, Ion Badulescu wrote: On Thu, 8 Feb 2001, Donald Becker wrote: The align-copy should *never* be required because the alignment differs between DIX and E-II encapsulated packets. The machine shouldn't crash because someone sends you a different encapsulation

Re: [PATCH] Re: Q: natsemi.c spinlocks

2001-01-21 Thread Donald Becker
tter solution, which I've been adding to the drivers, is to check again for a just-cleared Tx queue after setting tx_full. That trades an extra comparison on a rarely followed path for a spinlock that is taken for every transmit and interrupt. Remember: spinlocks are expensive! Donald Becker

Re: [PATCH] Re: Q: natsemi.c spinlocks

2001-01-21 Thread Donald Becker
y transmit and interrupt. Remember: spinlocks are expensive! Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 41

[patch] tulip driver

2001-01-05 Thread Donald Becker
driver at http://www.scyld.com/network/tulip.html for a driver with the many updates needed to support recent chips and boards. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second

[patch] tulip driver

2001-01-05 Thread Donald Becker
://www.scyld.com/network/tulip.html for a driver with the many updates needed to support recent chips and boards. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters

Re: question about tulip patch to set CSR0 for pci 2.0 bus

2000-12-08 Thread Donald Becker
a 386/486 PCI system, setting cache " "alignment to %x.\n", dev->name, 0x01A0 | (x86 <= 4 ? 0x4800 : 0x8000)); I removed this code and replaced with the ability to set the variable "csr0" as a module option. There is

Re: question about tulip patch to set CSR0 for pci 2.0 bus

2000-12-08 Thread Donald Becker
e (or disable) advanced features. To blindly assume is just a >PCI bus lockup waiting to happen... Just in case you didn't catch it: this is not a PCI v2.0 vs. v2.1 issue. The older Tulips work great with PCI v2.0 and v2.1. The bug is with longer bursts and a specific i486 chipset/motherbo

Re: question about tulip patch to set CSR0 for pci 2.0 bus

2000-12-08 Thread Donald Becker
dn't catch it: this is not a PCI v2.0 vs. v2.1 issue. The older Tulips work great with PCI v2.0 and v2.1. The bug is with longer bursts and a specific i486 chipset/motherboard. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410

Re: question about tulip patch to set CSR0 for pci 2.0 bus

2000-12-08 Thread Donald Becker
cache " "alignment to %x.\n", dev-name, 0x01A0 | (x86 = 4 ? 0x4800 : 0x8000)); I removed this code and replaced with the ability to set the variable "csr0" as a module option. There is no way to activate the fix with a built-in driver. Donald Becker

Re: [RFC] Configuring synchronous interfaces in Linux

2000-12-02 Thread Donald Becker
On Sun, 3 Dec 2000, Chris Wedgwood wrote: > On Sat, Dec 02, 2000 at 11:09:35AM -0500, Donald Becker wrote: > > Hey, I'll make it easy. Find an approach that fully handles only the Tulip > and 3c59x drivers, and that is consistent. > > Actually, I start

Re: [RFC] Configuring synchronous interfaces in Linux

2000-12-02 Thread Donald Becker
ming and error prone code in many drivers. I would have avoiding doing that work if there had been an easy answer. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beo

Re: [RFC] Configuring synchronous interfaces in Linux

2000-12-02 Thread Donald Becker
ould have avoiding doing that work if there had been an easy answer. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403

Re: [RFC] Configuring synchronous interfaces in Linux

2000-12-02 Thread Donald Becker
On Sun, 3 Dec 2000, Chris Wedgwood wrote: On Sat, Dec 02, 2000 at 11:09:35AM -0500, Donald Becker wrote: Hey, I'll make it easy. Find an approach that fully handles only the Tulip and 3c59x drivers, and that is consistent. Actually, I starteed work on adding this to the 3c59x

Re: [PATCH] lance.c - dev_kfree_skb() then reference skb->len

2000-11-28 Thread Donald Becker
is in the "legacy" category, so it's better to make minimal change needed to correct the obvious potential problem. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Gener

Re: [PATCH] lance.c - dev_kfree_skb() then reference skb-len

2000-11-28 Thread Donald Becker
t; category, so it's better to make minimal change needed to correct the obvious potential problem. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Cluster

Re: duplicate entries in rtl8129 driver

2000-11-17 Thread Donald Becker
ip, which has at least 70 different driver-visible board design variations.) Bottom line: Yes, it's redundant. But there was a reason. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Secon

Re: duplicate entries in rtl8129 driver

2000-11-17 Thread Donald Becker
variations.) Bottom line: Yes, it's redundant. But there was a reason. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403

Re: [patch] NE2000

2000-11-01 Thread Donald Becker
an get it past Linus) then > please feel free to do so - I'll be glad to cross it off my list sooner > as opposed to later. If the ne* drivers are going to be updated, you might want to add in the full-duplex support of the latest ne2k-pci.c driver at ftp://www.scyld.com/pub/network/

Re: [patch] NE2000

2000-11-01 Thread Donald Becker
sooner as opposed to later. If the ne* drivers are going to be updated, you might want to add in the full-duplex support of the latest ne2k-pci.c driver at ftp://www.scyld.com/pub/network/ne2k-pci.c Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation

Re: Topic for discussion: OS Design + GPL

2000-10-24 Thread Donald Becker
, especially with evidence of continued, willful violations. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-99

Re: Topic for discussion: OS Design + GPL

2000-10-24 Thread Donald Becker
violations. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-990-9993 - To unsubscribe from this list: send the line

Re: PATCH 2.4.0.9.2: export ethtool interface

2000-09-19 Thread Donald Becker
t? Have you looked at gigabit autonegotiation? If you are proposing a new interface (and obviously tossing the existing MII-MDIO emulation that has existed for a few years) you should at least support current hardware. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation

Re: PATCH 2.4.0.9.2: export ethtool interface

2000-09-19 Thread Donald Becker
? If you are proposing a new interface (and obviously tossing the existing MII-MDIO emulation that has existed for a few years) you should at least support current hardware. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn

Re: Preallocated skb's?

2000-09-15 Thread Donald Becker
e slow and not bursting. Also note: it is possible to drop an Rx packet after the early Rx interrupt. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf-II Cluster Distribution Annapo

Re: Preallocated skb's?

2000-09-14 Thread Donald Becker
he only significant advantage of interrupt mitigation is cache locality when allocating new skbuffs, and having an additional mechanism to drop packets under overwhelming load. The disadvantage of Rx interrupt mitigation is adding latency just where it might matter the most. Remember that the hot tick

Re: Fwd: ACPI & I4L irq confilct: bug reporting on kernel 2.4.0-test8-pre4

2000-09-06 Thread Donald Becker
he 'ne' driver will work for PCI cards, but is intended for ISA cards. It will not share the IRQ. Documentation for the ne2k-pci driver is at http://www.scyld.com/network/ne2k-pci.html > 1) ACPI > 2) ISDN (Windbond - HiSax) > 3) RealTek PCI NE2000 ethernet Is the ISDN card a PCI device?

Re: Fwd: ACPI I4L irq confilct: bug reporting on kernel 2.4.0-test8-pre4

2000-09-06 Thread Donald Becker
. If it is a PCI device, the driver is broken. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Beowulf-II Cluster Distribution Annapolis MD 21403 - To unsubscribe from this list: send the line