netdev
[Top] [All Lists]

Re: Must dev->set_multicast_list() complete before returning?

To: linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Subject: Re: Must dev->set_multicast_list() complete before returning?
From: rask@xxxxxxxxxx (Rask Ingemann Lambertsen)
Date: Wed, 2 Apr 2003 15:09:14 +0200
References: <Pine.LNX.4.44.0304012242360.1685-100000@beohost.scyld.com>
Reply-to: rask@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Donald Becker wrote:

> The promiscuous setting must complete before return, but there are
> several drivers where the updated multicast filter does not immediately
> take effect.
> 
> I have not seen hardware where setting promiscuous mode is a queued
> command.

Intel i82586, i82596 and, as far as I can tell from other drivers, several 
other Intel i825xx Ethernet chips. IIRC, the function must not sleep. That 
means busy-wait for it to complete. :-(

Regards,
Rask Ingemann Lambertsen



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