Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2003 17:01:25 +0000
From:      Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru>
To:        "Michael O. Boev" <mike@tric.tomsk.gov.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Why is em nic generating interrupts?
Message-ID:  <20031006170125.7fbb796c.doublef@tele-kom.ru>
In-Reply-To: <GFEGLCJPLEIINPCCACNGIEFNCAAA.mike@tric.tomsk.gov.ru>
References:  <GFEGLCJPLEIINPCCACNGIEFNCAAA.mike@tric.tomsk.gov.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.mLQt.'uHJYQes4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 6 Oct 2003 19:48:53 +0700 "Michael O. Boev" <mike@tric.tomsk.gov.ru> probably wrote:

> Hello, everyone!
 
Hi!

> I've got a [uniprocessor] router machine with fxp and em nics.
> I've built my kernel with the following included:
> 
> options         DEVICE_POLLING
> options         HZ=2500
> 
> and enabled polling in /etc/sysctl.conf.
> 
> Having looked through a vmstat -i output I see
> that the em card is generating interrupts, although
> they should be disabled (as I see in em's source code).
> 
> interrupt                     total       rate
> stray irq0                        1          0
> stray irq6                        1          0
> npx0 irq13                        1          0
> ata0 irq14                     2339          0
> em0 irq10                    421457        155
> fxp0 irq5                         2          0
> atkbd0 irq1                    3326          1
> clk irq0                    6778872       2500
> rtc irq8                     346899        127
> Total                       7552898       2786
> 
> What's happening? Is polling working in my case?
> If yes, why is vmstat showing interrupts? I see clearly,
> that fxp's counter doesn't increase, and em's is constantly growing.

Assuming you are using 4.8,

\From the polling manpage:

>	As of this writing, the dc, fxp, rl and sis devices are supported, with
>other in the works.

I guess em is just not there yet, while fxp is...

HTH
-- 
DoubleF
"All flesh is grass"
		-- Isiah
Smoke a friend today.

--=.mLQt.'uHJYQes4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/gZ/xwo7hT/9lVdwRAvl3AJ0dt2dsEVoKNQOgf3SK3DQQ/HgH3wCeP7m0
Xt97TzhYyNHQMO3U3jsvh1k=
=qxYb
-----END PGP SIGNATURE-----

--=.mLQt.'uHJYQes4--



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