netdev
[Top] [All Lists]

Re: [patch 4/10] s390: network driver.

To: Paul Jakma <paul@xxxxxxxx>
Subject: Re: [patch 4/10] s390: network driver.
From: Thomas Spatzier <thomas.spatzier@xxxxxxxxxx>
Date: Tue, 14 Dec 2004 08:40:26 +0100
Cc: hadi@xxxxxxxxxx, Hasso Tepper <hasso@xxxxxxxxx>, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0412101536160.16016@xxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx



Paul Jakma <paul@xxxxxxxx> wrote on 10.12.2004 16:37:15:
> Thomas' original patch was to address this problem. I wonder could he
> recap the kernel side of this problem?

Here is why we submitted the original patch: We got reports from
several customers that their dynamic routing daemons got hung when
one network interface lost its physical connection. Some debugging
showed that the write queues of sockets went full and got blocked.
This was because we issued a netif_stop_queue when we detect a
cable pull or something.
As a solution, we removed the netif_stop_queue calls and just dropped
the packets + we increment the respective error counts in the
net_device_stats and call netif_carrier_off.
This solved the customer problems and seems to be right thing for
zebra etc.

Regards,
Thomas.


<Prev in Thread] Current Thread [Next in Thread>