Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2004 11:29:47 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        gtg062h@mail.gatech.edu
Cc:        freebsd-net@freebsd.org
Subject:   Re: em0 link_state
Message-ID:  <20041217112551.K56244@mp2.macomnet.net>
In-Reply-To: <7c8f279204121616256de97cfd@mail.gmail.com>
References:  <7c8f279204121616256de97cfd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Dec 2004, 19:25-0500, Josh Kayse wrote:

> I was working on some test machines and using ifstated which uses the
> KQUEUE event to register changes in link state.  I noticed that
> ifstated did register any events having to do with the em interfaces.
> Looking through the code, it doesn't appear to support the KQUEUE
> events.  Am I correct in saying that?

Correct.  From kqueue.2:

: The EVFILT_NETDEV filter is currently only implemented for devices
: that use the miibus(4) driver for LINKUP and LINKDOWN operations.
: Therefore, it will not work with many non-ethernet devices.

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041217112551.K56244>