Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2011 09:53:58 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Matteo Landi <matteo@matteolandi.net>
Subject:   Re: ixgbe and fast interrupts
Message-ID:  <201111170953.58151.jhb@freebsd.org>
In-Reply-To: <CALJ8J_HPZewO12uanb=kctQYwepMssr63E0DQh9CqV6PGaC=JA@mail.gmail.com>
References:  <CALJ8J_HPZewO12uanb=kctQYwepMssr63E0DQh9CqV6PGaC=JA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, November 17, 2011 6:38:21 am Matteo Landi wrote:
> Hi everybody,
> 
> trying to measure the interrupt latency of a 10G Intel network
> adapter, I find out that the the used driver (ixgbe) can can be
> configured to work with both fast and standard interrupts. From my
> understanding of the BUS_SETUP_INTR(9) man page and
> sys/kern/kern_intr.c file, it seems that drivers in need of
> registering fast interrupts should call bus_setup_intr() specifying a
> filter function instead of a handler.
> 
> My question is: why ixgbe_allocate_legacy() says it is allocating a
> fast interrupt (comments and error messages say so) but instead passes
> a handler instead of a filter to pci_setup_intr()? Is there anything I
> am not taking into account?

It is not a fast handler and is not using the fast handler stuff.  OTOH,
you probably want to be using MSI-X for a 10G NIC instead of INTx anyway.

-- 
John Baldwin



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