netdev
[Top] [All Lists]

Re: [Bonding-devel] Re: Bonding driver unreliable under high CPUload

To: Andrew Morton <akpm@xxxxxxxxx>
Subject: Re: [Bonding-devel] Re: Bonding driver unreliable under high CPUload
From: "Chad N. Tindel" <ctindel@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Sep 2002 12:58:24 -0700 (PDT)
Cc: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>, "Cureington, Tony" <tony.cureington@xxxxxx>, Pascal Brisset <pascal.brisset-ml@xxxxxxxxxx>, <bonding-devel@xxxxxxxxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <3D878841.EB580DE9@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
> > Also, a further question:  do you have access to the slave struct
> > net_device?  If so, just test netif_carrier_ok(slave_dev) and avoid all
> > that ioctl calling if it returns non-zero.
>
> Make that "avoid all that ioctl calling from interrupt context", which
> is a bug.  Of the box-killing variety ;)

Will netif_carrier_ok(slave_dev) always work?  Do all drivers support the
__LINK_STATE_NOCARRIER flag?  If so, is there any reason to call the ioctl
in the first place?

Chad


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